[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:13:36 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> OK, but what's wrong with generally declaring the _ character a word
> component? In other words, what's wrong with my fix? I think I'd
> rather make a base change to word syntax and use simple word motion than
> change the word motion I use to symbol motion. It seems more
> maintainable because CFEngine generally treats the underscore as a word
> component.
Basically, the definition of a word is something that major modes should
not touch, because it is a notion from human language, and not from the
programming language in use in a particular buffer.
The major mode should define the syntax of symbols (aka
"identifiers") instead.
Stefan
- Re: superword-mode, (continued)
- Re: superword-mode, Ted Zlatanov, 2013/03/29
- Re: superword-mode, Andreas Röhler, 2013/03/29
- Re: superword-mode, Ted Zlatanov, 2013/03/29
- Re: superword-mode, Andreas Röhler, 2013/03/29
- Re: superword-mode, Ted Zlatanov, 2013/03/29
- Re: superword-mode, Davis Herring, 2013/03/29
- Re: superword-mode, Stefan Monnier, 2013/03/29
- Re: superword-mode, Ted Zlatanov, 2013/03/29
- Re: superword-mode, Ted Zlatanov, 2013/03/29
- Re: superword-mode, Andreas Röhler, 2013/03/30
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112104: * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word syntax.,
Stefan Monnier <=