emacs-devel
[Top][All Lists]
Advanced

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

Re: Should not syntax for ?- char be word in text mode?


From: Stefan Monnier
Subject: Re: Should not syntax for ?- char be word in text mode?
Date: Thu, 16 Jul 2009 10:05:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

> Now that we have ?_< and ?_> regexp patterns, there's no technical
> reason any more I think...

Neither was there before since you could always use
font-lock-syntax-table to get the same result.  Temporarily switching
the syntax-table is a cheap operation that you shouldn't be afraid
to do.  The only operations for which it's difficult/impossible is
buffer navigation like M-f, so the main syntax-table should be careful
not to mark _ as word constituent.


        Stefan




reply via email to

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