From 850e154903f6a36349938a595d7686be091dfa67 Mon Sep 17 00:00:00 2001 From: Sebastian Fischmeister Date: Mon, 13 Oct 2014 07:58:13 -0400 Subject: [PATCH] Show the defadvice to overwrite the sender address. --- emacstips.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.43.0