GNU bug report logs - #17190
24.4.50; fill-flow checks quoted lines after deleting leading space

Previous Next

Package: emacs;

Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>

Date: Sat, 5 Apr 2014 07:14:02 UTC

Severity: normal

Tags: fixed, notabug

Found in version 24.4.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 17190 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Cc: 17190 <at> debbugs.gnu.org
Subject: Re: bug#17190: 24.4.50; fill-flow checks quoted lines after
 deleting leading space
Date: Wed, 14 Aug 2019 17:20:08 -0700
Kazuhiro Ito <kzhr <at> 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




This bug report was last modified 5 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.