unofficial mirror of bug-gnu-emacs@gnu.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:36:43 +0200	[thread overview]
Message-ID: <CALoTaHCbkWQxRO0ziTaVHsnZuWXdWuUiZ+H6VbahZ5mYseVvBQ@mail.gmail.com> (raw)
In-Reply-To: <83wnxs5hwx.fsf@gnu.org>

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

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@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
> > '[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?
>

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

  reply	other threads:[~2020-12-08 17:36 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
2020-12-08 17:25     ` Eli Zaretskii
2020-12-08 17:36       ` David Klein [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CALoTaHCbkWQxRO0ziTaVHsnZuWXdWuUiZ+H6VbahZ5mYseVvBQ@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).