From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Toby Allsopp Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: [Toby.Allsopp@navman.com: auto-fill in c-mode messes up incomplete comments] Date: Tue, 26 Dec 2006 13:13:02 +1300 Message-ID: <87ac1bpl9t.fsf@candyboy.here> References: <87d568b4jp.fsf@lrde.org> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1167092047 10737 80.91.229.10 (26 Dec 2006 00:14:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Dec 2006 00:14:07 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org, Toby Allsopp , rms@gnu.org, monnier@IRO.UMontreal.CA Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Tue Dec 26 01:14:05 2006 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by dough.gmane.org with esmtp (Exim 4.50) id 1GyzxC-00049G-HP for sf-cc-mode-help@m.gmane.org; Tue, 26 Dec 2006 01:14:02 +0100 Original-Received: from sc8-sf-list1-new.sourceforge.net (sc8-sf-list1-new-b.sourceforge.net [10.3.1.93]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id D704C122A8; Mon, 25 Dec 2006 16:14:01 -0800 (PST) Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GyzxA-0000l1-3J for cc-mode-help@lists.sourceforge.net; Mon, 25 Dec 2006 16:14:00 -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 1Gyzx9-0001Vy-JM for cc-mode-help@lists.sourceforge.net; Mon, 25 Dec 2006 16:14:00 -0800 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Gyzwr-0005xi-Q7 for bug-cc-mode@gnu.org; Mon, 25 Dec 2006 19:13:41 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.52) id 1Gyzwz-0006SD-G6 for bug-cc-mode@gnu.org; Mon, 25 Dec 2006 19:13:49 -0500 Original-Received: from [219.88.242.4] (helo=mx5.orcon.net.nz) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gyzwy-0006Rh-QC for bug-cc-mode@gnu.org; Mon, 25 Dec 2006 19:13:49 -0500 Original-Received: from Debian-exim by mx5.orcon.net.nz with local (Exim 4.63) (envelope-from ) id 1Gyzwk-0003sR-5C for bug-cc-mode@gnu.org; Tue, 26 Dec 2006 13:13:34 +1300 Original-Received: from 60-234-130-144.bitstream.orcon.net.nz ([60.234.130.144] helo=cecil.here) by mx5.orcon.net.nz with smtp (Exim 4.63) (envelope-from ) id 1Gyzwj-0003rs-CM for bug-cc-mode@gnu.org; Tue, 26 Dec 2006 13:13:33 +1300 Original-Received: (qmail 13342 invoked from network); 26 Dec 2006 13:13:35 +1300 Original-Received: from unknown (HELO candyboy.here) (192.168.3.170) by cecil.here with SMTP; 26 Dec 2006 13:13:35 +1300 Original-Received: from toby by candyboy.here with local (Exim 4.63) (envelope-from ) id 1Gyzwl-0002cM-2P; Tue, 26 Dec 2006 13:13:35 +1300 Original-To: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Original-Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:po08tjdF8Uab7RiIP+outbnu/DI= In-Reply-To: <87d568b4jp.fsf@lrde.org> (=?iso-8859-1?Q?Micha=EBl?= Cadilhac's message of "Mon\, 25 Dec 2006 12\:25\:46 +0100") Posted-To: gmane.emacs.cc-mode.general,gmane.emacs.devel X-DSPAM-Check: by mx5.orcon.net.nz on Tue, 26 Dec 2006 13:13:34 +1300 X-DSPAM-Processed: Tue Dec 26 13:13:34 2006 X-DSPAM-Improbability: 1 in 227 chance of being spam X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on monty-python X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=failed version=3.0.4 X-Spam-Score: 1.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 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 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:4246 gmane.emacs.devel:64272 Archived-At: The following message is a courtesy copy of an article that has been posted to gmane.emacs.cc-mode.general,gmane.emacs.devel as we= ll. michael@cadilhac.name (Micha=EBl Cadilhac) writes: > Richard Stallman writes: > >> From: Toby Allsopp >> Subject: auto-fill in c-mode messes up incomplete comments >> To: emacs-pretest-bug@gnu.org >> Cc: emacs-snapshot@packages.debian.org >> Date: Tue, 28 Nov 2006 11:48:39 +1300 >> >>>>From a shell prompt: >> >> emacs -q /tmp/tmp.c >> M-x auto-fill-mode >> /* >> * = >> >> (That's / * * SPC). >> >> When typing the final space, the second line gets deleted. Pressing >> return instead messes it up differently. This seems to be a problem >> with c-mask-paragraph. > > Toby, does the following fix your problem? It fixes it for the SPC case, but not for the RET case (/ * * ). Toby (at home). ------------------------------------------------------------------------- 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=3Djoin.php&p=3Dsourceforge&CID=3DDE= VDEV