unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Liu <sdl.web@gmail.com>
To: simenheg@ifi.uio.no (Simen Heggestøyl)
Cc: 13975@debbugs.gnu.org
Subject: bug#13975: 24.3; scheme-mode: Treat Greek letter `λ' as `lambda'
Date: Sat, 16 Mar 2013 21:12:04 +0800	[thread overview]
Message-ID: <m1y5dnxzdn.fsf@gmail.com> (raw)
In-Reply-To: <878v5n1paq.fsf@ifi.uio.no> ("Simen \=\?iso-8859-1\?Q\?Heggest\=F8\?\= \=\?iso-8859-1\?Q\?yl\=22's\?\= message of "Sat, 16 Mar 2013 13:50:53 +0100")

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





  reply	other threads:[~2013-03-16 13:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-16 12:50 bug#13975: 24.3; scheme-mode: Treat Greek letter `λ' as `lambda' Simen Heggestøyl
2013-03-16 13:12 ` Leo Liu [this message]
2013-03-16 13:51   ` Stefan Monnier
2013-03-16 14:41     ` Simen Heggestøyl
2013-03-16 15:28       ` Leo Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1y5dnxzdn.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --cc=13975@debbugs.gnu.org \
    --cc=simenheg@ifi.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).