all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Emanuel Berg <moasenwood@zoho.eu>
Cc: help-gnu-emacs@gnu.org
Subject: Re: bug in message-message mode?
Date: Mon, 18 Oct 2021 20:51:18 +0200	[thread overview]
Message-ID: <871r4iduu9.fsf@gnu.org> (raw)
In-Reply-To: <8735oy70p6.fsf@zoho.eu>

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



  reply	other threads:[~2021-10-18 18:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-17  1:47 bug in message-message mode? Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-17  9:37 ` Tassilo Horn
2021-10-17 10:02   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-17 18:18     ` Tassilo Horn
2021-10-18 16:32       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-18 18:51         ` Tassilo Horn [this message]
2021-10-18 21:01           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-30  8:12           ` Emanuel Berg via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871r4iduu9.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.