geiser-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Geiser-users] Shortcut for Inserting the Lambda C haracter (λ)


From: Ray Racine
Subject: Re: [Geiser-users] Shortcut for Inserting the Lambda C haracter (λ)
Date: Fri, 17 Jun 2011 11:04:54 -0400

To clarify.  The below is not a "shortcut", though it is easy to define your own key binding to insert the string "lambda".  What the below does is substitutes for display purposes the  matched regexps to greek chars.  So as you type 'l'-'a'-'m'-'b'-'d'-'a' as soon as the last 'a' is typed it changes.  In your source file its still the string lambda the the compiler/interpreter remains happy happy joy joy

2011/6/17 Ray Racine <address@hidden>
Ah yes from a long time ago.  If you _really_ want some fun in your scheme code.  Add something like the following to your .emacs file as a scheme-mode hook.  Essentially all standard scheme "keywords" / special forms are reduced to _display_ as single char greek letters.  What is sort of cool is the source code stays unmodified and works just fine.  Emacs only displays the string "lambda" as a λ etc.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]