From unknown Fri Aug 15 14:48:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16821 <16821@debbugs.gnu.org> To: bug#16821 <16821@debbugs.gnu.org> Subject: Status: 24.3; fill-paragraph adds garbage text Reply-To: bug#16821 <16821@debbugs.gnu.org> Date: Fri, 15 Aug 2025 21:48:04 +0000 retitle 16821 24.3; fill-paragraph adds garbage text reassign 16821 emacs submitter 16821 Patrick Steele severity 16821 normal tag 16821 moreinfo unreproducible thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 02:24:59 2014 Received: (at submit) by debbugs.gnu.org; 20 Feb 2014 07:24:59 +0000 Received: from localhost ([127.0.0.1]:32977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGO09-0001IE-6A for submit@debbugs.gnu.org; Thu, 20 Feb 2014 02:24:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40171) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGLlE-0005cI-MU for submit@debbugs.gnu.org; Thu, 20 Feb 2014 00:01:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGLl7-0002vq-KO for submit@debbugs.gnu.org; Thu, 20 Feb 2014 00:01:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGLl7-0002vW-Hb for submit@debbugs.gnu.org; Thu, 20 Feb 2014 00:01:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGLl5-0003eX-Du for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 00:01:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGLl3-0002ty-Bx for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 00:01:15 -0500 Received: from mail-qa0-x233.google.com ([2607:f8b0:400d:c00::233]:48727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGLl3-0002tt-6c for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 00:01:13 -0500 Received: by mail-qa0-f51.google.com with SMTP id f11so2271745qae.24 for ; Wed, 19 Feb 2014 21:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=GqMuKuB221MpExCdRIfGLioNjdM7oIsPRID8OhMjghE=; b=bhKlWn2FBMHSpO4ZpfrnOPgT1TqpCVGHBOJ1j9MCwehbmkBY14VHT23QzoCtrDQsZz tGD70gqhonfiCl5fXJpMLmVWa9c22oO/1Q+fOUW9+qrd1DEBbbCeNrScvBO09+RnCel7 InEalFtvStblPfedzSbsshsgFc51FISJ2dvDnkQgtSl7rqru7HCSG0EqFiTEsRyGAKnh +BQTOtrJnSlKzFWmKTU7+KtKcVh2XNPjSmwD4zFDgQvWUhrdXzzNYMX0/BkS+X+veAsu Qfequ2zZELs7FwuXPL9zA+dDlgDbx6VesbMU5GMLrPJUv9VxKKvwMkTbD/HMMm19trCc zyIw== MIME-Version: 1.0 X-Received: by 10.236.96.201 with SMTP id r49mr42099433yhf.33.1392872472371; Wed, 19 Feb 2014 21:01:12 -0800 (PST) Received: by 10.170.209.69 with HTTP; Wed, 19 Feb 2014 21:01:12 -0800 (PST) Date: Wed, 19 Feb 2014 21:01:12 -0800 Message-ID: Subject: 24.3; fill-paragraph adds garbage text From: Patrick Steele To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a11c1fe52eee50804f2cf6473 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 20 Feb 2014 02:24:54 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a11c1fe52eee50804f2cf6473 Content-Type: text/plain; charset=ISO-8859-1 (Apologies if this email was received twice) Executing M-q, bound to fill-paragraph, results in a wrapped paragraph with extra text inserted. The extra text is generally something that has been typed elsewhere in the buffer. The example that caused me to file this report is as follows, where each line of the actual text is prefixed with ' >' ---- Original text ---- > data : dict > A mapping to Task objects in JSON form, or None. > > Notes > ----- > > JSON doesn't support integer keys in dictionaries, but we assume they ---- Result ---- > data : dict > A mapping to Task objects in JSON form, or None. > > Notes > ----- > > JSON doesn't support integer keys in dictionaries, but we > A mapping to Task objects in JSON form, or Noneassume they It was triggered by hitting M-q with the cursor just after the string 'they'. I have encountered this bug before; I resolve the issue by quitting Emacs and launching again. In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of 2013-07-26 on roseapple, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11403000 System Description: Ubuntu 13.10 Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-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/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Python Minor modes in effect: show-paren-mode: t global-auto-complete-mode: t auto-complete-mode: t tooltip-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: SPC ( k , SPC v ) SPC i n SPC s e l f . _ d a t a . t i e m s i t m e m s ( ) } C-SPC C-n C-n C-n C-w C-n C-SPC C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-l C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-l C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-l C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-l C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-e C-w C-l C-p C-n C-k C-n C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-p C-b C-b C-p C-p C-p C-p C-p C-p C-p C-e N o t e s - - - - - J S O N SPC d o e s n ' t SPC s u p p o r t SPC i n t e g e r SPC k e y s SPC i n SPC d i c t i o n a r i e s , SPC b u t SPC w e SPC a s s u m e SPC t h e y M-q C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-/ C-/ M-q C-/ C-x C-s M-q C-/ C-h k M-q q C-x o q k M-q C-/ C-h k M-q C-x o q M-q C-/ M-q C-/ M-x r e p o r Recent messages: Saving file /home/prsteele/Documents/Development/task/task/task_list.py... Wrote /home/prsteele/Documents/Development/task/task/task_list.py Undo! Type "q" in help window to restore its previous buffer. Auto-saving...done Undo! Type "q" in help window to restore its previous buffer. Auto-saving...done Undo! [2 times] Making completion list... Load-path shadows: /home/prsteele/.emacs.d/elpa/color-theme-6.5.5/color-theme hides /usr/share/emacs24/site-lisp/emacs-goodies-el/color-theme /usr/share/emacs/24.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.3/lisp/textmodes/flyspell /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.3/lisp/textmodes/ispell /usr/share/emacs/24.3/lisp/emacs-lisp/ert hides /home/prsteele/.emacs.d/auto-complete/lib/ert/lisp/emacs-lisp/ert /usr/share/emacs/24.3/lisp/emacs-lisp/ert-x hides /home/prsteele/.emacs.d/auto-complete/lib/ert/lisp/emacs-lisp/ert-x Features: (shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils help-mode python rx comint ring ansi-color go-mode url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap ffap url-parse auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util mm-util mail-prsvr password-cache url-vars thingatpt find-func vc-git eldoc derived go-mode-load color-theme wid-edit paren auto-complete-config auto-complete advice advice-preload popup edmacro kmacro help-fns cl-macs gv cl cl-lib color-theme-autoloads geiser-autoloads info easymenu rust-mode-autoloads cm-mode-autoloads sass-mode-autoloads haml-mode-autoloads finder-inf package emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode time-date tooltip 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 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 macroexp 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) --001a11c1fe52eee50804f2cf6473 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
(Apologies if this email was received twice)

