all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Klein <dklein0@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 45116@debbugs.gnu.org
Subject: bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph
Date: Tue, 8 Dec 2020 19:13:33 +0200	[thread overview]
Message-ID: <CALoTaHBG=1_aQ5zBjX2gY3CpcMvQazW1H5F9Bvtz0p8wSCJn7g@mail.gmail.com> (raw)
In-Reply-To: <83r1o0727y.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]

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 <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
> >       (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?
>

[-- Attachment #2: Type: text/html, Size: 2195 bytes --]

  reply	other threads:[~2020-12-08 17:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08  8:16 bug#45116: 26.3; refill-mode doesn't allow me to add text at the end of a paragraph David Klein
2020-12-08 15:21 ` Eli Zaretskii
2020-12-08 17:13   ` David Klein [this message]
2020-12-08 17:25     ` Eli Zaretskii
2020-12-08 17:36       ` David Klein
2020-12-09  8:16         ` David Klein
2021-09-08  9:39     ` Lars Ingebrigtsen
2021-09-09 10:37       ` David Klein
2021-09-09 13:11         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALoTaHBG=1_aQ5zBjX2gY3CpcMvQazW1H5F9Bvtz0p8wSCJn7g@mail.gmail.com' \
    --to=dklein0@gmail.com \
    --cc=45116@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.