unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23414: 24.5; Scheme-Mode: missing UNLESS and WHEN from R7RS
@ 2016-05-01  9:46 Peter
  2016-05-01 16:58 ` Jorgen Schäfer
  0 siblings, 1 reply; 2+ messages in thread
From: Peter @ 2016-05-01  9:46 UTC (permalink / raw)
  To: 23414

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#23414: 24.5; Scheme-Mode: missing UNLESS and WHEN from R7RS
  2016-05-01  9:46 bug#23414: 24.5; Scheme-Mode: missing UNLESS and WHEN from R7RS Peter
@ 2016-05-01 16:58 ` Jorgen Schäfer
  0 siblings, 0 replies; 2+ messages in thread
From: Jorgen Schäfer @ 2016-05-01 16:58 UTC (permalink / raw)
  To: 23414-done

[-- Attachment #1: Type: text/plain, Size: 78 bytes --]

Fixed in 8cfd9ba1 – thank you for noticing this and providing a patch! :-)

[-- Attachment #2: Type: text/html, Size: 100 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-01 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-01  9:46 bug#23414: 24.5; Scheme-Mode: missing UNLESS and WHEN from R7RS Peter
2016-05-01 16:58 ` Jorgen Schäfer

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).