From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Incompatibility of CC mode Date: 4 Apr 2007 22:19:57 +0200 Message-ID: <20070404213855.GB2717@muc.de> References: <20070404.231748.97433582.jet@gyve.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175718018 19275 80.91.229.12 (4 Apr 2007 20:20:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2007 20:20:18 +0000 (UTC) Cc: bug-cc-mode@gnu.org, rms@gnu.org, emacs-devel@gnu.org To: Masatake YAMATO Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 04 22:20:09 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HZBxg-00028e-Aq for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2007 22:20:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZC0y-0003Rc-6G for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2007 16:23:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HZC0q-0003Pw-SL for emacs-devel@gnu.org; Wed, 04 Apr 2007 16:23:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HZC0q-0003Pf-DM for emacs-devel@gnu.org; Wed, 04 Apr 2007 16:23:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZC0q-0003PZ-4R for emacs-devel@gnu.org; Wed, 04 Apr 2007 16:23:24 -0400 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HZBxW-0007Z4-SN for emacs-devel@gnu.org; Wed, 04 Apr 2007 16:19:59 -0400 Original-Received: (qmail 76685 invoked by uid 3782); 4 Apr 2007 20:19:57 -0000 Original-Received: from acm.muc.de (p54A3E5C7.dip.t-dialin.net [84.163.229.199]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Wed, 04 Apr 2007 22:19:54 +0200 Original-Received: (qmail 4045 invoked by uid 1000); 4 Apr 2007 21:38:55 -0000 Original-Date: Wed, 4 Apr 2007 22:38:55 +0100 Content-Disposition: inline In-Reply-To: <20070404.231748.97433582.jet@gyve.org> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-kernel: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69070 Archived-At: On Wed, Apr 04, 2007 at 11:17:48PM +0900, Masatake YAMATO wrote: > > Is there any good reason for this incompatibility? > > If not, let's get rid of it. > > ------- Start of forwarded message ------- > > X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY > > autolearn=failed version=3.1.0 > > DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; > > h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; > > b=dTIuFhXeJa1XzScGibBwsvdZozFDIredsI5PPbrUpWmgu46kECkDaB39BkotrBhmcTA1bfRnZsfRJRW43M0hcxmZsOK961kXDmqGSofe63dYoQ60HNZ9Ps43xDen9/w/blSp7/yvJSIP9APBajtKPsf9e9WypGhd4pqBpiNBRD8= > > Mime-Version: 1.0 (Apple Message framework v752.3) > > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > To: bug-gnu-emacs@gnu.org > > From: Paul Curry > > Date: Mon, 2 Apr 2007 15:46:32 -0500 > > Subject: c-subword-mode - inconsistent behavior > > The functions c-capitalize-subword, c-downcase-subword, > > c-upcase-subword claim to behave like their normal emacs > > counterparts, but all three functions move the point when given a > > negative argument. Furthermore, c-capitalize-subword doesn't even > > work with a negative argument on my machine. I changed the functions > > to better mimic the behavior of capitalize/downcase/upcase/-word: > > they no longer move point with a negative argument. > It seems that Paul's argument is correct. > I will review Paul's version of code. Masatake: if Paul's code is OK, would you please commit it yourself. Then I will pick up the change and apply to CC Mode at SourceForge. Thanks in advance! > Masatake YAMATO -- Alan Mackenzie (Ittersbach, Germany).