]> git.notmuchmail.org Git - notmuch/commit
emacs: add `notmuch-show-stash-mlarchive-link{, -and-go}'
authorPieter Praet <pieter@praet.org>
Sun, 19 Feb 2012 20:50:27 +0000 (21:50 +0100)
committerDavid Bremner <bremner@debian.org>
Sat, 25 Feb 2012 14:34:27 +0000 (10:34 -0400)
commit2f86290aaf6e4b0de54ea75ca17ce129bfbf3730
tree7d19ed4d7479bd97a15fa2f7038ebd30abd41ee8
parente2a68f9941fb903f5db7e7978ec7c6b2ad8158c1
emacs: add `notmuch-show-stash-mlarchive-link{, -and-go}'

* emacs/notmuch-show.el

  (notmuch-show-stash-mlarchive-link-alist):
    New defcustom of type `alist' (key = name, value = URI),
    containing Mailing List Archive URI's for searching by Message-Id.

  (notmuch-show-stash-mlarchive-link-default):
    New defcustom, default MLA to use when `notmuch-show-stash-mlarchive-link'
    received no user input whatsoever.  Available choices are generated using
    the contents of `notmuch-show-stash-mlarchive-link-alist'.

  (notmuch-show-stash-map):
    Added keybinds "l" and "L" for `notmuch-show-stash-mlarchive-link'
    respectively `notmuch-show-stash-mlarchive-link-and-go'.

  (notmuch-show-stash-mlarchive-link):
    New function, stashes a URI pointing to the current message at one
    of the MLAs configured in `notmuch-show-stash-mlarchive-link-alist'.
    Prompts user with `completing-read' if not provided with an MLA key.

  (notmuch-show-stash-mlarchive-link-and-go):
    New function, uses `notmuch-show-stash-mlarchive-link' to
    stash a URI, and then visits it using the browser configured
    in `browse-url-browser-function'.

Based on original work [1] by David Edmondson <dme@dme.org>.

[1] id:"1327397873-20596-1-git-send-email-dme@dme.org"
emacs/notmuch-show.el
test/emacs