From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Geoff Shannon Newsgroups: gmane.emacs.bugs Subject: bug#17321: 24.3.50; Fill paragraph fails with period in fill-column Date: Tue, 22 Apr 2014 17:51:03 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=089e0141a0924e751404f7ab221f X-Trace: ger.gmane.org 1398239782 24402 80.91.229.3 (23 Apr 2014 07:56:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2014 07:56:22 +0000 (UTC) To: 17321@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 23 09:56:16 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wcs2N-0002N9-C7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Apr 2014 09:56:11 +0200 Original-Received: from localhost ([::1]:59105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wcs2N-0004db-0D for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Apr 2014 03:56:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wcs2G-0004Z0-Un for bug-gnu-emacs@gnu.org; Wed, 23 Apr 2014 03:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wcs2F-000208-Gp for bug-gnu-emacs@gnu.org; Wed, 23 Apr 2014 03:56:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wcs2F-000204-Dr for bug-gnu-emacs@gnu.org; Wed, 23 Apr 2014 03:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wcs2E-0008Og-Hd for bug-gnu-emacs@gnu.org; Wed, 23 Apr 2014 03:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Geoff Shannon Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Apr 2014 07:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17321 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.139823975632245 (code B ref -1); Wed, 23 Apr 2014 07:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2014 07:55:56 +0000 Original-Received: from localhost ([127.0.0.1]:55665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wcs26-0008Nx-07 for submit@debbugs.gnu.org; Wed, 23 Apr 2014 03:55:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58907) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WclPZ-0008B8-Fg for submit@debbugs.gnu.org; Tue, 22 Apr 2014 20:51:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WclPX-0001dy-LA for submit@debbugs.gnu.org; Tue, 22 Apr 2014 20:51:41 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WclPX-0001du-HY for submit@debbugs.gnu.org; Tue, 22 Apr 2014 20:51:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WclPW-0008Ol-3W for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 20:51:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WclPU-0001dI-Lp for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 20:51:38 -0400 Original-Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:41003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WclPU-0001d7-6Q for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 20:51:36 -0400 Original-Received: by mail-wg0-f52.google.com with SMTP id k14so186431wgh.23 for ; Tue, 22 Apr 2014 17:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=vQghFYG8/0AvL2FAhwf27eaDeyYzFM7g3yrWjwB+hxA=; b=g6ET6kQYSe4Eaybz42q9kfYmYUYMH+ZC2Xy+B395p2WL6mR+0oBNOy//nMk1vF8M3F P/9n1fVQglOv+PX9ogV3FSZwMsHiGXX4JYSCjZytclqOJSLxVz+vVPvVucKDWgcw2Dbi Xzzi9WaUfl2z6BNfVJx9UIBHl/XD8EDXugcWLyhxnCejIsBGqtZUllrfveBlw3/xPnO/ 6JgZAN+kae/rZlEpzxiEb02II2ncEq5+wiwqmAXL3nWV3eYfwQI5kpgQ88dSKinGcj4b CLqWu//L9iNGz4TqBoIzMOUbZLCPYMpLx/Yx+1Ej2mOqssMgBdvk1NQ7jxfp9Ya3jTR4 QrZQ== X-Received: by 10.194.216.68 with SMTP id oo4mr26279wjc.69.1398214293871; Tue, 22 Apr 2014 17:51:33 -0700 (PDT) Original-Received: by 10.194.158.137 with HTTP; Tue, 22 Apr 2014 17:51:03 -0700 (PDT) X-Google-Sender-Auth: yJIg183-3nwUuW15dAvr1kNzBQQ X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Wed, 23 Apr 2014 03:55:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88238 Archived-At: --089e0141a0924e751404f7ab221f Content-Type: multipart/alternative; boundary=089e0141a0924e751004f7ab221d --089e0141a0924e751004f7ab221d Content-Type: text/plain; charset=UTF-8 When the final character on a line is a period, auto filling both with do-auto-fill and with fill-paragraph incorrectly moves the entire word preceding the period to the next line. This is not the case when it is a letter in the fill-column. To reproduce, `emacs -Q` Then load up this text in a buffer, and turn auto-fill-mode on, and assuming that fill-column is set to 70. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eius. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusm Both lines are the same except for the final character. If we type a space at the end of both lines, the one word with a trailing period is (incorrectly) moved to the next line, while the other does nothing. This behaviour doesn't seem to be tied to the value of fill-column (I tried it with a few 5 and 70). I've attached a dribble file, starting from 'emacs -Q' that illustrates the filling issues I'm talking about. Also, it appears that setting sentence-end-double-space changes the behaviour to what I would expect. However, in terms of the aesthetic result of the fill, I think the current behaviour is still incorrect. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) of 2014-01-01 on minty-dark-tower Bzr revision: 115828 eggert@cs.ucla.edu-20140101231359-pzcy6lepssiaboye Windowing system distributor `The X.Org Foundation', version 11.0.11303000 System Description: Linux Mint 15 Olivia Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: tooltip-mode: t electric-indent-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: C-x b C-e C-a C-x b C-SPC C-e M-w M-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: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --089e0141a0924e751004f7ab221d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
When the final character on a line is a per= iod, auto filling both with
do-auto-fill and with fill-paragraph incorre= ctly moves the entire word
preceding the period to the next line.=C2=A0 = This is not the case when it is
a letter in the fill-column.

