aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch-address.el
Commit message (Collapse)AuthorAge
* emacs/notmuch-address.el: add notmuch-address-selection-functionGravatar Tomi Ollila2013-05-13
| | | | | | | | | | | | | | | | | | | Added a customizable variable notmuch-address-selection-function and the function with the same name to provide a way for user to change the function called to do address selection. By default the functionality is exactly the same as it has been so far; completing-read is called with the same parameters as before. Setting equivalent lambda expression in place of using notmuch-address-selection-function function is done as follows: (setq notmuch-address-selection-function (lambda (prompt collection initial-input) (completing-read prompt collection nil nil initial-input))) For example drop-in replacement with ido-completing-read can be done easily as an one alternative to the default.
* Revert "emacs: functions to import sender or recipient into BBDB"Gravatar David Bremner2013-04-06
| | | | | | | | This reverts commit 238bf4cb09423cac4efa968e70184daad39e2846. This commit was causing a build failure. Bad me for not checking before pushing.
* emacs: functions to import sender or recipient into BBDBGravatar Daniel Bergey2013-04-06
| | | | | | | | From a show buffer, notmuch-bbdb/snarf-from imports the sender into bbdb. notmuch-bbdb/snarf-to imports all recipients. Newly imported contacts are reported in the minibuffer / Messages buffer. Both functions use the BBDB parser to recognize email address formats.
* emacs: globally replace non-branching "(if (not ..." with "(unless ..."Gravatar Pieter Praet2012-01-21
| | | | Less code, same results, without sacrificing readability.
* emacs: logically group def{custom,face}sGravatar Pieter Praet2012-01-19
| | | | | | | | | | | | | | | | | | | | | To allow for expansion whilst keeping everything tidy and organized, move all defcustom/defface variables to the following subgroups, defined in notmuch-lib.el: - Hello - Search - Show - Send - Crypto - Hooks - External Commands - Appearance As an added benefit, defcustom keyword args are now consistently ordered as they appear @ defcustom's docstring (OCD much?). Proper defgroup docstrings and various other improvements by courtesy of Austin Clements.
* emacs: Don't prompt the user to choose from zero matching addresses.Gravatar David Edmondson2011-12-22
| | | | | | If the address matching function generates no matches, don't prompt the user to choose between them (!). Instead, generate a message to report that there were no matches.
* emacs: Tell the user how many addresses matched when completingGravatar David Edmondson2010-04-26
| | | | | | | | When completing an address, tell the user how many addresses in the database matched the query. Edited-by: Carl Worth <cworth@cworth.org>: Removed a stray numeric literal that was causing a compiler warning.
* emacs: Add notmuch-address.el for address completion using notmuchGravatar David Edmondson2010-04-23
A tool `notmuch-addresses' is required to produce addresses which match a query string. An example of a suitable script can be found in the git repository at http://jkr.acm.jhu.edu/git/notmuch_addresses.git There are no doubt others.