From: Lennart Borgman <lennart.borgman@gmail.com>
To: Miles Bader <miles@gnu.org>
Cc: 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:11:37 +0200 [thread overview]
Message-ID: <e01d8a50907160511i2003c8d4i27e64a271429beb4@mail.gmail.com> (raw)
In-Reply-To: <buotz1dfjn5.fsf@dhlpc061.dev.necel.com>
On Thu, Jul 16, 2009 at 4:26 AM, Miles Bader<miles@gnu.org> wrote:
> No. Doing so would massively fuck with people's expectations.
>
> It's long-standing Emacs practice to distinguish between "words" and
> "symbols", where symbols typically include some extra punctuation such
> as "-".
>
> If I see "foo-bar" in _any_ buffer, including in text, I (and perhaps
> more importantly, my fingers) expect M-f to skip over foo, and stop at
> "-"; if I want to skip over the whole thing, I'll use C-M-f. Using
> modes that violate this convention is extremely disconcerting (and
> inconvenient). Text buffers are no different in this respect.
I think text buffers are different. You normally enter text there, not
programming symbols.
The reason it came to my mind is that I had to change this to get
Predictive to work with Company Mode. Predictive serves the user with
suggestions of English words. (It is supposed to be a
"spell-checker-while-you-write" and make it quicker to write long
words.) Many of these English words includes a hyphen.
next prev parent reply other threads:[~2009-07-16 12:11 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 [this message]
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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e01d8a50907160511i2003c8d4i27e64a271429beb4@mail.gmail.com \
--to=lennart.borgman@gmail.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).