unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: simenheg@ifi.uio.no (Simen Heggestøyl)
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: sdl.web@gmail.com, 13975@debbugs.gnu.org
Subject: bug#13975: 24.3; scheme-mode: Treat Greek letter `λ' as `lambda'
Date: Sat, 16 Mar 2013 15:41:59 +0100	[thread overview]
Message-ID: <87vc8rl83s.fsf@ifi.uio.no> (raw)
In-Reply-To: <jwvfvzvcv2h.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sat, 16 Mar 2013 09:51:00 -0400)

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@iro.umontreal.ca> writes:
>> +(put 'λ 'scheme-indent-function 1)
>  
> Go for it,
>
>
>         Stefan





  reply	other threads:[~2013-03-16 14:41 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
2013-03-16 13:51   ` Stefan Monnier
2013-03-16 14:41     ` Simen Heggestøyl [this message]
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=87vc8rl83s.fsf@ifi.uio.no \
    --to=simenheg@ifi.uio.no \
    --cc=13975@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=sdl.web@gmail.com \
    /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).