E= xecuting M-q, bound to fill-paragraph, results in a wrapped paragraph
wi= th extra text inserted. The extra text is generally something that has
been typed elsewhere in the buffer. The example that caused me to file
t= his report is as follows, where each line of the actual text is prefixed wi= th '=A0=A0=A0 >'

=A0=A0=A0 ---- Original text ----
=A0= =A0=A0 >=A0=A0=A0=A0=A0=A0=A0 data : dict
=A0=A0=A0 >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 A mapping to Task objects i= n JSON form, or None.
=A0=A0=A0 >
=A0=A0=A0 >=A0=A0=A0=A0=A0=A0= =A0 Notes
=A0=A0=A0 >=A0=A0=A0=A0=A0=A0=A0 -----
=A0=A0=A0 >=A0=A0=A0 >=A0=A0=A0=A0=A0=A0=A0 JSON doesn't support integer keys = in dictionaries, but we assume they

=A0=A0=A0 ---- Result ----
=A0=A0=A0 >=A0=A0=A0=A0=A0=A0=A0 data = : dict
=A0=A0=A0 >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 A mapping to Task= objects in JSON form, or None.
=A0=A0=A0 >
=A0=A0=A0 >=A0=A0= =A0=A0=A0=A0=A0 Notes
=A0=A0=A0 >=A0=A0=A0=A0=A0=A0=A0 -----
=A0= =A0=A0 >
=A0=A0=A0 >=A0=A0=A0=A0=A0=A0=A0 JSON doesn't support= integer keys in dictionaries, but we
=A0=A0=A0 >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 A mapping to Task objects i= n JSON form, or Noneassume they

