X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacstips.mdwn;h=f20b325208683388132fe4f60ba8e6e52fffef07;hb=f4fb8dc03a7939824ece96586b74caec28c3bc0c;hp=2269cb7739892cf9d63ff01315e6bf7e3e818d56;hpb=ef658d2b34deac241229b1e80de2566765472ba3;p=notmuch-wiki diff --git a/emacstips.mdwn b/emacstips.mdwn index 2269cb7..f20b325 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -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