emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112104: * progmodes/cfengine.el


From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112104: * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word syntax.
Date: Fri, 22 Mar 2013 10:18:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> OK, but I can't think of any cases in CFEngine specifically where I
> don't want to skip over _ with M-f.  It's always part of a word.
> The language itself is designed that way and has a pretty rigid syntax.

CFengine has no notion of words, it has a notion of identifiers, which
in Emacs are called symbols and can be skipped with C-M-f or
forward-symbol. 

> Are you saying it's still not a good idea to add _ to the word syntax?

Yes.

> What will it break?

Users's expectations.

> Or are you saying users don't expect _ to be part of a
> word and it's unconventional to make it so?

Exactly.  Many users actually like _ to be part of a word, but these are
user-preferences (and we should indeed define a words-are-symbols-mode
for those users since what they really want is for M-f, M-t, M-DEL to
move by symbols rather than by words).


        Stefan



reply via email to

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