GNU bug report logs - #45116
26.3; refill-mode doesn't allow me to add text at the end of a paragraph

Previous Next

Package: emacs;

Reported by: David Klein <dklein0 <at> gmail.com>

Date: Tue, 8 Dec 2020 08:25:02 UTC

Severity: normal

Tags: moreinfo

Found in version 26.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: David Klein <dklein0 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 45116 <at> debbugs.gnu.org
Subject: Re: 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:36:43 +0200
[Message part 1 (text/plain, inline)]
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, <eliz <at> gnu.org> wrote:

> > From: David Klein <dklein0 <at> gmail.com>
> > Date: Tue, 8 Dec 2020 19:13:33 +0200
> > Cc: 45116 <at> 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?
>
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 257 days ago.

Previous Next


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