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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Cc: 17190 <at> debbugs.gnu.org
Subject: bug#17190: 24.4.50; fill-flow checks quoted lines after deleting leading space
Date: Thu, 15 Aug 2019 16:59:34 -0700
Kazuhiro Ito <kzhr <at> d1.dion.ne.jp> writes:

> Please beware Space-Stuffing at the first line.  The first line is not
> quoted one.  " > ABC " and "DEF" have the same quotation level.

Ah, I missed that bit.  And:

4.4.  Space-Stuffing

   In order to allow for unquoted lines which start with ">", and to
   protect against systems which "From-munge" in-transit messages
   (modifying any line which starts with "From " to ">From "),
   Format=Flowed provides for space-stuffing.

   Space-stuffing adds a single space to the start of any line which
   needs protection when the message is generated.  On reception, if the
   first character of a line is a space, it is logically deleted.  This
   occurs after the test for a quoted line, and before the test for a
   flowed line.

So `fill-flowed' is definitely doing this wrong -- it just deletes the
space stuffing before it does any of the processing, which is the
opposite of what it should do, really.

-- 
(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.