It was triggered by hitting M-q with= the cursor just after the string
'they'.

I have encounte= red this bug before; I resolve the issue by quitting
Emacs and launching again.


In GNU Emacs 24.3.1 (x86_64-pc-linux-= gnu, GTK+ Version 3.8.2)
=A0of 2013-07-26 on roseapple, modified by Debi= an
Windowing system distributor `The X.Org Foundation', version 11.0= .11403000
System Description:=A0=A0=A0 Ubuntu 13.10

Configured using:
=A0`c= onfigure '--build' 'x86_64-linux-gnu' '--build' = 9;x86_64-linux-gnu'
=A0'--prefix=3D/usr' '--sharedstated= ir=3D/var/lib' '--libexecdir=3D/usr/lib'
=A0'--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info= 9;
=A0'--mandir=3D/usr/share/man' '--with-pop=3Dyes'
= =A0'--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/e= macs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/= site-lisp:/usr/share/emacs/site-lisp'
=A0'--with-crt-dir=3D/usr/lib/x86_64-linux-gnu' '--with-x=3Dyes= '
=A0'--with-x-toolkit=3Dgtk3' '--with-toolkit-scroll-ba= rs'
=A0'build_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-g -O2= -fstack-protector
=A0--param=3Dssp-buffer-size=3D4 -Wformat -Werror=3Dformat-security -Wall&#= 39;
=A0'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro'
=A0&= #39;CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2''

Important settings:=A0 value of $LANG: en_US.UTF-8
=A0 locale-coding-system: utf-8-unix
=A0 default enable-multibyte-charac= ters: t

Major mode: Python

Minor modes in effect:
=A0 show= -paren-mode: t
=A0 global-auto-complete-mode: t
=A0 auto-complete-mod= e: t
=A0 tooltip-mode: t
=A0 mouse-wheel-mode: t
=A0 file-name-shadow-mode= : t
=A0 global-font-lock-mode: t
=A0 font-lock-mode: t
=A0 blink-c= ursor-mode: t
=A0 auto-composition-mode: t
=A0 auto-encryption-mode: = t
=A0 auto-compression-mode: t
=A0 column-number-mode: t
=A0 line-number-mode: t
=A0 transient-mark-= mode: t

Recent input:
SPC ( k , SPC v ) SPC i n SPC s e l f . _ d= a t a .
t i e m s <backspace> <backspace> <backspace>= ; <backspace>
<backspace> i t m <backspace> e m s ( ) } C-SPC C-n
C-n C-n= C-w C-n C-SPC C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-l C-n C-n = C-n C-n C-n C-n C-n C-n C-n
C-n C-l C-n C-n C-n C-n C-n C-n C-n C-n C-n= C-n C-n
C-n C-n C-n C-l C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-l= C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-e C-w C-= l C-p C-n C-k
C-n C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f
C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-p
C-b C-b C-p C-p C-p= C-p C-p C-p C-p C-e <return> <return>
N o t e s <return= > - - - - - <return> <return> J S
O N SPC d o e s n '= ; t SPC s u p p o r t SPC i n t e
g e r SPC k e y s SPC i n SPC d i c t i o n a r i e
s , SPC b u t SPC w= e SPC a s s u m e SPC t h e y M-q
<tab> C-b C-b C-b C-b C-b C-b = C-b C-b C-b C-b C-b C-b
C-b C-b C-b C-b C-b C-/ C-/ M-q C-/ C-x C-s M-q= C-/
C-h k M-q q <backspace> C-x o q k M-q C-/ C-h k M-q
C-x o q <h= elp-echo> M-q C-/ M-q C-/ M-x r e p o <tab>
r <tab> <= return>

Recent messages:
Saving file /home/prsteele/Documents/= Development/task/task/task_list.py...
Wrote /home/prsteele/Documents/Development/task/task/task_list.py
Undo!<= br>Type "q" in help window to restore its previous buffer.
Aut= o-saving...done
Undo!
Type "q" in help window to restore it= s previous buffer.
Auto-saving...done
Undo! [2 times]
Making completion list...

