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: Fri, 23 Sep 2022 18:21:02 +0200	[thread overview]
Message-ID: <87mtaq2hap.fsf@gnus.org> (raw)
In-Reply-To: <87r104r2zd.fsf@melete.silentflame.com> (Sean Whitton's message of "Wed, 21 Sep 2022 11:34:14 -0700")

Sean Whitton <spwhitton@spwhitton.name> writes:

> In emacs -q, C-x m and put this text in the buffer:
>
>> This is some.
>>
>> This is more.  This is more.  This is more.  This is more.  This is more.
>> This is more.  This is more.
>
> Move point to the beginning of the second line.  M-RET.

[...]

>> This is some.
>
>>
>> This is more.  This is more.  This is more.  This is more.  This is
> more.
>> This is more.  This is more.
>
> The problem, in particular, is how "more" becomes unquoted.

`M-RET' uses the text before point as the prefix, so if you `M-RET' at
the end of the second line, you get

---
> This is some.
>



> 
> This is more.  This is more.  This is more.  This is more.  This is
> more.  This is more.  This is more.
---

which is what we're aiming for.  So I'm not sure whether this is a
bug -- I think this is what it's meant to do.  But perhaps it should be
documented better?






  reply	other threads:[~2022-09-23 16:21 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 [this message]
2022-09-23 16:32   ` Sean Whitton
2022-09-24  9:39     ` Lars Ingebrigtsen
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=87mtaq2hap.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).