From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William Xue" Newsgroups: gmane.emacs.devel Subject: Re: redundant space after run 'c-indent-new-comment-line' Date: Sat, 17 Feb 2007 01:51:18 +0800 Organization: wv Message-ID: References: <20070215235224.GB3020@muc.de> <20070216083132.GA1086@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: Quoted-Printable X-Trace: sea.gmane.org 1171648304 6019 80.91.229.12 (16 Feb 2007 17:51:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Feb 2007 17:51:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Alan Mackenzie" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 16 18:51:34 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 1HI7F5-0002Pw-A1 for ged-emacs-devel@m.gmane.org; Fri, 16 Feb 2007 18:51:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HI7F4-0004EX-Vl for ged-emacs-devel@m.gmane.org; Fri, 16 Feb 2007 12:51:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HI7Et-0004EI-Go for emacs-devel@gnu.org; Fri, 16 Feb 2007 12:51:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HI7Eq-0004E6-K8 for emacs-devel@gnu.org; Fri, 16 Feb 2007 12:51:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HI7Eq-0004E3-FF for emacs-devel@gnu.org; Fri, 16 Feb 2007 12:51:16 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HI7Ep-0007Dq-Ha for emacs-devel@gnu.org; Fri, 16 Feb 2007 12:51:16 -0500 Original-Received: by ug-out-1314.google.com with SMTP id j3so249288ugf for ; Fri, 16 Feb 2007 09:51:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:subject:from:organization:cc:content-type:mime-version:references:content-transfer-encoding:message-id:in-reply-to:user-agent; b=O6bwFxu8mq/r4/ymUR3o3n6Uy/tCTZpPM7J0YuUPCWOAbWXJ+V7YDqzVdaThLCBbpRfvgRqjoZ8sUhwXthPSZk/GM0z1nxMBG8dcMLNXGY3MDQSam2PnZ0fXndsJ7J2MXzITJ+2cbvrIFII2BtFcf4oamZLE/J0qYBUgGrypyvs= Original-Received: by 10.114.124.1 with SMTP id w1mr1994859wac.1171648267794; Fri, 16 Feb 2007 09:51:07 -0800 (PST) Original-Received: from williamnb ( [222.92.128.160]) by mx.google.com with ESMTP id z20sm2103591pod.2007.02.16.09.51.04; Fri, 16 Feb 2007 09:51:07 -0800 (PST) In-Reply-To: <20070216083132.GA1086@muc.de> User-Agent: Opera Mail/9.20 (Win32) X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:66459 Archived-At: On Fri, 16 Feb 2007 15:16:46 +0800, Alan Mackenzie wrote: > On Fri, Feb 16, 2007 at 10:37:07AM +0800, William Xue wrote: >> On Fri, 16 Feb 2007 06:37:34 +0800, Alan Mackenzie wrote= : > >> >Hi, William! > >> >On Wed, Feb 14, 2007 at 03:24:54PM +0800, William Xue wrote: >> >>First, 'M-;' make a c style comment in a new line in a .h file, it >> >>prints >> >>'/* */', and the cursor blinks at the 2nd space char. > >> >>Then, 'M-J' to run 'c-indent-new-comment-line', and it gives >> >>'/* >> >> * */' and the cursor blinks at the last '*', but I think it shoul= d = >> be >> >>blinks at the 2nd space in the second line. > >> >I think the essence of this bug is that point ends up further to the= >> >right after the M-j that where it started. An M-j should NEVER do = >> this - >> >normally, of course, point ends up at the far left, just after the >> >comment prefix. > >> >I've committed a fix to ..../progmodes/cc-cmds.el. Could you update= = >> your >> >Emacs and try it out, please. > > >> It seems not to work, even start emacs with -Q. > >> When did you commit the fix? I made a update about 12 hours ago and n= ow >> there is nothing newer. > > Revision 1.54 of .../progmodes/cc-cmds.el, about 8 hours ago, at ~22:3= 0 > GMT. I've just had a look at http://savannah.gnu.org, and it's > definitely there now. > >> William > It works! Thank you very much! At first, I have only checked emacs-unicode-2, and haven't found it. Now, according to your indication, I found it in http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/progmodes/?root=3Demacs Thanks! -- = Sincerely yours, William