all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles.bader@necel.com>
To: emacs-devel@gnu.org
Subject: prolog-mode uses bad syntax for _
Date: Fri, 10 Oct 2008 15:28:20 +0900	[thread overview]
Message-ID: <buovdw1ynej.fsf@dhapc248.dev.necel.com> (raw)

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]




                 reply	other threads:[~2008-10-10  6:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=buovdw1ynej.fsf@dhapc248.dev.necel.com \
    --to=miles.bader@necel.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    /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.