From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: [Toby.Allsopp@navman.com: auto-fill in c-mode messes up incomplete comments] Date: Sun, 24 Dec 2006 19:43:02 -0500 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167007396 32544 80.91.229.10 (25 Dec 2006 00:43:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Dec 2006 00:43:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Mon Dec 25 01:43:15 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 1Gydvu-0001xa-Rh for sf-cc-mode-help@m.gmane.org; Mon, 25 Dec 2006 01:43:15 +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 1E920FE4F; Sun, 24 Dec 2006 16:43:14 -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 1Gydvs-00035h-SN for cc-mode-help@lists.sourceforge.net; Sun, 24 Dec 2006 16:43:13 -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 1Gydvr-00067v-D5 for cc-mode-help@lists.sourceforge.net; Sun, 24 Dec 2006 16:43:12 -0800 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Gydvi-0002NK-M0; Sun, 24 Dec 2006 19:43:02 -0500 Original-To: bug-cc-mode@gnu.org, monnier@IRO.UMontreal.CA 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 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:4244 gmane.emacs.devel:64228 Archived-At: Would someone please work on this? ------- Start of forwarded message ------- To: emacs-pretest-bug@gnu.org From: Toby Allsopp Date: Tue, 28 Nov 2006 11:48:39 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: emacs-snapshot@packages.debian.org Subject: auto-fill in c-mode messes up incomplete comments X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=failed version=3.0.4 >>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. After space: - --8<---------------cut here---------------start------------->8--- /* - --8<---------------cut here---------------end--------------->8--- After return: - --8<---------------cut here---------------start------------->8--- / ** - --8<---------------cut here---------------end--------------->8--- In GNU Emacs 22.0.91.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2006-11-24 on pacem, modified by Debian (Debian emacs-snapshot package, version 1:20061123-1) X server distributor `The X.Org Foundation', version 11.0.70101000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.91/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.91/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.91/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_NZ.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: C/l Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t abbrev-mode: t Recent input: M-x a u t o - f i l l - m o d e / * * SPC M-x r e p o r Recent messages: Loading /etc/emacs/site-start.d/60hyperspec.el (source)...done Loading /etc/emacs/site-start.d/65bitmap-mule.el (source)...done Loading /etc/emacs/site-start.d/70x-face-el.el (source)...done For information about the GNU Project and its goals, type C-h C-p. tmp.c has auto save data; consider M-x recover-this-file Loading cc-mode...done Loading tabify...done c-mask-paragraph: Beginning of buffer Making completion list... Loading emacsbug...done _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug ------- End of forwarded message ------- ------------------------------------------------------------------------- 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