From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthieu Moy Newsgroups: gmane.emacs.bugs Subject: bug#6688: 23.2; Auto-fill broken in C/C++ modes. Date: Wed, 21 Jul 2010 15:33:07 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279726528 31957 80.91.229.12 (21 Jul 2010 15:35:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Jul 2010 15:35:28 +0000 (UTC) To: 6688@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 21 17:35:24 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ObbKK-00007P-EK for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jul 2010 17:35:20 +0200 Original-Received: from localhost ([127.0.0.1]:48807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObbKJ-0004Yk-Q5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jul 2010 11:35:19 -0400 Original-Received: from [140.186.70.92] (port=48291 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObbGF-0003zl-HY for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 11:31:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObbG9-0002it-H5 for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 11:31:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49174) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObbG9-0002ip-EK for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 11:31:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Obar0-0006DN-Mx; Wed, 21 Jul 2010 11:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthieu Moy Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jul 2010 15:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6688 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127972470023881 (code B ref -1); Wed, 21 Jul 2010 15:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jul 2010 15:05:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obaqw-0006D8-B4 for submit@debbugs.gnu.org; Wed, 21 Jul 2010 11:04:59 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObZn7-0005iV-5f for submit@debbugs.gnu.org; Wed, 21 Jul 2010 09:56:58 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:51054) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ObZnX-0007cz-Ux for submit@debbugs.gnu.org; Wed, 21 Jul 2010 09:57:23 -0400 Original-Received: from [140.186.70.92] (port=45008 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObZnT-0002vT-JI for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 09:57:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObZnP-00033u-T1 for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 09:57:19 -0400 Original-Received: from mx2.imag.fr ([129.88.30.17]:37221 helo=rominette.imag.fr) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObZnP-00031d-LM for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 09:57:15 -0400 Original-Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by rominette.imag.fr (8.13.8/8.13.8) with ESMTP id o6LDVhth031371 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 21 Jul 2010 15:31:43 +0200 Original-Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1ObZQ3-0008SJ-Bn for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 15:33:07 +0200 Original-Received: from moy by bauges.imag.fr with local (Exim 4.69) (envelope-from ) id 1ObZQ3-0005Bq-80 for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 15:33:07 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (rominette.imag.fr [129.88.30.17]); Wed, 21 Jul 2010 15:31:43 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: o6LDVhth031371 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr MailScanner-NULL-Check: 1280323903.59283@aMKzmESwpng25FKL1/t15w X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 21 Jul 2010 11:04:57 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 21 Jul 2010 11:05:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38729 Archived-At: Hi, I've had problems with auto-fill-mode in C and C++ comments for a while, I finally managed to find a small test-case: let this be a C program. /* Test */ #include #include If I put my cursor on the blank line below "Test", activate M-x auto-fill-mode RET (other than that, it's a plain "emacs -Q") and type SPC, I get this: /* Test *include #include with my cursor in the middle of the "*include". I can't reproduce on Emacs 22. Thanks, In GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-05-10 on thabor Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--prefix=/usr/local/soft/emacs23/23.2' 'LDFLAGS=-L/local/berthier/usr/lib -L/usr/lib' 'CPPFLAGS=-I/local/berthier/usr/include -I/usr/include '' 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_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: C/l Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: M-x a u t o - c i f i C-n C-n SPC C-_ M-x r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Undo! Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process font-render-setting gtk x-toolkit x multi-tty emacs) -- Matthieu