Subject: Re: bug#13975: 24.3; scheme-mode: Treat Greek letter `λ' as `lambda'

From: [email-masked] (Simen Heggestøyl)
Date: Sat, 16 Mar 2013 15:41:59 +0100

Can we do this for syntax highlighting as well?

diff --git a/tmp/scheme.el b/tmp/emacs-24.3/lisp/progmodes/scheme.el
index bfcf44b..a7dbc41 100644
--- a/tmp/scheme.el
+++ b/tmp/emacs-24.3/lisp/progmodes/scheme.el
@@ -310,7 +310,7 @@ See `run-hooks'."
 	"(" (regexp-opt
 	     '("begin" "call-with-current-continuation" "call/cc"
 	       "call-with-input-file" "call-with-output-file" "case" "cond"
-	       "do" "else" "for-each" "if" "lambda" "λ"
+	       "do" "else" "for-each" "if" "lambda"
 	       "let" "let*" "let-syntax" "letrec" "letrec-syntax"
 	       ;; SRFI 11 usage comes up often enough.
 	       "let-values" "let*-values"

Stefan Monnier <[email-masked]> writes:
>> +(put 'λ 'scheme-indent-function 1)
>  
> Go for it,
>
>
>         Stefan