From unknown Sat Aug 09 13:21:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph Resent-From: David Klein Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2020 08:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45116 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45116@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160741586016150 (code B ref -1); Tue, 08 Dec 2020 08:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Dec 2020 08:24:20 +0000 Received: from localhost ([127.0.0.1]:56491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmYIF-0004CP-KO for submit@debbugs.gnu.org; Tue, 08 Dec 2020 03:24:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:53344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmYB6-000413-M2 for submit@debbugs.gnu.org; Tue, 08 Dec 2020 03:16:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmYB6-0002AN-Ef for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 03:16:56 -0500 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:41977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmYB4-0001KP-Ff for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 03:16:56 -0500 Received: by mail-lf1-x12e.google.com with SMTP id r24so21841156lfm.8 for ; Tue, 08 Dec 2020 00:16:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=JrgfPuqd4DMeBcajMa7N9/wwnGqfaUCM4Shs9idzkiw=; b=K7Y+Z3jj+7QKmrKW9K4itE1GzOW3uz6aXaZHnStM/XiEgKQiHZRT58diGVb4UlvP9O LUAngaUiMI7w2lWc/hy/jUt5gliXsKmFZPprALlDcphlmZySE9NLRPjuwuy84y9KUdM4 1HtcVZ5pff/asUGUKQ8Ecy1al1AAmEi1nWVjgmoSAYvAFyTw7OUKezCXxTPZxFCYqAqa VlK7p3k2Ddylx11o4PIcsIcPcZp3tH4IsrJKnWRykVkzw4B5a7pl3aWfrf+v+JEZAz60 OBxRgSNG5hyqg0WstS2rAcIqpK9rcIOCPJIBMxke7pf4l+pWJUsCsAacNx78XKs50/4r EVHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JrgfPuqd4DMeBcajMa7N9/wwnGqfaUCM4Shs9idzkiw=; b=B61hYrZmz7fAmH4qD0zPjO7LyVlczxcmb3/1u2F2yHCoseBKdoeIBXazI1QSwfCKSj nvNUfMYIREAFBdSO5ehU0DYAk5FuXPvMapNMFuGeIi+Fr0iiLlOnaf7z/kEHX2x94S6t mG0rAl1yf5sBOf5rhuw39qYG/aoMuPZAGkDn3CUJTNGBqGuCVBxS8wCkW3+QGOForaqv n14gT0shLpO6y3ekfrDxIfvA1ASI8ZGJ5enLL02x1bv8faSeuAneuRW7Q270OLfNBrxb mpHGZ9uSuzTf8kWo1vqB1JeLgjaiAM5XSiwjCrDSEsJo04fsv00lpIB85jLDBPM/HKfh 3u/A== X-Gm-Message-State: AOAM53082+HzrLhgQ4aLsSY6cZAtaN85yJaQIJEmihUR8S6SW219bTW+ x67xCCEGfJYObNDrHEoeWn9B19+lGNDEADqBMFrS37IQc7ZE7g== X-Google-Smtp-Source: ABdhPJx2LZfyaw/O1tNhZlppvHJSLpYxopnHCCzN5QVjwFokUI1ACDwM45oaAuMRleOpqzS3m4Yui7jJ05DREgE3g3k= X-Received: by 2002:a05:6512:1092:: with SMTP id j18mr3881535lfg.337.1607415411447; Tue, 08 Dec 2020 00:16:51 -0800 (PST) MIME-Version: 1.0 From: David Klein Date: Tue, 8 Dec 2020 10:16:40 +0200 Message-ID: Content-Type: multipart/alternative; boundary="0000000000009b1af105b5ef9020" Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=dklein0@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Mailman-Approved-At: Tue, 08 Dec 2020 03:24:18 -0500 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: -2.1 (--) --0000000000009b1af105b5ef9020 Content-Type: text/plain; charset="UTF-8" --text follows this line-- runemacs.exe -Q (setq auto-mode-alist (cons '("\\.latex$" . latex-mode) auto-mode-alist))^X^E (add-hook 'latex-mode-hook 'refill-mode)^X^E ^X^F junk.latex Type in a few random lines interspersed with empty lines Go back to the end of a line that is followed by an empty line and type a space (or several). No space gets inserted. Non whitespace inserts correctly. In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 built on CIRROCUMULUS Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor 'Microsoft Corp.', version 10.0.19041 Recent messages: Checking 34 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/emulation... Checking 176 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/emacs-lisp... Checking 24 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/cedet... Checking 57 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/calendar... Checking 87 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/calc... Checking 105 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/obsolete... Checking for load-path shadows...done Mark set Saved text from "From: david@DAVID-PC10.i-did-not-set--ma" Making completion list... Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: LaTeX Minor modes in effect: refill-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-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 Load-path shadows: None found. Features: (help-mode pp shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils refill easy-mmode tex-mode compile shell pcomplete comint ansi-color ring elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded 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 threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 111645 12010) (symbols 48 21266 1) (miscs 40 65 262) (strings 32 33582 1324) (string-bytes 1 893823) (vectors 16 16065) (vector-slots 8 514669 13810) (floats 8 61 267) (intervals 56 379 30) (buffers 992 14)) --0000000000009b1af105b5ef9020 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
--text follows this line--

runemacs.exe -Q
(setq= auto-mode-alist
=C2=A0 =C2=A0 =C2=A0 (cons '("\\.latex$" = . latex-mode) auto-mode-alist))^X^E
(add-hook 'latex-mode-hook '= refill-mode)^X^E
^X^F junk.latex
Type in a few random lines intersper= sed with empty lines
Go back to the end of a line that is followed by an= empty line and type
a space (or several). No space gets inserted. Non w= hitespace inserts correctly.



In GNU Emacs 26.3 (build 1, x86= _64-w64-mingw32)
=C2=A0of 2019-08-29 built on CIRROCUMULUS
Repository= revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system dis= tributor 'Microsoft Corp.', version 10.0.19041
Recent messages:<= br>Checking 34 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/emulatio= n...
Checking 176 files in c:/emacs-26.3-x86_64/share/emacs/26.3/lisp/em= acs-lisp...
Checking 24 files in c:/emacs-26.3-x86_64/share/emacs/26.3/l= isp/cedet...
Checking 57 files in c:/emacs-26.3-x86_64/share/emacs/26.3/= lisp/calendar...
Checking 87 files in c:/emacs-26.3-x86_64/share/emacs/2= 6.3/lisp/calc...
Checking 105 files in c:/emacs-26.3-x86_64/share/emacs/= 26.3/lisp/obsolete...
Checking for load-path shadows...done
Mark set<= br>Saved text from "From: david@DAVID-PC10.i-did-not-set--ma"
= Making completion list...

Configured using:
=C2=A0'configure = --without-dbus --host=3Dx86_64-w64-mingw32
=C2=A0--without-compress-inst= all 'CFLAGS=3D-O2 -static -g3''

Configured features:
= XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_= SCROLL_BARS THREADS LCMS2

Important settings:
=C2=A0 value of $LA= NG: ENU
=C2=A0 locale-coding-system: cp1252

Major mode: LaTeX
=
Minor modes in effect:
=C2=A0 refill-mode: t
=C2=A0 shell-dirtrac= k-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2= =A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-ba= r-mode: t
=C2=A0 menu-bar-mode: 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-encryptio= n-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t<= br>=C2=A0 transient-mark-mode: t

Load-path shadows:
None found.
Features:
(help-mode pp shadow sort mail-extr emacsbug message rmc= puny seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dir= ed
dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache=
epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode
= mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
s= endmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils refill
= easy-mmode tex-mode compile shell pcomplete comint ansi-color ring
elec-= pair time-date mule-util tooltip eldoc electric uniquify ediff-hook
vc-h= ooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win
w32-= win w32-vars term/common-win tool-bar dnd fontset image regexp-opt
fring= e tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-= mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar = mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame= cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai t= ai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slova= k czech european ethiopic indian cyrillic
chinese composite charscript c= harprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray min= ibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp fil= es text-properties overlay sha1 md5
base64 format env code-pages mule cu= stom widget hashtable-print-readable
backquote threads w32notify w32 lcm= s2 multi-tty make-network-process
emacs)

Memory information:
(= (conses 16 111645 12010)
=C2=A0(symbols 48 21266 1)
=C2=A0(miscs 40 6= 5 262)
=C2=A0(strings 32 33582 1324)
=C2=A0(string-bytes 1 893823)=C2=A0(vectors 16 16065)
=C2=A0(vector-slots 8 514669 13810)
=C2=A0(= floats 8 61 267)
=C2=A0(intervals 56 379 30)
=C2=A0(buffers 992 14))<= br>
--0000000000009b1af105b5ef9020-- From unknown Sat Aug 09 13:21:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2020 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45116 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David Klein Cc: 45116@debbugs.gnu.org Received: via spool by 45116-submit@debbugs.gnu.org id=B45116.16074409118962 (code B ref 45116); Tue, 08 Dec 2020 15:22:02 +0000 Received: (at 45116) by debbugs.gnu.org; 8 Dec 2020 15:21:51 +0000 Received: from localhost ([127.0.0.1]:59202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmeoJ-0002KU-0P for submit@debbugs.gnu.org; Tue, 08 Dec 2020 10:21:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmeoH-0002KF-Do for 45116@debbugs.gnu.org; Tue, 08 Dec 2020 10:21:49 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52130) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmeoC-0001xr-7B; Tue, 08 Dec 2020 10:21:44 -0500 Received: from [176.228.60.248] (port=4870 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kmeoB-00067P-Mg; Tue, 08 Dec 2020 10:21:44 -0500 Date: Tue, 08 Dec 2020 17:21:37 +0200 Message-Id: <83r1o0727y.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from David Klein on Tue, 8 Dec 2020 10:16:40 +0200) References: X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: David Klein > Date: Tue, 8 Dec 2020 10:16:40 +0200 > > runemacs.exe -Q > (setq auto-mode-alist > (cons '("\\.latex$" . latex-mode) auto-mode-alist))^X^E > (add-hook 'latex-mode-hook 'refill-mode)^X^E > ^X^F junk.latex > Type in a few random lines interspersed with empty lines > Go back to the end of a line that is followed by an empty line and type > a space (or several). No space gets inserted. Non whitespace inserts correctly. Isn't that expected,, given that the doc string of this mode says: When enabled, the current paragraph is refilled as you edit. Self-inserting characters only cause refilling if they would cause auto-filling. "Refilled as you edit means excess whitespace is removed, no? From unknown Sat Aug 09 13:21:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2020 17:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45116 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David Klein Cc: 45116@debbugs.gnu.org Received: via spool by 45116-submit@debbugs.gnu.org id=B45116.16074483545730 (code B ref 45116); Tue, 08 Dec 2020 17:26:02 +0000 Received: (at 45116) by debbugs.gnu.org; 8 Dec 2020 17:25:54 +0000 Received: from localhost ([127.0.0.1]:59518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmgkL-0001UM-UB for submit@debbugs.gnu.org; Tue, 08 Dec 2020 12:25:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmgkK-0001Tu-4O for 45116@debbugs.gnu.org; Tue, 08 Dec 2020 12:25:52 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55049) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmgkE-0000n5-So; Tue, 08 Dec 2020 12:25:46 -0500 Received: from [176.228.60.248] (port=4592 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kmgk9-00087u-5d; Tue, 08 Dec 2020 12:25:45 -0500 Date: Tue, 08 Dec 2020 19:25:34 +0200 Message-Id: <83wnxs5hwx.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from David Klein on Tue, 8 Dec 2020 19:13:33 +0200) References: <83r1o0727y.fsf@gnu.org> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: David Klein > Date: Tue, 8 Dec 2020 19:13:33 +0200 > Cc: 45116@debbugs.gnu.org > > If I typed in the text > > "The quick brown > > jumped > > over > " > > and then went up to the end of the first line and type the characters > '[space]' 'H' 'e' 'l' 'l' 'o' > > I get > > "The quick brownHello" > > instead of > > "The quick brown Hello" > > i.e. zero spaces instead of one. Only excess whitespace should be removed > and the first space isn't excess. What logic would you suggest to implement to decide that this space is it not excess? From unknown Sat Aug 09 13:21:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph Resent-From: David Klein Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2020 17:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45116 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 45116@debbugs.gnu.org Received: via spool by 45116-submit@debbugs.gnu.org id=B45116.160744886214675 (code B ref 45116); Tue, 08 Dec 2020 17:35:02 +0000 Received: (at 45116) by debbugs.gnu.org; 8 Dec 2020 17:34:22 +0000 Received: from localhost ([127.0.0.1]:59536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmgsY-0003od-0y for submit@debbugs.gnu.org; Tue, 08 Dec 2020 12:34:22 -0500 Received: from mail-lj1-f171.google.com ([209.85.208.171]:44506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmgYh-0007V2-UU for 45116@debbugs.gnu.org; Tue, 08 Dec 2020 12:13:54 -0500 Received: by mail-lj1-f171.google.com with SMTP id m13so4540181ljo.11 for <45116@debbugs.gnu.org>; Tue, 08 Dec 2020 09:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9ZTCJnD9B6bxWymsjrvOGm8Ow+FUh2KiHqkmUgaZ7Nk=; b=aTbch29LswOxqd0YkXmFnQj2ApESKUgVhMnOjkOZHTEoyR5tEFPHiz8gI6g46HeB+U +SGH2tfkHGZ4Xdhc/Olc4clbXbphGZ2jTrUOeqchjLjOsNU4G+1o79hitj72kNrpQlR/ JGs7VA6+XlB/75o97f9j4E5kgICiPIUCx8Ed3QvdXiVk5XFPFXvYdGV+J3qqMNPhBK2o kMelZ7NRl2sdl0SDN890lrGDCDyv94oC6rCshOWm0NIaI7Eo5artwT0X+NUJ/AFtrZaO sun/wiQh5J4+Z8fAnIxUQoDw1Xjij664ZHLpi91eSyLXZSXs1p+AAxWemka7ylIaNs6S DZYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9ZTCJnD9B6bxWymsjrvOGm8Ow+FUh2KiHqkmUgaZ7Nk=; b=pKBn/viAGirOm2pM33fr0o91dKVMjJME1CHAhopLfQBIudFsoaJTOt6ziuSDUluGQO PZa+YOAy5U46Gxlo8o92WoL3wkVhS4nty/boJIXHFTduE+ARyPlQ6UIjeJpT8jGBAnb0 Uk8Wfqove4Fmu9IEX2jql/grgm3azHwjFW+PQqucKJocvLjB6bv5C56WtuKP3maOmgkS W3v+McKgsOtptHUZA4F7vQN4D7j3q1pdadCCzBEgE+LKUoDmtOtrrQlWQyrypxraHKgJ nwgKfoz77Ebf9lnnmk8I+l8A96h9IpE25GTQN1kYxIGAOPA7BovWcwTQqiU0IDQMMi6A YNqQ== X-Gm-Message-State: AOAM532lgXUmS7+dLJnDFW2itAymPCkbAc0hYlEuFjZwbTVChHgbJJv4 VDpDxMYg/jcZxEeYsA8xA6C23Ynutrl1jan6HQg= X-Google-Smtp-Source: ABdhPJxNBQw1oynJR4Zafel4ysB7RCZVz8eoFqpX7msveZufAmX+BNssaZPSijvPxOc/bDPe1emx0I45x/QjZtE/VpQ= X-Received: by 2002:a2e:b8d0:: with SMTP id s16mr11032079ljp.423.1607447625887; Tue, 08 Dec 2020 09:13:45 -0800 (PST) MIME-Version: 1.0 References: <83r1o0727y.fsf@gnu.org> In-Reply-To: <83r1o0727y.fsf@gnu.org> From: David Klein Date: Tue, 8 Dec 2020 19:13:33 +0200 Message-ID: Content-Type: multipart/alternative; boundary="000000000000bc731505b5f71061" X-Spam-Score: 0.3 (/) X-Mailman-Approved-At: Tue, 08 Dec 2020 12:34:21 -0500 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 (/) --000000000000bc731505b5f71061 Content-Type: text/plain; charset="UTF-8" Apologies. I didn't make myself sufficiently clear. If I typed in the text "The quick brown jumped over " and then went up to the end of the first line and type the characters '[space]' 'H' 'e' 'l' 'l' 'o' I get "The quick brownHello" instead of "The quick brown Hello" i.e. zero spaces instead of one. Only excess whitespace should be removed and the first space isn't excess. On Tue, Dec 8, 2020 at 5:21 PM Eli Zaretskii wrote: > > From: David Klein > > Date: Tue, 8 Dec 2020 10:16:40 +0200 > > > > runemacs.exe -Q > > (setq auto-mode-alist > > (cons '("\\.latex$" . latex-mode) auto-mode-alist))^X^E > > (add-hook 'latex-mode-hook 'refill-mode)^X^E > > ^X^F junk.latex > > Type in a few random lines interspersed with empty lines > > Go back to the end of a line that is followed by an empty line and type > > a space (or several). No space gets inserted. Non whitespace inserts > correctly. > > Isn't that expected,, given that the doc string of this mode says: > > When enabled, the > current paragraph is refilled as you edit. Self-inserting > characters only cause refilling if they would cause > auto-filling. > > "Refilled as you edit means excess whitespace is removed, no? > --000000000000bc731505b5f71061 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Apologies. I didn't make myself sufficiently clear.
If I typed in the text=C2=A0

&quo= t;The quick brown

jumped=C2=A0

over
"

and then went up to th= e end of the first line and type the characters '[space]' 'H= 9; 'e' 'l' 'l' 'o'

I get

"The quick brownHello"
=

instead of=C2=A0

"Th= e quick brown Hello"

i.e. zero spaces instead= of one. Only excess whitespace should be removed and the first space isn&#= 39;t excess.


On Tue, Dec 8, 2020 at 5:21 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: David Klein <dklein0@gmail.com>
> Date: Tue, 8 Dec 2020 10:16:40 +0200
>
> runemacs.exe -Q
> (setq auto-mode-alist
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(cons '("\\.latex$" . latex-mo= de) auto-mode-alist))^X^E
> (add-hook 'latex-mode-hook 'refill-mode)^X^E
> ^X^F junk.latex
> Type in a few random lines interspersed with empty lines
> Go back to the end of a line that is followed by an empty line and typ= e
> a space (or several). No space gets inserted. Non whitespace inserts c= orrectly.

Isn't that expected,, given that the doc string of this mode says:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0When enabled, the
=C2=A0 current paragraph is refilled as you edit.=C2=A0 Self-inserting
=C2=A0 characters only cause refilling if they would cause
=C2=A0 auto-filling.

"Refilled as you edit means excess whitespace is removed, no?
--000000000000bc731505b5f71061-- From unknown Sat Aug 09 13:21:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph Resent-From: David Klein Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2020 17:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45116 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 45116@debbugs.gnu.org Received: via spool by 45116-submit@debbugs.gnu.org id=B45116.160744902415030 (code B ref 45116); Tue, 08 Dec 2020 17:38:01 +0000 Received: (at 45116) by debbugs.gnu.org; 8 Dec 2020 17:37:04 +0000 Received: from localhost ([127.0.0.1]:59555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmgv9-0003uM-Mw for submit@debbugs.gnu.org; Tue, 08 Dec 2020 12:37:03 -0500 Received: from mail-lj1-f169.google.com ([209.85.208.169]:37232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmgv7-0003tS-RY for 45116@debbugs.gnu.org; Tue, 08 Dec 2020 12:37:02 -0500 Received: by mail-lj1-f169.google.com with SMTP id s11so12119608ljp.4 for <45116@debbugs.gnu.org>; Tue, 08 Dec 2020 09:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hBEelO/PiDqJVpumuaIY5N3GxuwiEHE+FROXz+tf5Jg=; b=e/mVrqf+Vrx6AknHL26GGqFRUvvfnL7JG0eRYYd52Stk2bhl3xykcXbfb37rUOVkdh ZcAfbM2znxPC9Isq09knV4HKJ3sKGpCimbdTDqB6hTWlMZZIgc8/i1nYj3RPCkHYuaeM ZAopAD4YBZ8KDIYDSg/J8dEeIU9yWe3L0Z0lJym8quwz9Wj9ZIRWQSar2t4y1xMA/9E8 EbPagAS36yBxSWeY/olgdCP/djZJnI+UXDkNVfXBXm35uvBZKoTul3bFhuZ31Y2tlSaO ua1ub7Eb/agrH3KVfGWg5nqtef0OXMRwKzVZMf0wVFY3klC/a+BWFuSqAzYiUh4BgSHc yDcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hBEelO/PiDqJVpumuaIY5N3GxuwiEHE+FROXz+tf5Jg=; b=Y4bNUU7U+12VVLzwQAWVAOYKHMstiVbS4JshbSbDP1xD3g0fF38qUOCejA8H3y0fWJ P9uUwhON96x9W4eyMq4Npfaybqn1Y9W9gnvKoj+f5aQ1RQI95QLfPmDe5H1A02VRESGk 2r1rV3eACXOa7DxHLt1BCYZ3sNQ44MFm1VOyz4ugxSUG6jYpMY1VMvHiE/iU178+DOcE Ovsut56NQ8G30Nms6MOgij7Q0wn5QxJxLQAeTfO+teh1/YAG0VoXR4GtxVxND2+RKrKE QMsFlw2H2UMVkbRQvMfG6UPixN76ujDS1J7ifos4NKNnZyBy8//P+8OHZm+6DOQaa3hs NEUg== X-Gm-Message-State: AOAM532NHPoSJZcbdjwzMvZkwTsmvzLzttiR/q1GYCcHpwSMfVFlG3Vt R1KFBy6OIu7PxnvfLJOb8ZaPlyR5wKtAM9Vu0MgrXavNd5c= X-Google-Smtp-Source: ABdhPJzdWvRP2qstJHSi3smYTCRRe5fm+FrF/oDswnal6I9bi3V3DxcNSW0n5FpI8eSfikRtdGGZeJ8ZV7trMLNd21Q= X-Received: by 2002:a2e:164b:: with SMTP id 11mr11242525ljw.34.1607449015665; Tue, 08 Dec 2020 09:36:55 -0800 (PST) MIME-Version: 1.0 References: <83r1o0727y.fsf@gnu.org> <83wnxs5hwx.fsf@gnu.org> In-Reply-To: <83wnxs5hwx.fsf@gnu.org> From: David Klein Date: Tue, 8 Dec 2020 19:36:43 +0200 Message-ID: Content-Type: multipart/alternative; boundary="00000000000092c9d905b5f7631d" X-Spam-Score: 0.3 (/) 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 (/) --00000000000092c9d905b5f7631d Content-Type: text/plain; charset="UTF-8" For example, set a flag when user inserts a space character after a non-space character. If he subsequently inserts a non space character, insert a single space into the buffer. Did you try it out in an emacs buffer? Really, give it a shot. The current behavior is so counterintuitive as to make it useless. On Tue, 8 Dec 2020, 19:25 Eli Zaretskii, wrote: > > From: David Klein > > Date: Tue, 8 Dec 2020 19:13:33 +0200 > > Cc: 45116@debbugs.gnu.org > > > > If I typed in the text > > > > "The quick brown > > > > jumped > > > > over > > " > > > > and then went up to the end of the first line and type the characters > > '[space]' 'H' 'e' 'l' 'l' 'o' > > > > I get > > > > "The quick brownHello" > > > > instead of > > > > "The quick brown Hello" > > > > i.e. zero spaces instead of one. Only excess whitespace should be removed > > and the first space isn't excess. > > What logic would you suggest to implement to decide that this space is > it not excess? > --00000000000092c9d905b5f7631d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
For example, set a flag when user inserts a space charact= er after a non-space character. If he subsequently inserts a non space char= acter, insert a single space into the buffer.

Did you try it out in an emacs buffer? Really, give it a sh= ot. The current behavior is so counterintuitive as to make it useless.=C2= =A0

On Tue, 8 Dec 2020, 19:25 Eli Zaretskii, <eliz@gnu.org> wrote:
> From: David Klein <dklein0@gmail.com>
> Date: Tue, 8 Dec 2020 19:13:33 +0200
> Cc: 45116@debbugs.gnu.org
>
> If I typed in the text
>
> "The quick brown
>
> jumped
>
> over
> "
>
> and then went up to the end of the first line and type the characters<= br> > '[space]' 'H' 'e' 'l' 'l' '= ;o'
>
> I get
>
> "The quick brownHello"
>
> instead of
>
> "The quick brown Hello"
>
> i.e. zero spaces instead of one. Only excess whitespace should be remo= ved
> and the first space isn't excess.

What logic would you suggest to implement to decide that this space is
it not excess?
--00000000000092c9d905b5f7631d-- From unknown Sat Aug 09 13:21:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph Resent-From: David Klein Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Dec 2020 08:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45116 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 45116@debbugs.gnu.org Received: via spool by 45116-submit@debbugs.gnu.org id=B45116.16075017924506 (code B ref 45116); Wed, 09 Dec 2020 08:17:02 +0000 Received: (at 45116) by debbugs.gnu.org; 9 Dec 2020 08:16:32 +0000 Received: from localhost ([127.0.0.1]:60898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmueF-0001Ac-PN for submit@debbugs.gnu.org; Wed, 09 Dec 2020 03:16:32 -0500 Received: from mail-lj1-f175.google.com ([209.85.208.175]:44790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmueD-0001AI-KT for 45116@debbugs.gnu.org; Wed, 09 Dec 2020 03:16:30 -0500 Received: by mail-lj1-f175.google.com with SMTP id m13so1186610ljo.11 for <45116@debbugs.gnu.org>; Wed, 09 Dec 2020 00:16:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w5dzd6M2Ed6Jol7kESf/u9V2XotBGl5TTWcwzOVYI08=; b=enZTwdNg277ld2ieKvXoa2sqW7PEQsKEPJp6HaCbpnvYJZLQLSPu9a5lnY+9migtTn bKPdksPp2yGUkklN94U8JzRlf8OUCZ4nG3If7wFuE9mF/zLT6+tULCYYfgD+uDXr+NiS ivLbiJLP2puKprC7X45kRE21BjbYpJcYeORMS/W3Ruc7vYZSLUBAbeXbZjU4KsQOhDDu aL8q9z9R7ePb7oUli+zjJeie3Eg/K1VuldsSHU4QnHedaMKwAXBVbrqEjcjszitrVyxN uhis1kdGh9sleXesMyVaHcWAZclYcnpg+DwWhomTkbL0pPGBYc6M3as8sDve3sg1IF1x 8UOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w5dzd6M2Ed6Jol7kESf/u9V2XotBGl5TTWcwzOVYI08=; b=aIp/kdQHmC6kspSawGgVkdpC9CX3XKCVrVwhltmSj4N8PJUUUCHobrpcN/OCWHkslw AWj5g1Wna03jOPZgX0yGJPP6qXUmoyvqVn5yP1SGuWqX/CkdXnJpKWaEV2P4AN0dGgpy tt6CRJojejZRDez4jjQmSLSTbshZ6rhq4VMGE6gPp7KdTIUFqHNy87FRWNUchBXx/nfd ydJ+HWHsWWDNyUFMe/Obps5DARWsava/UsWn02PcSL/VUx1G9pZFT3oGPZM1v2z/D5ux 44HtQTue8fA56m00BtvyHhrJDaQ9gPtmDDtF+iGKU9kd/Fm2GFHGAO6IHOy6RSYqWUwb iUtA== X-Gm-Message-State: AOAM531QeY3rcJ1wUVTBQ33DRUdydL6ZSHd9nNO0UkhvMhST3BkDVqmz hKd+EhwbZUVNpImz+n9t7iDVXAHFwQAjkGpp4tCuVNLQvl4= X-Google-Smtp-Source: ABdhPJyMfeNMLehgRFvOgeKiqUcbpG3jJzLCMivZytby6oIIXIPyP0GhB8LZxC4GJc7FJLjnai7NXn4+z1uRqz3BuS0= X-Received: by 2002:a2e:855a:: with SMTP id u26mr628926ljj.0.1607501783520; Wed, 09 Dec 2020 00:16:23 -0800 (PST) MIME-Version: 1.0 References: <83r1o0727y.fsf@gnu.org> <83wnxs5hwx.fsf@gnu.org> In-Reply-To: From: David Klein Date: Wed, 9 Dec 2020 10:16:11 +0200 Message-ID: Content-Type: multipart/alternative; boundary="000000000000c857dc05b603acdc" X-Spam-Score: 0.3 (/) 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 (/) --000000000000c857dc05b603acdc Content-Type: text/plain; charset="UTF-8" Actually, an even better behaviour would be that when user inserts a whitespace character at the end of the line and the whitespace is preceded by non-whitespace, refill *does* insert the whitespace immediately into the buffer. On Tue, Dec 8, 2020 at 7:36 PM David Klein wrote: > For example, set a flag when user inserts a space character after a > non-space character. If he subsequently inserts a non space character, > insert a single space into the buffer. > > Did you try it out in an emacs buffer? Really, give it a shot. The current > behavior is so counterintuitive as to make it useless. > > On Tue, 8 Dec 2020, 19:25 Eli Zaretskii, wrote: > >> > From: David Klein >> > Date: Tue, 8 Dec 2020 19:13:33 +0200 >> > Cc: 45116@debbugs.gnu.org >> > >> > If I typed in the text >> > >> > "The quick brown >> > >> > jumped >> > >> > over >> > " >> > >> > and then went up to the end of the first line and type the characters >> > '[space]' 'H' 'e' 'l' 'l' 'o' >> > >> > I get >> > >> > "The quick brownHello" >> > >> > instead of >> > >> > "The quick brown Hello" >> > >> > i.e. zero spaces instead of one. Only excess whitespace should be >> removed >> > and the first space isn't excess. >> >> What logic would you suggest to implement to decide that this space is >> it not excess? >> > --000000000000c857dc05b603acdc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Actually, an even better behaviour would be that when user= inserts a whitespace character at the end of the line and the whitespace i= s preceded by non-whitespace, refill does=C2=A0insert the whitespace= immediately into the buffer.

On Tue, Dec 8, 2020 at 7:36 PM David Klein &l= t;dklein0@gmail.com> wrote:
=
F= or example, set a flag when user inserts a space character after a non-spac= e character. If he subsequently inserts a non space character, insert a sin= gle space into the buffer.

Did= you try it out in an emacs buffer? Really, give it a shot. The current beh= avior is so counterintuitive as to make it useless.=C2=A0

On Tue, 8 De= c 2020, 19:25 Eli Zaretskii, <eliz@gnu.org> wrote:
> From: David Klein <dklein0@gmail.com>
> Date: Tue, 8 Dec 2020 19:13:33 +0200
> Cc: 45116@debbugs.gnu.org
>
> If I typed in the text
>
> "The quick brown
>
> jumped
>
> over
> "
>
> and then went up to the end of the first line and type the characters<= br> > '[space]' 'H' 'e' 'l' 'l' '= ;o'
>
> I get
>
> "The quick brownHello"
>
> instead of
>
> "The quick brown Hello"
>
> i.e. zero spaces instead of one. Only excess whitespace should be remo= ved
> and the first space isn't excess.

What logic would you suggest to implement to decide that this space is
it not excess?
--000000000000c857dc05b603acdc-- From unknown Sat Aug 09 13:21:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Sep 2021 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45116 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David Klein Cc: Eli Zaretskii , 45116@debbugs.gnu.org Received: via spool by 45116-submit@debbugs.gnu.org id=B45116.163109397418837 (code B ref 45116); Wed, 08 Sep 2021 09:40:02 +0000 Received: (at 45116) by debbugs.gnu.org; 8 Sep 2021 09:39:34 +0000 Received: from localhost ([127.0.0.1]:58644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNu3K-0004tl-I9 for submit@debbugs.gnu.org; Wed, 08 Sep 2021 05:39:34 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNu3J-0004tQ-Ay for 45116@debbugs.gnu.org; Wed, 08 Sep 2021 05:39:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KgePVdMiN2F5Yda0qS3zPpXT3PprF5+RVB8wXdY3T+E=; b=HGJKKDpC/Ve8UtPgwIS2IMrK4R qimhQgbSyKzn9JqDD4sBRb1thrB1tlynu0UQqemOpuIfZcj3CtgF3zNNOPkQasewe+2wSkOfQ77pB Acw2ckI9jSDztquyNe94ZTY9CuZqZuk5gfBUervsNpLXKsK9y5T9RuHr5u4044QLmXxU=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNu3A-0001MF-OI; Wed, 08 Sep 2021 11:39:27 +0200 From: Lars Ingebrigtsen References: <83r1o0727y.fsf@gnu.org> Date: Wed, 08 Sep 2021 11:39:24 +0200 In-Reply-To: (David Klein's message of "Tue, 8 Dec 2020 19:13:33 +0200") Message-ID: <87lf471k4z.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: David Klein writes: > If I typed in the text > > "The quick brown > > jumped > > over > " > > and then went up to the end of the first line and type the characters ' > [space]' 'H' 'e' 'l' 'l' 'o' > > I get > > "The quic [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) David Klein writes: > If I typed in the text > > "The quick brown > > jumped > > over > " > > and then went up to the end of the first line and type the characters ' > [space]' 'H' 'e' 'l' 'l' 'o' > > I get > > "The quick brownHello" > > instead of > > "The quick brown Hello" > > i.e. zero spaces instead of one. Only excess whitespace should be removed > and the first space isn't excess. I tried reproducing this in various Emacs versions, but I was unable to -- the space isn't removed (with refill-mode on) when I test this. Do you have a complete recipe, starting from "emacs -Q"? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 08 05:39:38 2021 Received: (at control) by debbugs.gnu.org; 8 Sep 2021 09:39:39 +0000 Received: from localhost ([127.0.0.1]:58647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNu3O-0004u2-Pd for submit@debbugs.gnu.org; Wed, 08 Sep 2021 05:39:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNu3N-0004tX-HO for control@debbugs.gnu.org; Wed, 08 Sep 2021 05:39:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=J+CZ1QtyJkTS/O4fWDsrGEdEgUCuMKzkJi4pxjCC2yA=; b=ajmA9NEuz4AtA6Ft/zgnLBkiGw olcETW7d5YLIG/PqHobhwVA/CfnUyQ3G0EtGtFyCFA1tOp9+u5BF/k2RxzB52ldWSV+B5jevqlXfE ARpTVm3EcKGZs/sKMHy5oAdBLZU9F8F0IQp21EniWmJOdlN1cVU6P3QF8eFt5+me2HT4=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNu3F-0001MM-OY for control@debbugs.gnu.org; Wed, 08 Sep 2021 11:39:31 +0200 Date: Wed, 08 Sep 2021 11:39:29 +0200 Message-Id: <87k0jr1k4u.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #45116 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 45116 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) tags 45116 + moreinfo quit From unknown Sat Aug 09 13:21:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph Resent-From: David Klein Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Sep 2021 10:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45116 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: Eli Zaretskii , 45116@debbugs.gnu.org Received: via spool by 45116-submit@debbugs.gnu.org id=B45116.163118384428628 (code B ref 45116); Thu, 09 Sep 2021 10:38:01 +0000 Received: (at 45116) by debbugs.gnu.org; 9 Sep 2021 10:37:24 +0000 Received: from localhost ([127.0.0.1]:34246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOHQp-0007Rg-Ll for submit@debbugs.gnu.org; Thu, 09 Sep 2021 06:37:23 -0400 Received: from mail-oo1-f41.google.com ([209.85.161.41]:44597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOHQm-0007RT-S4 for 45116@debbugs.gnu.org; Thu, 09 Sep 2021 06:37:22 -0400 Received: by mail-oo1-f41.google.com with SMTP id k18-20020a4abd92000000b002915ed21fb8so402329oop.11 for <45116@debbugs.gnu.org>; Thu, 09 Sep 2021 03:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Jr6nouw1vmNyTBhjTxEW29GpTBr4IfZRwPx0zeUqTWE=; b=DRyJCoQnZrC6FG3RWoVeSC4oaPOtxKAa43kt1DW7cC4ao8FxgZI6N+NskD+4gAVuzu URS8OJr2h0zK4vNPZ6WaHIGzfFL2pLpFGgiiIyiuSdyYhRvq/WonXFPB/QERt3d/8yD8 cTE4UwwIDd9xfLmscZBtpAAjiYAeMU5kJkEsxnwlLRQH1TtNsExM59r9fX0pmjmJBnMB 4xmbjPIjaKg7TsITP3hnc8bHRtYlGTtZKcQdOH/01wFcHvU+BGxJkQN9GsPblbFh3LTX wETjLYxzqobKbMwOIETap2SXnymDobUzq3qjtqgDm3ZiPMa0ON9woM/pGeGSHbjJ91Y6 S+uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Jr6nouw1vmNyTBhjTxEW29GpTBr4IfZRwPx0zeUqTWE=; b=apr1aygDVlJlmOa0Kh3mMvs16Z1BOmSgNW/ThLtcRmKoGxpWFELVKsfYCRkyWGEnA5 Yxfz1WURnvVkamCG4EKqX2be3kYgwjry+NOYcTwDkJwrJnc/0xXbu5ADkcq5Wq07fkIY TZkH7oqnDvKjyA6f+ISLh+Li62D8fzqRtAXe2bC0FPHGtLT8oCvn3+ye7mVepDhrtwTs 64j95nDJtVzVQh5+ggVI/on7zcUUy5WgALYVrB35AQTNwxIFgevS7AOjgH1jX38lI/GV ylIyv+qsaUZed27yfFCynyeRIUREUudN4jh1dGT4WjG9jJhAb2Ni8SzZK4ldgCRW9rF5 oQVg== X-Gm-Message-State: AOAM5301h4ENAbeMWlAHlBC+SLwR93KuVYx9CSMxd76TLO4uvhSX2l/u dHs21dk77nT/uwuYu/2NNmRjuffqUDQKJYhaOiM= X-Google-Smtp-Source: ABdhPJzU5yPEVTnTy54LPwtJy2aelMOZcQCXnvVsVM/x/TNtXUHIHINv5SV6Stxgj+3S8vyh6IEM6ZqwlBNhazI0M+4= X-Received: by 2002:a4a:e381:: with SMTP id l1mr1863767oov.48.1631183835148; Thu, 09 Sep 2021 03:37:15 -0700 (PDT) MIME-Version: 1.0 References: <83r1o0727y.fsf@gnu.org> <87lf471k4z.fsf@gnus.org> In-Reply-To: <87lf471k4z.fsf@gnus.org> From: David Klein Date: Thu, 9 Sep 2021 13:37:04 +0300 Message-ID: Content-Type: multipart/alternative; boundary="0000000000000eb3da05cb8d954c" X-Spam-Score: 0.2 (/) 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.8 (/) --0000000000000eb3da05cb8d954c Content-Type: text/plain; charset="UTF-8" I no longer have the setup I had when I posted the question. In my current setups I can't reproduce either. On Wed, Sep 8, 2021 at 12:39 PM Lars Ingebrigtsen wrote: > David Klein writes: > > > If I typed in the text > > > > "The quick brown > > > > jumped > > > > over > > " > > > > and then went up to the end of the first line and type the characters ' > > [space]' 'H' 'e' 'l' 'l' 'o' > > > > I get > > > > "The quick brownHello" > > > > instead of > > > > "The quick brown Hello" > > > > i.e. zero spaces instead of one. Only excess whitespace should be removed > > and the first space isn't excess. > > I tried reproducing this in various Emacs versions, but I was unable > to -- the space isn't removed (with refill-mode on) when I test this. > > Do you have a complete recipe, starting from "emacs -Q"? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --0000000000000eb3da05cb8d954c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I no longer have the setup I had when I posted the qu= estion. In my current setups I can't reproduce either.


On Wed, Sep 8, 2021 at 12:39 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:
David Klein <dklein0@gmail.com> writes:

> If I typed in the text
>
> "The quick brown
>
> jumped
>
> over
> "
>
> and then went up to the end of the first line and type the characters = '
> [space]' 'H' 'e' 'l' 'l' 'o= 9;
>
> I get
>
> "The quick brownHello"
>
> instead of
>
> "The quick brown Hello"
>
> i.e. zero spaces instead of one. Only excess whitespace should be remo= ved
> and the first space isn't excess.

I tried reproducing this in various Emacs versions, but I was unable
to -- the space isn't removed (with refill-mode on) when I test this.
Do you have a complete recipe, starting from "emacs -Q"?

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--0000000000000eb3da05cb8d954c-- From unknown Sat Aug 09 13:21:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Sep 2021 13:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45116 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: David Klein Cc: Eli Zaretskii , 45116@debbugs.gnu.org Received: via spool by 45116-submit@debbugs.gnu.org id=B45116.163119307520692 (code B ref 45116); Thu, 09 Sep 2021 13:12:01 +0000 Received: (at 45116) by debbugs.gnu.org; 9 Sep 2021 13:11:15 +0000 Received: from localhost ([127.0.0.1]:34412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOJpj-0005Nf-Eb for submit@debbugs.gnu.org; Thu, 09 Sep 2021 09:11:15 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOJpe-0005NJ-6h for 45116@debbugs.gnu.org; Thu, 09 Sep 2021 09:11:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PGE1JHOiD2I/9x76m4xmCzq7TMZF2S/CnYVvgfYg9Q8=; b=ea8VYlj33asUCXvzvtuEXibb/D IZzkp5EuYY0qSD8lWMKJx00wENFoZTKy8zHMSIJEm8FPcf5GJ6XNSupCPP1EVJFQY8r0hU2GJbROc /hiumDY5gCcH3klk/goiRNHfAvI2y7JwVKWqtHrKHjbxkJbPPEQYrXiX12YyvgFyh5sE=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOJpV-0007A0-US; Thu, 09 Sep 2021 15:11:04 +0200 From: Lars Ingebrigtsen References: <83r1o0727y.fsf@gnu.org> <87lf471k4z.fsf@gnus.org> Date: Thu, 09 Sep 2021 15:11:01 +0200 In-Reply-To: (David Klein's message of "Thu, 9 Sep 2021 13:37:04 +0300") Message-ID: <87ee9xx5ay.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: David Klein writes: > I no longer have the setup I had when I posted the question. In my current > setups I can't reproduce either. OK; I'm closing this bug report, then. If you re-experience the bug, please respond to the debbugs address, and we'll reopen. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) David Klein writes: > I no longer have the setup I had when I posted the question. In my current > setups I can't reproduce either. OK; I'm closing this bug report, then. If you re-experience the bug, please respond to the debbugs address, and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 09 09:11:22 2021 Received: (at control) by debbugs.gnu.org; 9 Sep 2021 13:11:22 +0000 Received: from localhost ([127.0.0.1]:34418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOJpp-0005OD-SP for submit@debbugs.gnu.org; Thu, 09 Sep 2021 09:11:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOJpo-0005Ne-Bk for control@debbugs.gnu.org; Thu, 09 Sep 2021 09:11:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xzZ4trhVvPnOmnZyoBLSkwDnOy430HjiX3b4lIpdHV0=; b=lmZmglEpiM2n+gnmeNWMLIK/f3 4OU7VcUF3b7V+/ykloGf/e/76Rou0UrqM8KI1nbApYjRsxqBlmMIgTEKaAcJuvgWeX2dL51xvvzij Ft+K/KR+PS6FRYz5H6+9smUxUV4r7ivhtNRwaD3jWGIUTk5p/gl+pgnoujWcvoxkSmLk=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOJph-0007AC-0H for control@debbugs.gnu.org; Thu, 09 Sep 2021 15:11:14 +0200 Date: Thu, 09 Sep 2021 15:11:12 +0200 Message-Id: <87czphx5an.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #45116 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 45116 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) close 45116 quit