all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* prolog-mode uses bad syntax for _
@ 2008-10-10  6:28 Miles Bader
  0 siblings, 0 replies; only message in thread
From: Miles Bader @ 2008-10-10  6:28 UTC (permalink / raw
  To: emacs-devel

prolog-mode changes the syntax of _ to be a word-constituent, which I
suspect is the wrong thing.  It does not interact well with users'
editing intuitions.

Most old modes that I've seen do this, do it only so that they can use
\< and \> in regexps (to match things like keywords) without getting
false positives adjacent to an underscore.  Nowdays we can just change
the regexps to use \_< and \_> instead, so _ should be able to have a
more normal syntax.

Anyone see any problems with changing prolog-mode in this fashion?

Thanks,

-Miles

-- 
If you can't beat them, arrange to have them beaten.  [George Carlin]




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-10  6:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10  6:28 prolog-mode uses bad syntax for _ Miles Bader

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.