GNU bug report logs - #71865
[PATCH] New user option `fill-sentence-end-double-space`

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Mon, 1 Jul 2024 01:08:01 UTC

Severity: wishlist

Tags: patch

Full log


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

From: Jeremy Bryant <jb <at> jeremybryant.net>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 71865 <at> debbugs.gnu.org
Subject: Re: bug#71865: [PATCH] New user option
 `fill-sentence-end-double-space`
Date: Mon, 01 Jul 2024 22:16:02 +0100
Stefan Kangas <stefankangas <at> gmail.com> writes:

> Severity: wishlist
>
> Consider doing this in emacs -Q
>
>     M-: (setq sentence-end-double-space nil) RET
>
> Now put point at a paragraph like this
>
>     Foo bar baz.  Hello hello.
>
> Press M-q and end up with:
>
>     Foo bar baz. Hello hello.
>
> However, in some cases the user will _not_ want this be reflowed, while
> still wanting to make the sentence commands navigate correctly even if
> there is only one space.

I tried this example but would be interested in a clearer statement of
the problem.  Does M-a, M-e not work as intended?
>
> For that purpose, I suggest adding a new user option
> `fill-sentence-end-double-space', which controls _only_ the behavior
> when refilling.  That way you can customize sentence commands separately
> from fill commands.
>
> See the attached patch (still lacking NEWS and documentation changes).
>
> Thoughts?
>
> [2. text/x-patch; 0001-New-user-option-fill-sentence-end-double-space.patch]...




This bug report was last modified 344 days ago.

Previous Next


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