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: redundant space after run 'c-indent-new-comment-line' Date: 16 Feb 2007 08:16:46 +0100 Message-ID: <20070216083132.GA1086@muc.de> References: <20070215235224.GB3020@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1171610234 2788 80.91.229.12 (16 Feb 2007 07:17:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Feb 2007 07:17:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: William Xue Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 16 08:17:07 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 1HHxL7-0003Fp-3D for ged-emacs-devel@m.gmane.org; Fri, 16 Feb 2007 08:17:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHxL6-0003u8-IX for ged-emacs-devel@m.gmane.org; Fri, 16 Feb 2007 02:17:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HHxKu-0003tp-EM for emacs-devel@gnu.org; Fri, 16 Feb 2007 02:16:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HHxKt-0003tR-OF for emacs-devel@gnu.org; Fri, 16 Feb 2007 02:16:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHxKt-0003tN-Lm for emacs-devel@gnu.org; Fri, 16 Feb 2007 02:16:51 -0500 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_SHA:32) (Exim 4.52) id 1HHxKt-0006a4-82 for emacs-devel@gnu.org; Fri, 16 Feb 2007 02:16:51 -0500 Original-Received: (qmail 15010 invoked by uid 3782); 16 Feb 2007 07:16:46 -0000 Original-Received: from acm.muc.de (p54A3F90D.dip.t-dialin.net [84.163.249.13]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Fri, 16 Feb 2007 08:16:40 +0100 Original-Received: (qmail 1268 invoked by uid 1000); 16 Feb 2007 08:31:32 -0000 Original-Date: Fri, 16 Feb 2007 08:31:32 +0000 Content-Disposition: inline In-Reply-To: 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:66445 Archived-At: 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 should 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 now > there is nothing newer. Revision 1.54 of .../progmodes/cc-cmds.el, about 8 hours ago, at ~22:30 GMT. I've just had a look at http://savannah.gnu.org, and it's definitely there now. > William -- Alan.