From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric De Mund Newsgroups: gmane.emacs.bugs Subject: bug#6738: possible bug in fill-paragraph Date: Tue, 27 Jul 2010 01:10:37 -0700 Message-ID: <19534.38013.458365.325249@ixian.com> Reply-To: Eric De Mund NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1280424102 19395 80.91.229.12 (29 Jul 2010 17:21:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Jul 2010 17:21:42 +0000 (UTC) To: 6738@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 29 19:21:39 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 1OeWnQ-00038C-Tw for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Jul 2010 19:21:37 +0200 Original-Received: from localhost ([127.0.0.1]:49935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeWnO-0002xK-DD for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Jul 2010 13:21:26 -0400 Original-Received: from [140.186.70.92] (port=48227 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Odlku-0003Ih-Bp for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 11:07:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Odlkp-0001i2-OI for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 11:07:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51215) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odlkp-0001hy-Mg for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 11:07:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OdlNy-0006cW-2q; Tue, 27 Jul 2010 10:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric De Mund Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2010 14:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6738 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.128024183325440 (code B ref -1); Tue, 27 Jul 2010 14:44:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jul 2010 14:43:53 +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 1OdlNo-0006cH-RA for submit@debbugs.gnu.org; Tue, 27 Jul 2010 10:43:53 -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 1OdfFQ-0002nh-02 for submit@debbugs.gnu.org; Tue, 27 Jul 2010 04:10:48 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:57907) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OdfFX-0007NW-Ev for submit@debbugs.gnu.org; Tue, 27 Jul 2010 04:10:55 -0400 Original-Received: from [140.186.70.92] (port=60449 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdfFV-0007g6-OS for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 04:10:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdfFT-0007oa-A5 for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 04:10:53 -0400 Original-Received: from a.mail.sonic.net ([64.142.16.245]:42754) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdfFT-0007o4-2t for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 04:10:51 -0400 Original-Received: from tigre (c-67-174-242-24.hsd1.ca.comcast.net [67.174.242.24]) (authenticated bits=0) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id o6R8Ab3I021387; Tue, 27 Jul 2010 01:10:45 -0700 X-Mailer: VM 7.19 under Emacs 22.2.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Tue, 27 Jul 2010 10:43:50 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 27 Jul 2010 10:44:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 29 Jul 2010 13:21:18 -0400 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:39050 Archived-At: Hello, Here's a possible bug in fill-paragraph. In my twenty years of using Emacs (and fill-paragraph), I've never come across something like this. In addition to observing this bug with: In GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-11-09 on raven, modified by Debian running under: Debian 5.0.5 Lenny , I've reproduced it with: GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 running under: Windows XP Professional Build 2600.xpsp_sp3_gdr.100216-1514 (Service Pack 3) Here are the gory details: --------CUT HERE----BEGIN SECTION 1 OF 2-------- 0. Invoke Emacs with "emacs -nw -q" 1. Start with this 3-line paragraph: A former executive testified that David H. Brooks misused company funds to buy a belt buckle encrusted with rubies, pornographic videos for his son and prostitutes for his workers. 2. Invoke << C-u 20 C-x f >> with cursor positioned on first word "A". 3. Invoke << M-1 M-q >>. 4. Observe paragraph reformatted to this, incorrectly: A former executive testified that David H. Brooks misused company funds to buy a belt buckle encrusted with rubies, pornographic videos for his son and prostitutes for his workers. i.e. with the 6th line ("encrusted with") taking up 21 columns rather than 20 columns. --------CUT HERE----BEGIN SECTION 2 OF 2-------- In GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-11-09 on raven, modified by Debian configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:\ /etc/emacs:/usr/local/share/emacs/22.2/site-lisp:\ /usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:\ /usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' '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.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: encoded-kbd-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: ESC x r e p o r t - e m a c s - b u g RET Recent messages: Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Loading emacsbug... /usr/bin/mail is not an executable. Setting mail-interactive to t. Loading regexp-opt...done Loading emacsbug...done --------CUT HERE----END SECTION 2 OF 2-------- If you need more information, please don't hesitate to ask. Regards, Eric -- Eric De Mund ead-gnu-emacs@ixian.com