From: Miles Bader <miles@gnu.org>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: Lennart Borgman <lennart.borgman@gmail.com>,
Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Should not syntax for ?- char be word in text mode?
Date: Thu, 16 Jul 2009 14:53:40 +0900 [thread overview]
Message-ID: <buoab35fa1n.fsf@dhlpc061.dev.necel.com> (raw)
In-Reply-To: <87prc1i3us.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Thu, 16 Jul 2009 14:39:07 +0900")
"Stephen J. Turnbull" <stephen@xemacs.org> writes:
> > There are plenty of word with a hyphen in them.
>
> python-mode does (or used to do) this with underscore (hyphen of
> course denotes an operator in Python). It got a *lot* of pushback.
It seems that many mode authors who don't know any better do that (make
things like "_" have word syntax) because it makes writing font-lock
regexps easier. It's still a horrible idea of course.
[Lua-mode does this as well; it drives me _nuts_...]
Now that we have ?_< and ?_> regexp patterns, there's no technical
reason any more I think...
-miles
--
Defenceless, adj. Unable to attack.
next prev parent reply other threads:[~2009-07-16 5:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 1:41 Should not syntax for ?- char be word in text mode? Lennart Borgman
2009-07-16 2:26 ` Miles Bader
2009-07-16 12:11 ` Lennart Borgman
2009-07-16 13:40 ` Miles Bader
2009-07-16 14:02 ` Stefan Monnier
2009-07-16 5:39 ` Stephen J. Turnbull
2009-07-16 5:53 ` Miles Bader [this message]
2009-07-16 14:05 ` Stefan Monnier
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=buoab35fa1n.fsf@dhlpc061.dev.necel.com \
--to=miles@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
--cc=stephen@xemacs.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.