From: Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: 71865@debbugs.gnu.org
Subject: bug#71865: [PATCH] New user option `fill-sentence-end-double-space`
Date: Mon, 01 Jul 2024 22:16:02 +0100 [thread overview]
Message-ID: <87v81obyp9.fsf@jeremybryant.net> (raw)
In-Reply-To: <CADwFkm=_M7vz3Yb_fqQdBTR5BHNVCmy1iAb=mO0UBbjPqBbkkA@mail.gmail.com> (Stefan Kangas's message of "Sun, 30 Jun 2024 18:07:29 -0700")
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]...
next prev parent reply other threads:[~2024-07-01 21:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-01 1:07 bug#71865: [PATCH] New user option `fill-sentence-end-double-space` Stefan Kangas
2024-07-01 21:16 ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-07-01 23:02 ` Stefan Kangas
2024-07-06 21:46 ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=87v81obyp9.fsf@jeremybryant.net \
--to=bug-gnu-emacs@gnu.org \
--cc=71865@debbugs.gnu.org \
--cc=jb@jeremybryant.net \
--cc=stefankangas@gmail.com \
/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.