[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in message-message mode?
From: |
Tassilo Horn |
Subject: |
Re: bug in message-message mode? |
Date: |
Mon, 18 Oct 2021 20:51:18 +0200 |
User-agent: |
mu4e 1.7.0; emacs 29.0.50 |
Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:
>>> The --- after the header is also a delimiter, but there it
>>> works. (See `rfc822-goto-eoh'.)
>>>
>>> There's no reason it should work on the
>>> signature delimiter.
>>>
>>> Or is there?
>>
>> I don't know. But it seems that this behavior is only there when the
>> text has both a `field' and `rear-nonsticky' property. You can
>> experiment with it in *stratch*:
>>
>> (insert "\n\n"
>> (propertize "test" 'field 'foobar 'rear-nonsticky t)
>> "\n")
>
> OK, I don't know what `rear-nonsticky' is supposed to denote but '--
> \n' isn't a field,
Well, somebody thought it would be a good idea to place a field property
on "-- " and I guess there were reasons. Maybe one effect is that it
supresses whitespace cleanup (the trailing space is significant), and
paragraph filling.
> with the fields it makes sense to first go to the beginning of the
> field, then (as already) there go to the beginning of the line ...
Yes, that's controlled by `message-beginning-of-line'.
> But on the signature delimiter - and only at the last char -
> nothing happens at all.
>
> A bug maybe?
Maybe. Or an nonintended side-effect. If it bothers you, file a bug
report.
Bye,
Tassilo