GNU bug report logs -
#21449
Emacs lisp mode: incorrect fontification of symbols containing escaped characters.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Wed, 9 Sep 2015 20:17:01 UTC
Severity: minor
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello, Stefan.
On Wed, Sep 09, 2015 at 11:30:31PM -0400, Stefan Monnier wrote:
> > one too. It feels like there really ought to be some major mode
> > dependent flag saying whether or not escaped characters are valid in
> > identifiers. They are in Emacs lisp, but they're not in C.
> You mean like words-include-escapes?
Something like that, yes.
I don't think words-include-escapes is the right thing to use, though.
I think that doing M-f on "R\(A|B\)", one would want point to move to
just after the R, not just after the A; escaped characters should be
word separators, just like -s are; they should be thought of as \\s_
rather than \\sw.
Something like `identifiers-include-escapes', maybe?
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 5 years and 263 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.