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

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

Re: Scheme mode syntax fixes


From: Stefan Monnier
Subject: Re: Scheme mode syntax fixes
Date: Wed, 05 Oct 2005 11:30:47 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> The syntax of `|' in Scheme mode should be "\" 23" to account for
> symbol-quoting, e.g. `|foo bar|'.  Also `#' should have syntax "' 14n"
> for nestable inline comments, and should be taken out of the font-lock
> syntax alist in font-lock-defaults.  (These aren't R5RS syntax, but
> are supported by some current implementations.)

> Then I think `lisp-font-lock-syntactic-face-function' should avoid
> fontifying the quoted symbols as strings.  The `font-lock-string-face'
> at the end should be replaced by something like

> (if (eq ?| (nth 3 state))
>     nil
>   font-lock-string-face)

> This will apply to, and be appropriate for, Common Lisp too.

It should now work correctly.


        Stefan




reply via email to

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