X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacstips.mdwn;h=c290192b7d2e8bd1ebd00f0a253a77d8ff8c9b51;hb=7efa7c88aa74158186485d456c6b7f473aa6ce28;hp=36bc09a3e2f1f9408f34400d96a7c92fb503713a;hpb=528fff88f131a53d77a4b07cbcd912b9ed69679b;p=notmuch-wiki diff --git a/emacstips.mdwn b/emacstips.mdwn index 36bc09a..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 @@ -334,51 +344,13 @@ useful to you. ## Viewing HTML messages with an external viewer -The emacs client can display an HTML message inline using either the -`html2text` library or some text browser, like w3m or lynx. This is -controlled by the `mm-text-html-renderer` variable. - -The first option is theorically better, because it can generate -strings formatted for emacs and do whatever you want, e.g., substitute -text inside <b> tags for bold text in the buffer. The library, however -is still in a very early development phase and cannot yet process -properly many elements, like tables and