bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23414: 24.5; Scheme-Mode: missing UNLESS and WHEN from R7RS


From: Peter
Subject: bug#23414: 24.5; Scheme-Mode: missing UNLESS and WHEN from R7RS
Date: Sun, 01 May 2016 11:46:27 +0200
User-agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu)

M-x scheme-mode is missing WHEN and UNLESS from R7RS for highlighting
and correct indentation.

I suggest adding the following two lines to fix indentation:

    (put 'when 'scheme-indent-function 1)
    (put 'unless 'scheme-indent-function 1)

Around line 537 in progmodes/scheme.el.gz would probably be good.

To get fontification correct, "when" and "unless" should be added to
scheme-font-lock-keywords-2, probably to the list around line 302 in
progmodes/scheme.el.gz.

Thank you for any help with this!

Greetings, Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]