unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Sean Whitton <spwhitton@spwhitton.name>
Cc: 57986@debbugs.gnu.org
Subject: bug#57986: 29.0.50; Citation prefix lost when message-newline-and-reformat
Date: Sat, 24 Sep 2022 11:39:36 +0200	[thread overview]
Message-ID: <87czbl157r.fsf@gnus.org> (raw)
In-Reply-To: <87fsgi2gs2.fsf@melete.silentflame.com> (Sean Whitton's message of "Fri, 23 Sep 2022 09:32:13 -0700")

Sean Whitton <spwhitton@spwhitton.name> writes:

> Yeah, the docstring sounds like do-what-I-mean reformatting, not
> something more specific that cares about exactly where point is in the
> line.  (I'd still advocate for changing it -- is there any use for this
> command aside from splitting up quoted text like this?)

No, but point determines what to use as the quote prefix, and that makes
some difference if you have variations on

>> Foo bar
>>> Foo bar zot

etc -- it uses the bit before point to find the prefix.  And if you look
at the code, it's explicitly checking whether we're at bolp to disable
that logic.

I've played around a bit hitting `M-RET' at various places, and I think
that what it does probably makes sense, even if it's not totally
intuitive, so I've just clarified this in the doc string instead of
changing what it's doing.





  reply	other threads:[~2022-09-24  9:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-21 18:34 bug#57986: 29.0.50; Citation prefix lost when message-newline-and-reformat Sean Whitton
2022-09-23 16:21 ` Lars Ingebrigtsen
2022-09-23 16:32   ` Sean Whitton
2022-09-24  9:39     ` Lars Ingebrigtsen [this message]
2022-09-24 17:21       ` Sean Whitton

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=87czbl157r.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=57986@debbugs.gnu.org \
    --cc=spwhitton@spwhitton.name \
    /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).