summaryrefslogtreecommitdiff
path: root/docs/source/configuration/index.rst
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-02-24 14:32:26 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-02-24 14:32:26 +0000
commit140e29431d5a2b28c552e38779969f363c6ccb3a (patch)
tree791056eb6327348ebfb47c60b8537eef5f0c66d4 /docs/source/configuration/index.rst
parentfa1a8ab1626b2eec0902ccd172b467fc339d39fa (diff)
parent1ffc2f275b15040df92dc2f4b95374640fafc67b (diff)
Merge branch 'testing' of github.com:pazz/alot into testing
Diffstat (limited to 'docs/source/configuration/index.rst')
-rw-r--r--docs/source/configuration/index.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/source/configuration/index.rst b/docs/source/configuration/index.rst
index 465cd6e7..5102b1ff 100644
--- a/docs/source/configuration/index.rst
+++ b/docs/source/configuration/index.rst
@@ -63,15 +63,15 @@ respectively. See below for an example that uses `abook <http://abook.sourceforg
[[youraccount]]
...
abook_command = abook --mutt-query
- abook_regexp = '(?P<email>.+?@.+?)\s+(?P<name>.+?)\s*$'
+ abook_regexp = '^(?P<email>[^@]+@[^\t]+)\t+(?P<name>[^\t]+)'
-See `here <http://notmuchmail.org/emacstips/#index11h2>`_ for alternative lookup commands. The few others I have tested so far are:
+See `here <http://notmuchmail.org/emacstips/#index12h2>`_ for alternative lookup commands. The few others I have tested so far are:
`goobook <http://code.google.com/p/goobook/>`_
- for cached google contacts lookups::
+ for cached google contacts lookups. Works with the above default regexp::
abook_command = goobook query
- abook_regexp = (?P<email>.+?@.+?)\s\s+(?P<name>.+)\s\s+.+
+ abook_regexp = '^(?P<email>[^@]+@[^\t]+)\t+(?P<name>[^\t]+)'
`nottoomuch-addresses <http://www.iki.fi/too/nottoomuch/nottoomuch-addresses/>`_
completes contacts found in the notmuch index::