From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas 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: Fri, 29 Dec 2006 00:09:58 +0200 Message-ID: <87ac178yfd.fsf@kobe.laptop> References: <87d568b4jp.fsf@lrde.org> <87slf353y9.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 1167402232 31492 80.91.229.10 (29 Dec 2006 14:23:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Dec 2006 14:23:52 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Fri Dec 29 15:23:50 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 1H0Ie9-0007HQ-Ha for sf-cc-mode-help@m.gmane.org; Fri, 29 Dec 2006 15:23:45 +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 D5A7F1378E; Fri, 29 Dec 2006 06:23:44 -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 1H0Ie7-0005Wy-Jb for cc-mode-help@lists.sourceforge.net; Fri, 29 Dec 2006 06:23:43 -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 1H0Ie6-0003nS-M3 for cc-mode-help@lists.sourceforge.net; Fri, 29 Dec 2006 06:23:43 -0800 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1H0Idp-0008BC-EV for bug-cc-mode@gnu.org; Fri, 29 Dec 2006 09:23:25 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.52) id 1H0Ie0-0002VR-Q1 for bug-cc-mode@gnu.org; Fri, 29 Dec 2006 09:23:37 -0500 Original-Received: from [62.1.205.36] (helo=igloo.linux.gr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H0Ie0-0002V7-2Z; Fri, 29 Dec 2006 09:23:36 -0500 Original-Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id kBTEMwli025682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 29 Dec 2006 16:23:07 +0200 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id kBTEMpbk001579; Fri, 29 Dec 2006 16:22:51 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id kBTEMnAf001577; Fri, 29 Dec 2006 16:22:49 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-To: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) In-Reply-To: <87slf353y9.fsf@lrde.org> (=?iso-8859-1?Q?Micha=EBl?= Cadilhac's message of "Tue\, 26 Dec 2006 11\:47\:26 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (berkeley-unix) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.833, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.12, BAYES_00 -2.60, DATE_IN_PAST_12_24 1.25, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr 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:4257 gmane.emacs.devel:64417 Archived-At: On Tue, 26 Dec 2006 11:47:26 +0100, michael@cadilhac.name (Micha=EBl Cadilh= ac) wrote: > I'll try to see if I can find a fix. ATM, I can fix Toby's problem but > I still have weird behaviors: > > *** cc-cmds.el 03 Dec 2006 01:56:56 +0100 1.46 > --- cc-cmds.el 26 Dec 2006 11:32:25 +0100 = > *************** > *** 3733,3739 **** > ;; text and the ender, depending on how > ;; many there are now. > (unless spaces > ! (setq spaces (- ender-column (current-column)))) > (setq auto-fill-spaces (c-delete-and-extract-region > (point) ender-start)) > ;; paragraph filling condenses multiple spaces to > --- 3730,3736 ---- > ;; text and the ender, depending on how > ;; many there are now. > (unless spaces > ! (setq spaces (max 1 (- ender-column (current-column)))))e > (setq auto-fill-spaces (c-delete-and-extract-region > (point) ender-start)) > ;; paragraph filling condenses multiple spaces to Hi Michael and everyone, If someone installs this, then please watch out for the trailing `e' character in the newly added line. - Giorgos ------------------------------------------------------------------------- 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