]> git.cworth.org Git - notmuch-wiki/blobdiff - emacstips.mdwn
Be sure to setup notmuch first.
[notmuch-wiki] / emacstips.mdwn
index 2cc8aac748e2851ae364743567518cabacacfa49..85476256af6b982c8e9c10c11afb8f5f230b6c9e 100644 (file)
@@ -3,13 +3,17 @@
 One of the more popular notmuch message reading clients is
 **notmuch.el**, an [emacs](http://www.gnu.org/software/emacs/) major
 mode for interacting with notmuch.  It is included in the notmuch
-package.  This page goes over some usage tips for using notmuch with
-Emacs.
+package (notmuch-emacs in Debian).  This page goes over some usage
+tips for using notmuch with Emacs.
 
 [[!toc levels=2]]
 
 ## Setup
 
+Have a look at the [Howto](http://notmuchmail.org/howto/) for
+prerequisites.  Be sure you have done the general setup using the
+notmuch cli command!
+
 To use the Notmuch emacs mode, first add the following line to your
 `.emacs` rc file:
 
@@ -584,7 +588,7 @@ buffer.
 
 Mailman mailing list software rewrites and rewraps long message subjects in
 a way that causes TABs to appear in the middle of the subject and header
-lines. Add this to your .emacs to replace tabs with spaces in subject
+lines. Add this to your `.emacs` to replace tabs with spaces in subject
 lines:
 
        (defun notmuch-show-subject-tabs-to-spaces ()
@@ -602,7 +606,7 @@ notmuch version 0.15):
        (defun notmuch-show-header-tabs-to-spaces ()
          "Replace tabs with spaces in header line."
          (setq header-line-format
-         (notmuch-show-strip-re
-          (replace-regexp-in-string "\t" " " (notmuch-show-get-subject)))))
+               (notmuch-show-strip-re
+                (replace-regexp-in-string "\t" " " (notmuch-show-get-subject)))))
 
        (add-hook 'notmuch-show-hook 'notmuch-show-header-tabs-to-spaces)