L= oad-path shadows:
/home/prsteele/.emacs.d/elpa/color-theme-6.5.5/color-t= heme hides /usr/share/emacs24/site-lisp/emacs-goodies-el/color-theme
/usr/share/emacs/24.3/site-lisp/debian-startup hides /usr/share/emacs/site-= lisp/debian-startup
/usr/share/emacs24/site-lisp/dictionaries-common/fly= spell hides /usr/share/emacs/24.3/lisp/textmodes/flyspell
/usr/share/ema= cs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.3/lisp/= textmodes/ispell
/usr/share/emacs/24.3/lisp/emacs-lisp/ert hides /home/prsteele/.emacs.d/aut= o-complete/lib/ert/lisp/emacs-lisp/ert
/usr/share/emacs/24.3/lisp/emacs-= lisp/ert-x hides /home/prsteele/.emacs.d/auto-complete/lib/ert/lisp/emacs-l= isp/ert-x

Features:
(shadow sort mail-extr emacsbug message format-spec rfc822= mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev= gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils hel= p-mode
python rx comint ring ansi-color go-mode url url-proxy url-privacy
url-e= xpand url-methods url-history url-cookie url-domsuf url-util
mailcap ffa= p url-parse auth-source eieio byte-opt bytecomp byte-compile
cconv gnus-= util mm-util mail-prsvr password-cache url-vars thingatpt
find-func vc-git eldoc derived go-mode-load color-theme wid-edit paren
a= uto-complete-config auto-complete advice advice-preload popup edmacro
km= acro help-fns cl-macs gv cl cl-lib color-theme-autoloads
geiser-autoload= s info easymenu rust-mode-autoloads cm-mode-autoloads
sass-mode-autoloads haml-mode-autoloads finder-inf package
emacs-goodies= -el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode
time-date too= ltip 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 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
japanese he= brew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
mi= nibuffer loaddefs button faces cus-face macroexp files text-properties
o= verlay sha1 md5 base64 format env code-pages mule custom widget
hashtabl= e-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtkx-toolkit x multi-tty emacs)

