GNU bug report logs - #13975
24.3; scheme-mode: Treat Greek letter `λ' as `lambda'

Previous Next

Package: emacs;

Reported by: simenheg <at> ifi.uio.no (Simen Heggestøyl)

Date: Sat, 16 Mar 2013 12:53:01 UTC

Severity: normal

Found in version 24.3

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 13975 <at> debbugs.gnu.org (full text, mbox):

From: simenheg <at> ifi.uio.no (Simen Heggestøyl)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: sdl.web <at> gmail.com, 13975 <at> debbugs.gnu.org
Subject: Re: bug#13975: 24.3; scheme-mode: Treat Greek letter `λ' as `lambda'
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 <monnier <at> iro.umontreal.ca> writes:
>> +(put 'λ 'scheme-indent-function 1)
>  
> Go for it,
>
>
>         Stefan




This bug report was last modified 12 years and 68 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.