bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#17757: 24.4.50; Whitespace changes break signature mark


From: Stefan Monnier
Subject: bug#17757: 24.4.50; Whitespace changes break signature mark
Date: Wed, 14 Jul 2021 10:43:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> C-x m (compose-mail)
>> M-> (end-of-buffer)
>> "-- " (i.e., dash - dash - space)
>> RET
>>
>> Now the space after the sigdashes disappears.
>
> Tracing this a bit more, it seems that this is what's deleting the space
> after the two dashes:

I blame that old sig convention: trailing whitespace has always been
a source of trouble.

E.g. I can see that we might want to preserve the space in the above
case (tho it presumes that the user really intended it to be the sig
separator, which seems quite unlikely nowadays because AFAICT most
users have no idea that such a thing even exists).
But what about:

    M-> -- SPC hello world M-b M-b RET

should this RET be interpreted as an intention to turn the "-- SPC" into
a sig separator?


        Stefan






reply via email to

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