emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: message.el bug: message-field-value issue with folded headers


From: Lars Ingebrigtsen
Subject: Re: message.el bug: message-field-value issue with folded headers
Date: Fri, 12 Jul 2019 14:48:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Yuri D'Elia <address@hidden> writes:

> If the header has no whitespace, it will essentially move the entire
> value into the next line:
>
> |Header:
> | long-value
>
> Does it make sense to do so?

Nope; that's a bug.

> Anyway, `message-fetch-field' doesn't handle this case correctly. By
> substituting "\n[\t ]+" => " " we're left with a leading space:
>
>   " long value"

That's also a bug.  It's nice that this folding change is revealing so
many bugs.  :-)

I'll get fixing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]