From: Sebastian Fischmeister Date: Mon, 13 Oct 2014 11:58:13 +0000 (-0400) Subject: Show the defadvice to overwrite the sender address. X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=commitdiff_plain;h=850e154903f6a36349938a595d7686be091dfa67 Show the defadvice to overwrite the sender address. --- diff --git a/emacstips.mdwn b/emacstips.mdwn index 7724e0b..c290192 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -133,6 +133,16 @@ to your .emacs file. # Advanced tips and tweaks +## Overwriting the sender address + +If you want to always use the same sender address, then the following +defadvice can help you. + + (defadvice notmuch-mua-reply (around notmuch-fix-sender) + (let ((sender "Max Monster ")) + ad-do-it)) + (ad-activate 'notmuch-mua-reply) + ## Initial cursor position in notmuch 0.15 hello window In notmuch version 0.15 emacs client the handling of cursor position in