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


View this message in rfc822 format

From: Leo Liu <sdl.web <at> gmail.com>
To: simenheg <at> ifi.uio.no (Simen Heggestøyl)
Cc: 13975 <at> debbugs.gnu.org
Subject: bug#13975: 24.3; scheme-mode: Treat Greek letter `λ' as `lambda'
Date: Sat, 16 Mar 2013 21:12:04 +0800
On 2013-03-16 20:50 +0800, Simen Heggestøyl wrote:
>     (λ (x)
>       (* x x))

I check drracket and the default indentation is as the above. I think we
should teach emacs to do it too.

diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index a7dbc411..9dce5e6b 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -410,6 +410,7 @@ (put 'with-mode 'scheme-indent-function 1)
 (put 'make 'scheme-indent-function 1)
 (put 'style 'scheme-indent-function 1)
 (put 'root 'scheme-indent-function 1)
+(put 'λ 'scheme-indent-function 1)
 
 (defvar dsssl-font-lock-keywords
   (eval-when-compile




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

Previous Next


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