X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacstips.mdwn;h=f20b325208683388132fe4f60ba8e6e52fffef07;hb=fc555c57dce98da6ab3bc92a4831a14c91807b6e;hp=3bf06fd7f5939dc5750f78a10013f04b2f6e6436;hpb=116177d39d3b332911c143f073d0275b23e3a07a;p=notmuch-wiki diff --git a/emacstips.mdwn b/emacstips.mdwn index 3bf06fd..f20b325 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -94,7 +94,7 @@ above. To get this behaviour on 0.17+ do the following: (define-key notmuch-search-mode-map "S" (lambda (&optional beg end) "mark thread as spam" - (interactive (notmuch-search-interactive-region)) + (interactive (notmuch-interactive-region)) (notmuch-search-tag (list "+spam" "-inbox") beg end))) The analogous functionality in notmuch-tree is currently missing. @@ -583,8 +583,8 @@ Here is an example configuration. ;; Use "home" identity by default (setq gnus-alias-default-identity "home") ;; Define rules to match work identity - (setq gnus-alias-identity-rules) - '(("work" ("any" "john.doe@\\(example\\.com\\|help\\.example.com\\)" both) "work")) + (setq gnus-alias-identity-rules + '(("work" ("any" "john.doe@\\(example\\.com\\|help\\.example.com\\)" both) "work"))) ;; Determine identity when message-mode loads (add-hook 'message-setup-hook 'gnus-alias-determine-identity) @@ -758,6 +758,9 @@ In general it is nice to have a key for org-links (not just for notmuch). For ex (define-key global-map "\C-cl" 'org-store-link) +Note the package was renamed from `org-notmuch` to `ol-notmuch` in recent +versions of org-mode, and you might want to `(require 'ol-notmuch)` instead. + ## Viewing diffs in notmuch The following code allows you to view an inline patch in diff-mode