* add support for using mu cfind as an external address book for 'mutt' + document

This commit is contained in:
Dirk-Jan C. Binnema
2011-03-06 12:40:08 +02:00
parent 66a839a742
commit f8fd420215
3 changed files with 35 additions and 14 deletions

View File

@ -51,14 +51,15 @@ The regular expressions are Perl-compatible (as per the PCRE-library).
set the output format to the given value. The following are available:
.nf
| --format= | description |
|-------------+-------------------------------|
| plain | default, simple list |
| mutt | mutt alias-format |
| wl | wanderlust addressbook format |
| org-contact | org-mode org-contact format |
| bbdb | BBDB format |
| csv | comma-separated values |
| --format= | description |
|-------------+-----------------------------------|
| plain | default, simple list |
| mutt-alias | mutt alias-format |
| mutt-ab | mutt external address book format |
| wl | wanderlust addressbook format |
| org-contact | org-mode org-contact format |
| bbdb | BBDB format |
| csv | comma-separated values |
.fi
.SH RETURN VALUE
@ -75,6 +76,19 @@ non-zero return value, for example:
| 2 | no matches (for 'mu cfind') |
.si
.SH INTEGRATION WITH MUTT
You can use \fBmu cfind\fR as an external address book server for
\fBmutt\fR. For this to work add the following to your \fImuttrc\fR:
.sh
set query_command = "mu cfind --format=mutt-ab '%s'"
.si
Now, in mutt, you can easily search for e-mail address using the
\fBquery\fR-command, which is by default accessible by pressing \fBQ\fR.
.SH BUGS
Please report bugs if you find them: