bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Jeremy Bryant
Subject: bug#71865: [PATCH] New user option `fill-sentence-end-double-space`
Date: Mon, 01 Jul 2024 22:16:02 +0100

Stefan Kangas <stefankangas@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]...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]