From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 10 14:23:57 2010 Received: (at submit) by debbugs.gnu.org; 10 Oct 2010 18:23:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P50Yu-0000gc-T6 for submit@debbugs.gnu.org; Sun, 10 Oct 2010 14:23:57 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4y9v-00086z-Ow for submit@debbugs.gnu.org; Sun, 10 Oct 2010 11:50:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4yDA-0003K3-UE for submit@debbugs.gnu.org; Sun, 10 Oct 2010 11:53:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:43145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4yDA-0003Jw-RT for submit@debbugs.gnu.org; Sun, 10 Oct 2010 11:53:20 -0400 Received: from [140.186.70.92] (port=43441 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4yD9-00070t-3n for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2010 11:53:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4yD7-0003Iz-QH for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2010 11:53:18 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:61704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4yD7-0003Ia-LZ for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2010 11:53:17 -0400 Received: by fxm10 with SMTP id 10so1665718fxm.0 for ; Sun, 10 Oct 2010 08:53:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=/HIYBifcM5MsdgwmxyKiX+HBksocuoK8Le5lDVb3s4w=; b=IboTPN9h71m1VMMpLGifStfIZBPen5M1Xy19fSlEfBODjHoKSu9SCciLsF11wkYwx+ 56m/yUG+TRm5Xa2Tb25ZdjcSjhQyl4g7zHNoBJiGY2SpQx2xi2FVfJcxDkRGU6CQzVnF aABYHakVQC3Ve8vS61RadW4nQ4UVohyuEL3A8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=WYkJYUPR5qkzZW1DIt5qgLJdLxO55EpiI/1yUu6+33e2sicwQt/W2QnZntYSnA/k0e 98HwdnYBLEXuBvbJWj3pYa7gggO/qvO++nKVFYLNEbClh+mZGo05eM2G5WCPNezpL/K7 SWN/7X5i5YYdQKPepts9HJy81r8fQW19kCleQ= MIME-Version: 1.0 Received: by 10.239.175.143 with SMTP id n15mr293233hbf.134.1286725995573; Sun, 10 Oct 2010 08:53:15 -0700 (PDT) Received: by 10.239.155.78 with HTTP; Sun, 10 Oct 2010 08:53:15 -0700 (PDT) Date: Sun, 10 Oct 2010 11:53:15 -0400 X-Google-Sender-Auth: Ir_cvJTJnEh0m_jZmi43bb8iJ8Y Message-ID: Subject: 24.0.50; c-fill-paragraph regression From: John Yates To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 10 Oct 2010 14:23:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) ==[ Before filling comment ]== /* >> abc >> def */ { return 0; } ==[ Emacs 23.1.1, after filling (sub-optimal) ]== /* >> abc def */ { return 0; } ==[ Emacs 24.0.50.1, after filling (much worse) ]== /* >> abc def */ { return 0; } The problem seems to associated with the fact the the comment close token (*/) is not preceded by an initial space (which, had it been present, would have cause the opening and closing asterisks to be aligned. ==[ Before filling paragraph ]== /* >> abc >> def */ { return 0; } ==[ Either Emacs, after filling (optimal) ]== /* >> abc def */ { return 0; } In GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-10-08 on elegiac, modified by Debian (emacs-snapshot package, version 1:20101008-1) Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-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/24.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.50/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-x=yes' '--with-x-toolkit=gtk' '--with-imagemagick=yes' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' 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.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction 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-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r t - Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/share/emacs/24.0.50/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup Features: (shadow sort gnus-util mail-extr message sendmail regexp-opt rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 dbusbind dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 31 07:47:09 2010 Received: (at 7185-done) by debbugs.gnu.org; 31 Oct 2010 11:47:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PCWNQ-0000Iy-6S for submit@debbugs.gnu.org; Sun, 31 Oct 2010 07:47:08 -0400 Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PCWNN-0000Ic-KK for 7185-done@debbugs.gnu.org; Sun, 31 Oct 2010 07:47:06 -0400 Received: (qmail 86122 invoked by uid 3782); 31 Oct 2010 11:51:21 -0000 Received: from acm.muc.de (pD9E23EE4.dip.t-dialin.net [217.226.62.228]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sun, 31 Oct 2010 12:51:19 +0100 Received: (qmail 2690 invoked by uid 1000); 31 Oct 2010 12:04:43 -0000 Date: Sun, 31 Oct 2010 12:04:43 +0000 To: John Yates , 7185-done@debbugs.gnu.org Subject: Re: bug#7185: 24.0.50; c-fill-paragraph regression Message-ID: <20101031120443.GA2481@muc.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 7185-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Hi, John, On Sun, Oct 10, 2010 at 11:53:15AM -0400, John Yates wrote: > ==[ Before filling comment ]== > > /* > >> abc > >> def > */ > { > return 0; > } > ==[ Emacs 23.1.1, after filling (sub-optimal) ]== > > /* > >> abc def */ > { > return 0; > } > ==[ Emacs 24.0.50.1, after filling (much worse) ]== > > /* > >> abc def */ { return 0; } > > The problem seems to associated with the fact the the comment close > token (*/) is not preceded by an initial space (which, had it been > present, would have cause the opening and closing asterisks to be > aligned. It was actually an off-by-1 error in `c-mask-paragraph'. It's now fixed (I hope :-). I'd by grateful if you could try out the fix (now in the bzr repository), just to make sure I haven't introduced a new bug. Thanks for such a high quality bug report! -- Alan Mackenzie (Nuremberg, Germany). From unknown Fri Aug 15 14:46:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 28 Nov 2010 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator