From: Keith Packard <keithp@keithp.com>
To: notmuch@notmuchmail.org
Subject: emacs: Respecting message-cite-style
Date: Wed, 15 Mar 2023 11:19:11 -0700 [thread overview]
Message-ID: <87v8j1g9nk.fsf@keithp.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 675 bytes --]
When replying to mail, notmuch normally inserts the cited email using
'message-cite-original'. That function doesn't apply any citation style
settings from message-cite-style — message-yank-buffer does that before
(eventually) getting down to message-cite-original.
It seems that using message-yank-original "just works" for me as a
setting for notmuch-mua-cite-function, and now the settings from
message-cite-style do get applied.
With this, it would be easy to add gnus-style auto-selection of
message-cite-style based on header contents, so I can reply to work
email in 'outlook' style while replying to regular email in 'normal'
style.
--
-keith
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
reply other threads:[~2023-03-15 18:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v8j1g9nk.fsf@keithp.com \
--to=keithp@keithp.com \
--cc=notmuch@notmuchmail.org \
/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 public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).