GNU bug report logs - #10276
24.0.92; Filling in Mail mode

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sun, 11 Dec 2011 17:15:01 UTC

Severity: minor

Found in version 24.0.92

Fixed in version 24.0.93

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10276 in the body.
You can then email your comments to 10276 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10276; Package emacs. (Sun, 11 Dec 2011 17:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to rms <at> gnu.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 11 Dec 2011 17:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.92; Filling in Mail mode 
Date: Sun, 11 Dec 2011 12:12:37 -0500
Put the following in a buffer in Mail mode, go to after `1970.', and
type M-q.  It fills the following paragraph.

======================================================================
I was never a regular PBS viewer since I have not had a TV set since
1970.

this is a
test
======================================================================



In GNU Emacs 24.0.92.1 (mips64el-unknown-linux-gnu, GTK+ Version 2.12.12)
 of 2011-12-06 on theobromine2
configured using `configure  '-C' 'CFLAGS=-g -O1''

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: Mail

Minor modes in effect:
  shell-dirtrack-mode: t
  gpm-mouse-mode: t
  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
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
h i s SPC i s SPC a RET t e s t C-p C-p C-p ESC q C-g 
C-e ESC q ESC q ESC x m a i l SPC m o d e RET ESC q 
C-_ C-a C-u C-p ESC x m DEL r e p o r t SPC e m a v 
s SPC b u g DEL DEL DEL DEL DEL c s SPC u g DEL DEL 
b u g RET F i l l i n g i n SPC m a i l SPC C-u C-b 
C-b C-b C-b C-b SPC ESC f ESC c SPC m o d e RET C-g 
C-b SPC SPC H o w e v e r , SPC I SPC s a w SPC t h 
e SPC s a m e SPC t h i n g SPC h ESC b ESC b ESC b 
ESC b ESC b ESC d n o t i c e d C-e a p p e n SPC t 
o SPC N P R SPC ( N o t SPC P r o g r e s s , v e DEL 
DEL DEL i v e , SPC R e a l l y ) ESC q SPC i n SPC 
t h e SPC 1 9 9 0 s . SPC SPC A t SPC t h a t SPC o 
i DEL DEL ESC DEL ESC DEL DEL DEL DEL , SPC a n d SPC 
t h a t SPC i s SPC w h y SPC I SPC s t o p p e d SPC 
d o n a t i n g ESC q . C-n C-c C-c C-@ C-u C-n C-n 
C-n ESC w ESC x ESC p RET

Recent messages:
Undo! [2 times]
Mark set [2 times]
Quit
Undo!
Quit
Auto-saving...done
Sending...
Wrote /home/rms/outgoing/out-11
Sending...done
Mark set

Load-path shadows:
None found.

Features:
(shadow emacsbug vc-bzr goto-addr thingatpt ind-util rmailsum
mule-util time-stamp novice parse-time vc-cvs texinfo dired-aux ispell
quail etags rmailout dabbrev multi-isearch help-mode view shell
pcomplete grep compile comint ring newcomment mailalias qp rmailmm
message sendmail format-spec rfc822 mml easymenu mml-sec mm-decode
mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231
rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired
regexp-opt t-mouse time-date battery paren cus-start cus-load 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 minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)


-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use free telephony http://directory.fsf.org/category/tel/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10276; Package emacs. (Thu, 12 Jan 2012 00:38:02 GMT) Full text and rfc822 format available.

Message #8 received at 10276 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: rms <at> gnu.org
Cc: 10276 <at> debbugs.gnu.org
Subject: Re: bug#10276: 24.0.92; Filling in Mail mode
Date: Wed, 11 Jan 2012 19:36:41 -0500
Richard Stallman wrote:

> Put the following in a buffer in Mail mode, go to after `1970.', and
> type M-q.  It fills the following paragraph.
>
> ======================================================================
> I was never a regular PBS viewer since I have not had a TV set since
> 1970.
>
> this is a
> test
> ======================================================================

This happens because with point at the start of the "1970." line,
forward-paragraph skip to after "test". This does not happen in
text-mode. It happens in mail-mode because the "1970." line happens to
match paragraph-separate, specifically the element:

(?[0-9]+[.)]+$

Off the top of my head, I don't know what this element is supposed to be
for. It seems to have been added by you in 1998:

http://cvs.savannah.gnu.org/viewvc/emacs/lisp/mail/sendmail.el?root=emacs&r1=1.199&r2=1.200&pathrev=MAIN

1998-07-24  Richard Stallman  <rms AT psilocin.ai.mit.edu>

    * mail/sendmail.el (mail-mode): Add the citation regexp
    to adaptive-fill-regexp after the usual contents.
    But modify the usual contents not to match whitespace alone;
    match that again last.
    Add that citation regexp to paragraph-start and
    paragraph-separate too.

(Message mode does not have such an element.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10276; Package emacs. (Thu, 12 Jan 2012 01:42:02 GMT) Full text and rfc822 format available.

Message #11 received at 10276 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: rms <at> gnu.org
Cc: 10276 <at> debbugs.gnu.org
Subject: Re: bug#10276: 24.0.92; Filling in Mail mode
Date: Wed, 11 Jan 2012 20:40:49 -0500
Glenn Morris wrote:

> (?[0-9]+[.)]+$
>
> Off the top of my head, I don't know what this element is supposed to be
> for.

This is an old element from adaptive-fill-regexp that attempted to fill
numbered lists, I guess. You removed it adaptive-fill-regexp in 2006.

2006-09-08  Richard Stallman  <rms at gnu.org>

   * textmodes/fill.el (adaptive-fill-regexp): Don't match `(1)' or `1.'

Obviously mail-mode's setting of paragraph-separate hasn't kept up;
it should be simplified.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Thu, 12 Jan 2012 02:07:02 GMT) Full text and rfc822 format available.

Notification sent to rms <at> gnu.org:
bug acknowledged by developer. (Thu, 12 Jan 2012 02:07:02 GMT) Full text and rfc822 format available.

Message #16 received at 10276-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 10276-done <at> debbugs.gnu.org
Subject: Re: bug#10276: 24.0.92; Filling in Mail mode
Date: Wed, 11 Jan 2012 21:06:16 -0500
Version: 24.0.93

Glenn Morris wrote:

> Obviously mail-mode's setting of paragraph-separate hasn't kept up;
> it should be simplified.

Done.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Feb 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 217 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.