From unknown Fri Aug 15 21:27:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21848: Bug in emacs: filling a certain region with (fill-region) causes a certain character to disapear Resent-From: Ruy Exel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Nov 2015 00:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21848@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144685554616553 (code B ref -1); Sat, 07 Nov 2015 00:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Nov 2015 00:19:06 +0000 Received: from localhost ([127.0.0.1]:56220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZurDS-0004ID-Sa for submit@debbugs.gnu.org; Fri, 06 Nov 2015 19:19:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43583) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zuq6S-0002PA-Bv for submit@debbugs.gnu.org; Fri, 06 Nov 2015 18:07:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zuq6Q-0001hw-S1 for submit@debbugs.gnu.org; Fri, 06 Nov 2015 18:07:28 -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, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zuq6Q-0001hs-Oj for submit@debbugs.gnu.org; Fri, 06 Nov 2015 18:07:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zuq6O-0000qq-P3 for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2015 18:07:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zuq6N-0001gk-Ao for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2015 18:07:24 -0500 Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:35535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zuq6N-0001ge-4i for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2015 18:07:23 -0500 Received: by obctp1 with SMTP id tp1so104115278obc.2 for ; Fri, 06 Nov 2015 15:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=/4FdETU676tccsk3Lo9Nr6oWkV7+jPZHblUUn4rxT2c=; b=GqJNHq1NCY0Y04XlRZq7lULhaXPhCvG0RNw3TtQt4hh3/M7MW8kOugBgLshatORAIH 04Uc2R+ke4IJAvRvy8F5mkom4dDU0Mm/g4nndHJ6coH26jJ5Y6lbgC8NEgdu4FKWjrzw QGI1oPmrCTkwONRvG6bM/4uWUm8WYwnnBuhP9CG5tWSw7XDAOzbaCbb51DnPmlvnS+vL eiEAYQ5/ym8GHQuS6+m7PEgjFuoo3znInyLoo6Ma4KClSR1dtyeu/v7n4pIRGQJ9UBJp fA+I29HGzOKuqDEa5b+eKdWekBU0brsTXH0rvxNXQf07Vw7OyK+yiCUtsg+MuNWR6NtM DP+A== X-Received: by 10.60.42.97 with SMTP id n1mr9942256oel.10.1446851242228; Fri, 06 Nov 2015 15:07:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.3.100 with HTTP; Fri, 6 Nov 2015 15:06:42 -0800 (PST) From: Ruy Exel Date: Fri, 6 Nov 2015 21:06:42 -0200 Message-ID: Content-Type: multipart/mixed; boundary=089e014951fa566bd80523e74ede 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-Mailman-Approved-At: Fri, 06 Nov 2015 19:18:45 -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 (----) --089e014951fa566bd80523e74ede Content-Type: text/plain; charset=UTF-8 Hi Folks, Sorry I cannot send e-mail from Emacs but I have tried to adhere to the message it generated as best as I could. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': 1) Load the attached text file (bug-in-gnu-emacs.txt) 2) Mark a region consisting of the first two lines, namely | a | | a 3) Observe that these two lines contain *three* vertical bars 4) Run the command "ESC-x fill-region" 5) Observe that thare are only *two* vertical bars now! I also tested this in a much more recent Emacs build: GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian In GNU Emacs 23.4.1 (i686-pc-linux-gnu, GTK+ Version 2.24.21) of 2013-10-25 on akateko, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11501000 configured using `configure '--build' 'i686-linux-gnu' '--build' 'i686-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/emacs23:/etc/emacs:/usr/local/share/emacs/23.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.4/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i686-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DDEBIAN -O2' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: value of $LC_COLLATE: C value of $LC_CTYPE: en_US.utf8 value of $LC_MESSAGES: en_US.utf8 value of $LC_MONETARY: en_US.utf8 value of $LC_NUMERIC: en_US.utf8 value of $LC_TIME: en_US.utf8 value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Text Minor modes in effect: display-time-mode: t shell-dirtrack-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-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Load-path shadows: /usr/share/emacs/23.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs23/site-lisp/flim/sha1 hides /usr/share/emacs/23.4/lisp/sha1 /usr/share/emacs23/site-lisp/flim/hex-util hides /usr/share/emacs/23.4/lisp/hex-util /usr/share/emacs23/site-lisp/flim/md4 hides /usr/share/emacs/23.4/lisp/md4 /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.4/lisp/textmodes/flyspell /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.4/lisp/textmodes/ispell /usr/share/emacs23/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.4/lisp/net/hmac-md5 /usr/share/emacs23/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.4/lisp/net/sasl-ntlm /usr/share/emacs23/site-lisp/flim/hmac-def hides /usr/share/emacs/23.4/lisp/net/hmac-def /usr/share/emacs23/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.4/lisp/net/sasl-digest /usr/share/emacs23/site-lisp/flim/ntlm hides /usr/share/emacs/23.4/lisp/net/ntlm /usr/share/emacs23/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.4/lisp/net/sasl-cram /usr/share/emacs23/site-lisp/flim/sasl hides /usr/share/emacs/23.4/lisp/net/sasl /usr/share/emacs23/site-lisp/wl/rfc2368 hides /usr/share/emacs/23.4/lisp/mail/rfc2368 /usr/share/emacs23/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/23.4/lisp/language/thai-word Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 sha1-el hex-util hashcash mail-utils emacsbug debug etags latexenc dired-x face-remap cc-awk cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs dired-aux tabify man assoc help-fns newcomment tex-mode compile descr-text skeleton help-mode view multi-isearch dabbrev ansi-color compare-w sh-script executable easy-mmode time cus-edit easymenu cus-start cus-load wid-edit iso-transl cl cl-19 edmacro kmacro shell comint ring dired regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) --089e014951fa566bd80523e74ede Content-Type: text/plain; charset=US-ASCII; name="bug-in-gnu-emacs.txt" Content-Disposition: attachment; filename="bug-in-gnu-emacs.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_igo9ucpe0 fCBhIHwKfCBhCgpIb3cgbWFueSB2ZXJ0aWNhbCBiYXJzIGRvIHlvdSBzZWUgYWJvdmU/ICBUaHJl ZSwgZm9yIHN1cmUhICBOb3cgcnVuCnRoZSBmb2xsb3dpbmcgY29tbWFuZHMgKHRoYXQgaXMsIHB1 dCB0aGUgY3Vyc29yIHdoZXJlIGluZGljYXRlZCBiZWxvdwphbmQgcHJlc3MgIkNvbnRyb2wtWCBD b250cm9sLUUiKToKCihwcm9nbgogIChnb3RvLWNoYXIgMSkKICAoc2V0LW1hcmstY29tbWFuZCBu aWwpCiAgKGZvcndhcmQtbGluZSAyKQogIChmaWxsLXJlZ2lvbiAocmVnaW9uLWJlZ2lubmluZykg KHJlZ2lvbi1lbmQpKQogICkgICAgICAgICAgICAgICAgICAgIDwtLSBQVVQgQ1VSU09SIFJJR0hU IEFGVEVSIFRISVMgQ0xPU0lORyBQQVJFTlRIRVNJUyBBTkQgUFJFU1MgIkNvbnRyb2wtWCBDb250 cm9sLUUKCk5vdyB5b3Ugc2VlIG9ubHkgKnR3byogdmVydGljYWwgYmFycyEgIFdoZXJlIGRpZCB0 aGUgdGhpcmQgb25lIGdvPwoKVGVzdGVkIG9uCgpHTlUgRW1hY3MgMjMuNC4xIChpNjg2LXBjLWxp bnV4LWdudSwgR1RLKyBWZXJzaW9uIDIuMjQuMjEpIG9mIDIwMTMtMTAtMjUgb24gYWthdGVrbywg bW9kaWZpZWQgYnkgRGViaWFuCkdOVSBFbWFjcyAyNC40LjEgKHg4Nl82NC1wYy1saW51eC1nbnUs IEdUSysgVmVyc2lvbiAzLjE0LjUpIG9mIDIwMTUtMDMtMDcgb24gdHJvdWJsZSwgbW9kaWZpZWQg YnkgRGViaWFuCgoKCgo= --089e014951fa566bd80523e74ede-- From unknown Fri Aug 15 21:27:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21848: Bug in emacs: filling a certain region with (fill-region) causes a certain character to disapear Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Nov 2015 05:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ruy Exel Cc: 21848@debbugs.gnu.org Received: via spool by 21848-submit@debbugs.gnu.org id=B21848.144687362819288 (code B ref 21848); Sat, 07 Nov 2015 05:21:01 +0000 Received: (at 21848) by debbugs.gnu.org; 7 Nov 2015 05:20:28 +0000 Received: from localhost ([127.0.0.1]:56337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZuvvQ-000512-6s for submit@debbugs.gnu.org; Sat, 07 Nov 2015 00:20:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49152) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZuvvO-00050v-GF for 21848@debbugs.gnu.org; Sat, 07 Nov 2015 00:20:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZuvvN-0000M8-Nn for 21848@debbugs.gnu.org; Sat, 07 Nov 2015 00:20:26 -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,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuvvM-0000Lw-DK; Sat, 07 Nov 2015 00:20:24 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZuvvK-0007n1-Gl; Sat, 07 Nov 2015 00:20:22 -0500 From: Glenn Morris References: X-Spook: Recruitment Cartel de Golfo warfare CDMA Disaster medical X-Ran: LJinY|?zLI\iJDer*_)V@w@!=AB7@c5R\BcAI?ye,YtZx-)7H6yu|A%Rz}fL;k`8bJC)05 X-Hue: magenta X-Attribution: GM Date: Sat, 07 Nov 2015 00:20:22 -0500 In-Reply-To: (Ruy Exel's message of "Fri, 6 Nov 2015 21:06:42 -0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Ruy Exel wrote: > 2) Mark a region consisting of the first two lines, namely > > | a | > | a > > 3) Observe that these two lines contain *three* vertical bars > 4) Run the command "ESC-x fill-region" > 5) Observe that thare are only *two* vertical bars now! This is not a bug, but rather "adaptive filling" behaving as designed. Compare the result if you first: (setq adaptive-fill-mode nil). From unknown Fri Aug 15 21:27:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21848: Bug in emacs: filling a certain region with (fill-region) causes a certain character to disapear Resent-From: Ruy Exel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Nov 2015 15:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: 21848@debbugs.gnu.org Received: via spool by 21848-submit@debbugs.gnu.org id=B21848.144690885115020 (code B ref 21848); Sat, 07 Nov 2015 15:08:01 +0000 Received: (at 21848) by debbugs.gnu.org; 7 Nov 2015 15:07:31 +0000 Received: from localhost ([127.0.0.1]:56969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zv55X-0003uB-4h for submit@debbugs.gnu.org; Sat, 07 Nov 2015 10:07:31 -0500 Received: from mail-oi0-f48.google.com ([209.85.218.48]:33798) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zv55C-0003tb-Hj for 21848@debbugs.gnu.org; Sat, 07 Nov 2015 10:07:28 -0500 Received: by oies6 with SMTP id s6so38076102oie.1 for <21848@debbugs.gnu.org>; Sat, 07 Nov 2015 07:07:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=V+Ozr4ENYgtqmQxqrKWZUgHGnl0Mn9yrLvmr7EeEP5g=; b=iUD5UhgJ8AVfA6begyDBeajRpxvKL9s1NwyUNHkANCFzK5whkUQ4X3u0nNw9mBlNdP Y2x5W/coFVtY6E5AuLEivqJ6ADRb7v2w/Ow+e9fGShtjXDVCaAgTkLPq9/NEgpEgZ270 hkoa7SLiAzwa9R0aQ9vAEVf/TkwMmUfGDWcz4Pl4N7CWMnjFCosSecYPbyKZpqf4bsoJ F6kqz9T/HoTcDMYJGxdys0Lj3fk3P+kdSKbP4KUFCENu1gBZn/qoPHZpqV3Dx7vs3lMj XuLRYlXJnpFRsgJze2M946gyJpLilSxtoOShUCrCrVffzg2EV7DmSkGGbKj5GBGS5hOp sSPQ== X-Received: by 10.202.53.195 with SMTP id c186mr11079457oia.43.1446908829867; Sat, 07 Nov 2015 07:07:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.3.100 with HTTP; Sat, 7 Nov 2015 07:06:30 -0800 (PST) In-Reply-To: References: From: Ruy Exel Date: Sat, 7 Nov 2015 13:06:30 -0200 Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) 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.7 (/) Hi Glenn, Thanks for your reply. The great thing abour Emacs is that, even if you've been using it almost daily for the past 25 years, there is always a lot to learn! Best, Ruy On Sat, Nov 7, 2015 at 3:20 AM, Glenn Morris wrote: > Ruy Exel wrote: > >> 2) Mark a region consisting of the first two lines, namely >> >> | a | >> | a >> >> 3) Observe that these two lines contain *three* vertical bars >> 4) Run the command "ESC-x fill-region" >> 5) Observe that thare are only *two* vertical bars now! > > > This is not a bug, but rather "adaptive filling" behaving as designed. > Compare the result if you first: (setq adaptive-fill-mode nil). From unknown Fri Aug 15 21:27:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ruy Exel Subject: bug#21848: closed (Re: bug#21848: Bug in emacs: filling a certain region with (fill-region) causes a certain character to disapear) Message-ID: References: X-Gnu-PR-Message: they-closed 21848 X-Gnu-PR-Package: emacs Reply-To: 21848@debbugs.gnu.org Date: Sun, 08 Nov 2015 00:25:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1446942303-8403-1" This is a multi-part message in MIME format... ------------=_1446942303-8403-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #21848: Bug in emacs: filling a certain region with (fill-region) causes a = certain character to disapear which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 21848@debbugs.gnu.org. --=20 21848: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21848 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1446942303-8403-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 21848-done) by debbugs.gnu.org; 8 Nov 2015 00:24:49 +0000 Received: from localhost ([127.0.0.1]:57154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZvDmr-0002B6-EE for submit@debbugs.gnu.org; Sat, 07 Nov 2015 19:24:49 -0500 Received: from mail-ig0-f176.google.com ([209.85.213.176]:38267) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZvDmW-0002AW-22 for 21848-done@debbugs.gnu.org; Sat, 07 Nov 2015 19:24:46 -0500 Received: by igbxm8 with SMTP id xm8so32884892igb.1 for <21848-done@debbugs.gnu.org>; Sat, 07 Nov 2015 16:24:27 -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=lHZ9a+XiV5epK7xMYM6DNSvfPlei7cSv9nKUpTAkcrw=; b=bP3qOonk51UTpKvcsAmNTwyTVMBmCJYIaF/P6o3u9tLSCpSLehTFy59okLI+jg+xOm k/J9hbb+icbaUGiRY6TyI/kWtmYrMFHS6QcMHhzbMp5Bym0BlRrVJ+a5nej0TUMGncSx UArqc3VQQeMDs2/2XaGbqmE2jubij9/Khs5ZgGk5jNED0At7G3xjVbFUaXLi0jTrvmzD ldC06hhFvGIfxfhLckhg2Ala6WmMyufHb8dhG+mBrigN0Mh9WOeLIocLkQmI54oQNZW5 6dmWOyhTQCNJU6x8Sc2cImmEbRoN6N9BSG48r/Q3TDerU2HWC9B8B9UWrhN1XOsE45Ek tvxQ== MIME-Version: 1.0 X-Received: by 10.50.117.65 with SMTP id kc1mr16016347igb.4.1446942267401; Sat, 07 Nov 2015 16:24:27 -0800 (PST) Received: by 10.79.94.2 with HTTP; Sat, 7 Nov 2015 16:24:27 -0800 (PST) Date: Sun, 8 Nov 2015 08:24:27 +0800 Message-ID: Subject: Re: bug#21848: Bug in emacs: filling a certain region with (fill-region) causes a certain character to disapear From: Xue Fuqiao To: 21848-done@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21848-done 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.7 (/) Closing. ------------=_1446942303-8403-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Nov 2015 00:19:06 +0000 Received: from localhost ([127.0.0.1]:56220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZurDS-0004ID-Sa for submit@debbugs.gnu.org; Fri, 06 Nov 2015 19:19:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43583) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zuq6S-0002PA-Bv for submit@debbugs.gnu.org; Fri, 06 Nov 2015 18:07:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zuq6Q-0001hw-S1 for submit@debbugs.gnu.org; Fri, 06 Nov 2015 18:07:28 -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, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zuq6Q-0001hs-Oj for submit@debbugs.gnu.org; Fri, 06 Nov 2015 18:07:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zuq6O-0000qq-P3 for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2015 18:07:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zuq6N-0001gk-Ao for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2015 18:07:24 -0500 Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:35535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zuq6N-0001ge-4i for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2015 18:07:23 -0500 Received: by obctp1 with SMTP id tp1so104115278obc.2 for ; Fri, 06 Nov 2015 15:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=/4FdETU676tccsk3Lo9Nr6oWkV7+jPZHblUUn4rxT2c=; b=GqJNHq1NCY0Y04XlRZq7lULhaXPhCvG0RNw3TtQt4hh3/M7MW8kOugBgLshatORAIH 04Uc2R+ke4IJAvRvy8F5mkom4dDU0Mm/g4nndHJ6coH26jJ5Y6lbgC8NEgdu4FKWjrzw QGI1oPmrCTkwONRvG6bM/4uWUm8WYwnnBuhP9CG5tWSw7XDAOzbaCbb51DnPmlvnS+vL eiEAYQ5/ym8GHQuS6+m7PEgjFuoo3znInyLoo6Ma4KClSR1dtyeu/v7n4pIRGQJ9UBJp fA+I29HGzOKuqDEa5b+eKdWekBU0brsTXH0rvxNXQf07Vw7OyK+yiCUtsg+MuNWR6NtM DP+A== X-Received: by 10.60.42.97 with SMTP id n1mr9942256oel.10.1446851242228; Fri, 06 Nov 2015 15:07:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.3.100 with HTTP; Fri, 6 Nov 2015 15:06:42 -0800 (PST) From: Ruy Exel Date: Fri, 6 Nov 2015 21:06:42 -0200 Message-ID: Subject: Bug in emacs: filling a certain region with (fill-region) causes a certain character to disapear To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary=089e014951fa566bd80523e74ede 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: Fri, 06 Nov 2015 19:18:45 -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 (----) --089e014951fa566bd80523e74ede Content-Type: text/plain; charset=UTF-8 Hi Folks, Sorry I cannot send e-mail from Emacs but I have tried to adhere to the message it generated as best as I could. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': 1) Load the attached text file (bug-in-gnu-emacs.txt) 2) Mark a region consisting of the first two lines, namely | a | | a 3) Observe that these two lines contain *three* vertical bars 4) Run the command "ESC-x fill-region" 5) Observe that thare are only *two* vertical bars now! I also tested this in a much more recent Emacs build: GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian In GNU Emacs 23.4.1 (i686-pc-linux-gnu, GTK+ Version 2.24.21) of 2013-10-25 on akateko, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11501000 configured using `configure '--build' 'i686-linux-gnu' '--build' 'i686-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/emacs23:/etc/emacs:/usr/local/share/emacs/23.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.4/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i686-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DDEBIAN -O2' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: value of $LC_COLLATE: C value of $LC_CTYPE: en_US.utf8 value of $LC_MESSAGES: en_US.utf8 value of $LC_MONETARY: en_US.utf8 value of $LC_NUMERIC: en_US.utf8 value of $LC_TIME: en_US.utf8 value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Text Minor modes in effect: display-time-mode: t shell-dirtrack-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-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Load-path shadows: /usr/share/emacs/23.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs23/site-lisp/flim/sha1 hides /usr/share/emacs/23.4/lisp/sha1 /usr/share/emacs23/site-lisp/flim/hex-util hides /usr/share/emacs/23.4/lisp/hex-util /usr/share/emacs23/site-lisp/flim/md4 hides /usr/share/emacs/23.4/lisp/md4 /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.4/lisp/textmodes/flyspell /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.4/lisp/textmodes/ispell /usr/share/emacs23/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.4/lisp/net/hmac-md5 /usr/share/emacs23/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.4/lisp/net/sasl-ntlm /usr/share/emacs23/site-lisp/flim/hmac-def hides /usr/share/emacs/23.4/lisp/net/hmac-def /usr/share/emacs23/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.4/lisp/net/sasl-digest /usr/share/emacs23/site-lisp/flim/ntlm hides /usr/share/emacs/23.4/lisp/net/ntlm /usr/share/emacs23/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.4/lisp/net/sasl-cram /usr/share/emacs23/site-lisp/flim/sasl hides /usr/share/emacs/23.4/lisp/net/sasl /usr/share/emacs23/site-lisp/wl/rfc2368 hides /usr/share/emacs/23.4/lisp/mail/rfc2368 /usr/share/emacs23/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/23.4/lisp/language/thai-word Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 sha1-el hex-util hashcash mail-utils emacsbug debug etags latexenc dired-x face-remap cc-awk cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs dired-aux tabify man assoc help-fns newcomment tex-mode compile descr-text skeleton help-mode view multi-isearch dabbrev ansi-color compare-w sh-script executable easy-mmode time cus-edit easymenu cus-start cus-load wid-edit iso-transl cl cl-19 edmacro kmacro shell comint ring dired regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) --089e014951fa566bd80523e74ede Content-Type: text/plain; charset=US-ASCII; name="bug-in-gnu-emacs.txt" Content-Disposition: attachment; filename="bug-in-gnu-emacs.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_igo9ucpe0 fCBhIHwKfCBhCgpIb3cgbWFueSB2ZXJ0aWNhbCBiYXJzIGRvIHlvdSBzZWUgYWJvdmU/ICBUaHJl ZSwgZm9yIHN1cmUhICBOb3cgcnVuCnRoZSBmb2xsb3dpbmcgY29tbWFuZHMgKHRoYXQgaXMsIHB1 dCB0aGUgY3Vyc29yIHdoZXJlIGluZGljYXRlZCBiZWxvdwphbmQgcHJlc3MgIkNvbnRyb2wtWCBD b250cm9sLUUiKToKCihwcm9nbgogIChnb3RvLWNoYXIgMSkKICAoc2V0LW1hcmstY29tbWFuZCBu aWwpCiAgKGZvcndhcmQtbGluZSAyKQogIChmaWxsLXJlZ2lvbiAocmVnaW9uLWJlZ2lubmluZykg KHJlZ2lvbi1lbmQpKQogICkgICAgICAgICAgICAgICAgICAgIDwtLSBQVVQgQ1VSU09SIFJJR0hU IEFGVEVSIFRISVMgQ0xPU0lORyBQQVJFTlRIRVNJUyBBTkQgUFJFU1MgIkNvbnRyb2wtWCBDb250 cm9sLUUKCk5vdyB5b3Ugc2VlIG9ubHkgKnR3byogdmVydGljYWwgYmFycyEgIFdoZXJlIGRpZCB0 aGUgdGhpcmQgb25lIGdvPwoKVGVzdGVkIG9uCgpHTlUgRW1hY3MgMjMuNC4xIChpNjg2LXBjLWxp bnV4LWdudSwgR1RLKyBWZXJzaW9uIDIuMjQuMjEpIG9mIDIwMTMtMTAtMjUgb24gYWthdGVrbywg bW9kaWZpZWQgYnkgRGViaWFuCkdOVSBFbWFjcyAyNC40LjEgKHg4Nl82NC1wYy1saW51eC1nbnUs IEdUSysgVmVyc2lvbiAzLjE0LjUpIG9mIDIwMTUtMDMtMDcgb24gdHJvdWJsZSwgbW9kaWZpZWQg YnkgRGViaWFuCgoKCgo= --089e014951fa566bd80523e74ede-- ------------=_1446942303-8403-1--