To reproduce, `emacs -Q` Then load up t= his text in a buffer, and turn
auto-fill-mode on, and assuming that fill= -column is set to 70.

Lorem ipsum dolor sit amet, consectetur adipis= icing elit, sed do eius.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusm<= br>
Both lines are the same except for the final character.=C2=A0 If we = type a
space at the end of both lines, the one word with a trailing peri= od is
(incorrectly) moved to the next line, while the other does nothing.

= This behaviour doesn't seem to be tied to the value of fill-column (Itried it with a few 5 and 70).

I've attached a dribble f= ile, starting from 'emacs -Q' that illustrates the
filling issues I'm talking about.

Also, it appears t= hat setting sentence-end-double-space changes the behaviour to what I would= expect.=C2=A0 However, in terms of the aesthetic result of the fill, I thi= nk the current behaviour is still incorrect.

In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ V= ersion 3.6.4)
=C2=A0of 2014-01-01 on minty-dark-tower
Bzr revision: 1= 15828 eggert@cs.ucla.edu-20140101231359-pzcy6lepssiaboye
Windowing syste= m distributor `The X.Org Foundation', version 11.0.11303000
System Description:=C2=A0=C2=A0=C2=A0 Linux Mint 15 Olivia

Important= settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-sy= stem: utf-8-unix

Major mode: Text

Minor modes in effect:
= =C2=A0 tooltip-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mo= de: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t=
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-= composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 tra= nsient-mark-mode: t

Recent input:
C-x b <return> C-e C-a C-= x b <return> C-SPC C-e M-w
M-x r e p o r t <tab> <return= >

Recent messages:
For information about GNU Emacs and the GNU system, typ= e C-h C-a.

Load-path shadows:
None found.

Features:
(sh= adow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailab= brev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util he= lp-fns mail-prsvr mail-utils time-date tooltip electric
uniquify ediff-h= ook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
= prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mou= se jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanes= e hebrew greek romanian slovak czech european ethiopic indian
cyrillic c= hinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer n= advice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custo= m widget hashtable-print-readable backquote make-network-process
dbusbin= d gfilenotify dynamic-setting system-font-setting
font-render-setting mo= ve-toolbar gtk x-toolkit x multi-tty emacs)
--089e0141a0924e751004f7ab221d-- --089e0141a0924e751404f7ab221f Content-Type: application/octet-stream; name=filldribble Content-Disposition: attachment; filename=filldribble Content-Transfer-Encoding: base64 X-Attachment-Id: f_hubwda460 IDB4ODAwMDA3OGF1dG8tZmlsbDx0YWI+PHJldHVybj4gMHg4MDAwMDc4c2V0LXZhcmk8dGFiPjxy ZXR1cm4+ZmlsbC1jb2x1bTx0YWI+PHJldHVybj4xMDxyZXR1cm4+YSBhIGEgYSBhIGEgYSBhIGEg LiBhIDxyZXR1cm4+PHJldHVybj5hYmMgZGVmYWdwIDxyZXR1cm4+YWJjIGRlZmFnLiAYAw== --089e0141a0924e751404f7ab221f--