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:38:18 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87obeby2ph.fsf@lifelogs.com> References: <87wqt0xqiy.fsf@lifelogs.com> <87sj3ny4ca.fsf@lifelogs.com> <87ehf7zid3.fsf@fleche.redhat.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 1363959524 15202 80.91.229.3 (22 Mar 2013 13:38:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Mar 2013 13:38:44 +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:39:10 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 1UJ2Ba-0006Us-Gr for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2013 14:39:10 +0100 Original-Received: from localhost ([::1]:55747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ2BC-000351-RN for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2013 09:38:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ2B3-000348-VE for emacs-devel@gnu.org; Fri, 22 Mar 2013 09:38:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJ2Az-0008Lb-6c for emacs-devel@gnu.org; Fri, 22 Mar 2013 09:38:37 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:48462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ2Az-0008LV-0P for emacs-devel@gnu.org; Fri, 22 Mar 2013 09:38:33 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UJ2BK-0006KK-70 for emacs-devel@gnu.org; Fri, 22 Mar 2013 14:38:54 +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:38:54 +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:38:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 28 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:5Dx+motv42YhBgMEnCtZPUgKAto= 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:158062 Archived-At: On Fri, 22 Mar 2013 07:14:48 -0600 Tom Tromey wrote: >>>>>> "Ted" == Ted Zlatanov writes: Ted> OK, but what's wrong with generally declaring the _ character a word Ted> component? Tom> If it has word syntax then M-f and friends skip over it. Tom> Emacs modes generally don't work this way, and it is nicer for users if Tom> there is uniformity here. 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. Are you saying it's still not a good idea to add _ to the word syntax? What will it break? Or are you saying users don't expect _ to be part of a word and it's unconventional to make it so? Ted> I think I'd rather make a base change to word syntax and use simple Ted> word motion than change the word motion I use to symbol motion. Tom> You can still do this yourself. We're talking about a change I made to cfengine.el. Obviously I can make it for myself; the goal is to make the mode more usable. I thought by adding _ to the word syntax I was doing that, and don't know the reasons why it's bad, except the word motion you mentioned above. Ted