Obey message-cite-reply-position from Emacs' message.el

Subject: Obey message-cite-reply-position from Emacs' message.el

Date: Sun, 13 Oct 2024 02:54:15 -0500

To: notmuch@notmuchmail.org

Cc:

From: Kristoffer Balintona


Hello,

Message.el has a user option called message-cite-reply-position that
determines where a signature is placed in an email compositino buffer
when replying. Its docstring reads:

    Where the reply should be positioned.
    If ‘traditional’, reply inline.
    If ‘above’, reply above quoted text.
    If ‘below’, reply below quoted text.

    Note: Many newsgroups frown upon nontraditional reply styles.
    You probably want to set this variable only for specific groups,
    e.g. using ‘gnus-posting-styles’:

      (eval (setq-local message-cite-reply-position 'above))

The current behavior of notmuch accords with the user values of below
and traditional but not above.

The notmuch function responsible for the position of the signature (or,
rather, the position of the citations) is notmuch-mua-reply. I have
attached a patch that adds a brief snippet which obeys
message-cite-reply-position when its value is above.

-- 
Best,
Kristoffer
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: