From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert Euler" Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: Fill for // style comments in C Date: Tue, 28 Nov 2006 14:27:25 +0800 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164695264 16688 80.91.229.2 (28 Nov 2006 06:27:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2006 06:27:44 +0000 (UTC) Cc: rms@gnu.org, lennart.borgman.073@student.lu.se, emacs-devel@gnu.org, bug-cc-mode@gnu.org, rudalics@gmx.at, monnier@iro.umontreal.ca Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Tue Nov 28 07:27:41 2006 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GowRO-00080G-4B for sf-cc-mode-help@m.gmane.org; Tue, 28 Nov 2006 07:27:38 +0100 Original-Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 77724FD2F; Mon, 27 Nov 2006 22:27:37 -0800 (PST) Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GowRM-00014u-3o for cc-mode-help@lists.sourceforge.net; Mon, 27 Nov 2006 22:27:36 -0800 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GowRK-0002VM-Gb for cc-mode-help@lists.sourceforge.net; Mon, 27 Nov 2006 22:27:36 -0800 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.52) id 1GowRI-0002KU-ST for bug-cc-mode@gnu.org; Tue, 28 Nov 2006 01:27:32 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.52) id 1GowRI-0007kS-Bz for bug-cc-mode@gnu.org; Tue, 28 Nov 2006 01:27:32 -0500 Original-Received: from [65.54.246.201] (helo=bay0-omc3-s1.bay0.hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GowRD-0007jX-KH; Tue, 28 Nov 2006 01:27:27 -0500 Original-Received: from hotmail.com ([64.4.26.38]) by bay0-omc3-s1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 27 Nov 2006 22:27:26 -0800 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 27 Nov 2006 22:27:26 -0800 Original-Received: from 64.4.26.200 by by112fd.bay112.hotmail.msn.com with HTTP; Tue, 28 Nov 2006 06:27:25 GMT X-Originating-IP: [216.145.54.158] X-Originating-Email: [herberteuler@hotmail.com] X-Sender: herberteuler@hotmail.com In-Reply-To: Original-To: miles@gnu.org X-OriginalArrivalTime: 28 Nov 2006 06:27:26.0344 (UTC) FILETIME=[458B1880:01C712B6] X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on monty-python X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=MSGID_FROM_MTA_HEADER autolearn=failed version=3.0.4 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: cc-mode-help-bounces@lists.sourceforge.net Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.cc-mode.general:4127 gmane.emacs.devel:62915 Archived-At: I see. But turning off auto-fill-mode makes spaces get inserted when pressing SPC. Regards, Guanpeng Xu >From: Miles Bader >Reply-To: Miles Bader >To: "Herbert Euler" >CC: rudalics@gmx.at, bug-cc-mode@gnu.org, >lennart.borgman.073@student.lu.se, emacs-devel@gnu.org, >monnier@iro.umontreal.ca, rms@gnu.org >Subject: Re: Fill for // style comments in C >Date: Tue, 28 Nov 2006 14:58:22 +0900 > >"Herbert Euler" writes: > > Strange. I tried typing SPC, and spaces were inserted. > > Where did you put the point? > >For instance in the following short program: > > // > int a () > { > } > >Also I have "auto-fill-mode" turned on -- that seems necessary to see >this behavior. > >Position point after the "//" and try to type SPC -- for me, it simply >does nothing. In other situations, SPC actually causes the comment to >be filled (even though it's nowhere near the margin where auto-filling >would normally do something). > >-Miles > >-- >We have met the enemy, and he is us. -- Pogo _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV