unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* emacs: Respecting message-cite-style
@ 2023-03-15 18:19 Keith Packard
  0 siblings, 0 replies; only message in thread
From: Keith Packard @ 2023-03-15 18:19 UTC (permalink / raw)
  To: notmuch


[-- 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 --]



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-15 18:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-15 18:19 emacs: Respecting message-cite-style Keith Packard

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).