From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel 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 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87sj3ny4ca.fsf@lifelogs.com> References: <87wqt0xqiy.fsf@lifelogs.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363957441 26244 80.91.229.3 (22 Mar 2013 13:04:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Mar 2013 13:04:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 22 14:04:26 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UJ1dv-0006Mw-Pj for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2013 14:04:23 +0100 Original-Received: from localhost ([::1]:46252 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ1dY-0004md-DM for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2013 09:04:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ1d7-0004gL-Jn for emacs-devel@gnu.org; Fri, 22 Mar 2013 09:03:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJ1cu-0002rc-R6 for emacs-devel@gnu.org; Fri, 22 Mar 2013 09:03:33 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:56855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ1cu-0002rG-JS for emacs-devel@gnu.org; Fri, 22 Mar 2013 09:03:20 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UJ1dG-0005nR-21 for emacs-devel@gnu.org; Fri, 22 Mar 2013 14:03:42 +0100 Original-Received: from pool-72-70-75-213.bstnma.east.verizon.net ([72.70.75.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Mar 2013 14:03:42 +0100 Original-Received: from tzz by pool-72-70-75-213.bstnma.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Mar 2013 14:03:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-70-75-213.bstnma.east.verizon.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:Pnrwt9lFyODwTWviSDSp1OAnpHQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158059 Archived-At: On Thu, 21 Mar 2013 21:32:31 -0400 Stefan Monnier 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 component. Ted