--001a11c1fe52eee50804f2cf6473-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 09:15:12 2014 Received: (at 16821) by debbugs.gnu.org; 20 Feb 2014 14:15:12 +0000 Received: from localhost ([127.0.0.1]:33188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGUPA-00053j-8I for submit@debbugs.gnu.org; Thu, 20 Feb 2014 09:15:12 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:13915) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGUP8-00053V-MN for 16821@debbugs.gnu.org; Thu, 20 Feb 2014 09:15:10 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/o4/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IPAS-Result: Av4EABK/CFFLd/o4/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="48227910" Received: from 75-119-250-56.dsl.teksavvy.com (HELO pastel.home) ([75.119.250.56]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 20 Feb 2014 09:15:05 -0500 Received: by pastel.home (Postfix, from userid 20848) id EC2C2600EB; Thu, 20 Feb 2014 09:15:04 -0500 (EST) From: Stefan Monnier To: Patrick Steele Subject: Re: bug#16821: 24.3; fill-paragraph adds garbage text Message-ID: References: Date: Thu, 20 Feb 2014 09:15:04 -0500 In-Reply-To: (Patrick Steele's message of "Wed, 19 Feb 2014 21:01:12 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16821 Cc: 16821@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Executing M-q, bound to fill-paragraph, results in a wrapped paragraph > with extra text inserted. The extra text is generally something that has > been typed elsewhere in the buffer. The example that caused me to file > this report is as follows, where each line of the actual text is prefixed > with ' >' This is very weird indeed. I can't reproduce it here with your sample text, but I assume it's because your recipe is not complete. E.g. it doesn't say which major mode you're using. Can you reproduce the bug easily? If so, can you provide a detailed recipe? Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 09:55:53 2014 Received: (at submit) by debbugs.gnu.org; 20 Feb 2014 14:55:53 +0000 Received: from localhost ([127.0.0.1]:33280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGV2W-00068p-9g for submit@debbugs.gnu.org; Thu, 20 Feb 2014 09:55:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51777) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGV2R-00068Y-EO for submit@debbugs.gnu.org; Thu, 20 Feb 2014 09:55:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGV2C-0008U4-FO for submit@debbugs.gnu.org; Thu, 20 Feb 2014 09:55:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGV2C-0008U0-BR for submit@debbugs.gnu.org; Thu, 20 Feb 2014 09:55:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGV24-0005Zj-HQ for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 09:55:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGV1w-0008SI-RV for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 09:55:24 -0500 Received: from plane.gmane.org ([80.91.229.3]:59840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGV1w-0008Rs-Kh for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 09:55:16 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WGV1u-0003b1-NT for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 15:55:14 +0100 Received: from 70-59-41-30.hlrn.qwest.net ([70.59.41.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Feb 2014 15:55:14 +0100 Received: from kevin.d.rodgers by 70-59-41-30.hlrn.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Feb 2014 15:55:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Kevin Rodgers Subject: Re: bug#16821: 24.3; fill-paragraph adds garbage text Date: Thu, 20 Feb 2014 07:56:24 -0700 Lines: 41 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 70-59-41-30.hlrn.qwest.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) On 2/19/14 10:01 PM, Patrick Steele wrote: > (Apologies if this email was received twice) > > Executing M-q, bound to fill-paragraph, results in a wrapped paragraph > with extra text inserted. The extra text is generally something that has > been typed elsewhere in the buffer. The example that caused me to file > this report is as follows, where each line of the actual text is prefixed with ' >' > > ---- Original text ---- > > data : dict > > A mapping to Task objects in JSON form, or None. > > > > Notes > > ----- > > > > JSON doesn't support integer keys in dictionaries, but we assume they > > ---- Result ---- > > data : dict > > A mapping to Task objects in JSON form, or None. > > > > Notes > > ----- > > > > JSON doesn't support integer keys in dictionaries, but we > > A mapping to Task objects in JSON form, or Noneassume they > > It was triggered by hitting M-q with the cursor just after the string > 'they'. > > I have encountered this bug before; I resolve the issue by quitting > Emacs and launching again. I suspect you have inadvertently set fill-prefix (perhaps via `C-x .'), so check that with `C-h v' when it happens again. You can unset it with `C-a C-x .' -- Kevin Rodgers Denver, Colorado, USA From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 12:16:58 2014 Received: (at 16821) by debbugs.gnu.org; 20 Feb 2014 17:16:58 +0000 Received: from localhost ([127.0.0.1]:33865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGXF4-000264-0s for submit@debbugs.gnu.org; Thu, 20 Feb 2014 12:16:58 -0500 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:40071) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGXF1-00025v-J2 for 16821@debbugs.gnu.org; Thu, 20 Feb 2014 12:16:55 -0500 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 597C584B2C; Thu, 20 Feb 2014 12:16:55 -0500 (EST) Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id CBAC41E5913; Thu, 20 Feb 2014 12:16:31 -0500 (EST) Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id B0546B431A; Thu, 20 Feb 2014 12:16:31 -0500 (EST) From: Stefan Monnier To: Kevin Rodgers Subject: Re: bug#16821: 24.3; fill-paragraph adds garbage text Message-ID: References: Date: Thu, 20 Feb 2014 12:16:31 -0500 In-Reply-To: (Kevin Rodgers's message of "Thu, 20 Feb 2014 07:56:24 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-Spam-Status: No X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 16821 Cc: 16821@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) Hi Kevin, > I suspect you have inadvertently set fill-prefix (perhaps via `C-x .'), I think your crystal ball in on to something, indeed. That would definitely explain the behavior. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 26 08:36:38 2015 Received: (at control) by debbugs.gnu.org; 26 Dec 2015 13:36:38 +0000 Received: from localhost ([127.0.0.1]:37100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCp1R-00010K-Sd for submit@debbugs.gnu.org; Sat, 26 Dec 2015 08:36:38 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:44237) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCp1R-00010D-0F for control@debbugs.gnu.org; Sat, 26 Dec 2015 08:36:37 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCp15-0007eh-0r for control@debbugs.gnu.org; Sat, 26 Dec 2015 14:36:15 +0100 Date: Sat, 26 Dec 2015 14:36:14 +0100 Message-Id: <87fuyp2uy9.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #16821 X-MailScanner-ID: 1aCp15-0007eh-0r X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451741775.41683@RJSSZ+w9K0EpNLWmHM3I2Q X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) close 16821 From unknown Fri Aug 15 14:48:04 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, 24 Jan 2016 12:24:05 +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