[Top][All Lists]

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

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

From: Ted Zlatanov
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112104: * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word syntax.
Date: Fri, 22 Mar 2013 09:03:01 -0400
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

On Thu, 21 Mar 2013 21:32:31 -0400 Stefan Monnier <address@hidden> wrote: 

>> Can you explain?  Sorry to be dense, but I don't know exactly what you
>> mean.  This is specifically to make \> NOT match something that looks
>> like the beginning of a defun (essentially I want only "bundle x" to
>> match, but not "bundle_x").

SM> You want to use \_> rather than \>, then.

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


reply via email to

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