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: 15 Feb 2007 20:34:25 +0100 Message-ID: <20070215204913.GA3020@muc.de> References: <20070214234925.GA1024@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1171568129 16918 80.91.229.12 (15 Feb 2007 19:35:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Feb 2007 19:35:29 +0000 (UTC) Cc: William Xue , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 15 20:35:18 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 1HHmNo-0000Oz-B2 for ged-emacs-devel@m.gmane.org; Thu, 15 Feb 2007 20:35:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHmNn-0002wl-PG for ged-emacs-devel@m.gmane.org; Thu, 15 Feb 2007 14:35:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HHmNB-0002gX-Bf for emacs-devel@gnu.org; Thu, 15 Feb 2007 14:34:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HHmNA-0002gE-RK for emacs-devel@gnu.org; Thu, 15 Feb 2007 14:34:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHmNA-0002g5-G1 for emacs-devel@gnu.org; Thu, 15 Feb 2007 14:34:28 -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 1HHmNA-0002dU-1W for emacs-devel@gnu.org; Thu, 15 Feb 2007 14:34:28 -0500 Original-Received: (qmail 37322 invoked by uid 3782); 15 Feb 2007 19:34:25 -0000 Original-Received: from acm.muc.de (p54A3FBD0.dip.t-dialin.net [84.163.251.208]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Thu, 15 Feb 2007 20:34:23 +0100 Original-Received: (qmail 3092 invoked by uid 1000); 15 Feb 2007 20:49:13 -0000 Original-Date: Thu, 15 Feb 2007 20:49:13 +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:66431 Archived-At: Hi, Stefan! On Thu, Feb 15, 2007 at 10:18:31AM -0500, Stefan Monnier wrote: > > 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. > > Yes. This is the place where you'll be wanting to start typing. > But why 3 spaces? This looks like a bug. But when I try it in Emacs > -Q, I get 2 spaces, so maybe it's something in his .emacs ? Maybe. Maybe he copied the string by hand, and an extra space slipped in. William, if you suspect that you got one space too many in '/* */', please dump your CC Mode configuration (with C-c C-b) and post it here. > Stefan -- Alan.