]> git.cworth.org Git - obsolete/notmuch-wiki/blobdiff - emacstips.mdwn
bouncing messages
[obsolete/notmuch-wiki] / emacstips.mdwn
index 2c360b255c0494049361a3548ad9bfe012287e65..311de7101ad08597809bfe30e82ca8fe5b263f2a 100644 (file)
@@ -92,6 +92,17 @@ mentioned as script arguments. (Note: The script expects that you have
         done
         emacsclient -a '' -c -e "(progn (compose-mail) $attach_cmds)"
 
+## Issues with Emacs 24
+
+If notmuch-show-mode behaves badly for you in emacs 24.x try adding one of
+
+       (setq gnus-inhibit-images nil)
+
+or
+
+       (require 'gnus-art)
+
+to your .emacs file.
 
 -----
 
@@ -122,8 +133,8 @@ a file called `~/.emacs.d/my-notmuch.el`:
         ;; uncomment & modify if you want to use external smtp server to send mail
         ;; (setq smtpmail-smtp-server "smtp.server.tld"
         ;;       message-send-mail-function 'message-smtpmail-send-it)
-       ;; uncomment to debug smtp sending problems
-       ;; (setq smtpmail-debug-info t)
+        ;; uncomment to debug smtp sending problems
+        ;; (setq smtpmail-debug-info t)
 
 Then, add to `.emacs`:
 
@@ -528,3 +539,15 @@ more information (some of these have "extensive documentation"):
 The last two do the same thing.
 
 See also the **Usage:** section in `gnus-alias.el`.
+
+## Resending (or bouncing) messages
+
+Add the following to your `.emacs` to be able to resend the current message in
+show mode.
+
+        (define-key notmuch-show-mode-map "b"
+          (lambda (&optional address)
+            "Bounce the current message."
+            (interactive "sBounce To: ")
+            (notmuch-show-view-raw-message)
+            (message-resend address)))