From: Alan Mackenzie <acm@muc.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 21449@debbugs.gnu.org
Subject: bug#21449: Emacs lisp mode: incorrect fontification of symbols containing escaped characters.
Date: Thu, 10 Sep 2015 10:44:34 +0000 [thread overview]
Message-ID: <20150910104433.GA3324@acm.fritz.box> (raw)
In-Reply-To: <jwva8svkl3v.fsf-monnier+emacsbugs@gnu.org>
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).
next prev parent reply other threads:[~2015-09-10 10:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-09 20:10 bug#21449: Emacs lisp mode: incorrect fontification of symbols containing escaped characters Alan Mackenzie
2015-09-10 3:30 ` Stefan Monnier
2015-09-10 10:44 ` Alan Mackenzie [this message]
2015-09-11 14:49 ` Alan Mackenzie
2015-09-11 16:56 ` Stefan Monnier
2019-10-31 17:00 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150910104433.GA3324@acm.fritz.box \
--to=acm@muc.de \
--cc=21449@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.