Stefan Monnier <[EMAIL PROTECTED]> writes:

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

I'll have a look at it sometime when I can disentangle the conflicts
with my changes as I can't remember what the state of it was.  Someone
made different changes to what I suggested which weren't right and I'd
have to check what I fixed on top of that.

By the way, there my be stuff worth picking up for scheme.el from
Quack <URL:http://www.neilvandyke.org/quack/>, though that looks
rather baroque.  I think there's also a special mode for scheme48
which might have things to feed back.


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to