GNU bug report logs - #17325
24.3.90; can not font-lock @ function

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Wed, 23 Apr 2014 13:56:02 UTC

Severity: normal

Found in version 24.3.90

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 17325 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 17325 <at> debbugs.gnu.org
Subject: Re: bug#17325: 24.3.90; can not font-lock @ function
Date: Thu, 24 Apr 2014 09:20:19 -0400
>> Not sure why you think it's a regression, but yes you can install it in
>> emacs-24.
> I mean the code snippet is font-locked correctly in 24.3.

Aha, didn't realize that.  Not sure why that changed.

> BTW, in emacs-lisp-mode-syntax-table why are all entries end with some
> whitespaces i.e. instead of
>         (modify-syntax-entry ?@ "'" table)
> it uses:
>         (modify-syntax-entry ?@ "'   " table)

It makes no difference, but this style was very common.  It's probably
because syntax strings are "positional" (the first char has a meaning,
the second another one, the rest yet another) so using "'   " is saying
explicitly "no p/b/1/2/3/4".


        Stefan




This bug report was last modified 11 years and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.