From: Lars Ingebrigtsen <larsi@gnus.org>
To: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
Cc: 17190@debbugs.gnu.org
Subject: bug#17190: 24.4.50; fill-flow checks quoted lines after deleting leading space
Date: Wed, 14 Aug 2019 17:20:08 -0700 [thread overview]
Message-ID: <87lfvvs2iv.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87txa8b66v.wl%%xmue@d1.dion.ne.jp> (Kazuhiro Ito's message of "Sat, 05 Apr 2014 16:12:40 +0900")
Kazuhiro Ito <kzhr@d1.dion.ne.jp> writes:
> When I evaluate the below code, I receive unexpected result.
>
> (with-temp-buffer
> (require 'flow-fill)
> (insert " > ABC \nDEF\n")
> (fill-flowed)
> ;; (mime-display-text/plain-flowed)
> (buffer-string))
>
> ->
> "> ABC
> DEF
> "
> But I expect the below result.
>
> "> ABC DEF
> "
If I'm reading
https://tools.ietf.org/html/rfc2646
right, that's not how this is supposed to work, and `fill-flowed' does
it correctly -- it's supposed to flow together lines that have the same
quotation level, like this:
(with-temp-buffer
(require 'flow-fill)
(insert " > ABC \n> DEF\n")
(fill-flowed)
(buffer-string))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-08-15 0:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-05 7:12 bug#17190: 24.4.50; fill-flow checks quoted lines after deleting leading space Kazuhiro Ito
2019-08-15 0:20 ` Lars Ingebrigtsen [this message]
2019-08-15 9:59 ` Kazuhiro Ito
2019-08-15 23:59 ` Lars Ingebrigtsen
2019-08-16 1:00 ` Lars Ingebrigtsen
2019-08-16 14:31 ` Kazuhiro Ito
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=87lfvvs2iv.fsf@mouse.gnus.org \
--to=larsi@gnus.org \
--cc=17190@debbugs.gnu.org \
--cc=kzhr@d1.dion.ne.jp \
/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).