Skip to content

Commit

Permalink
Merge pull request #762 from TomasTomecek/regex-for-notmuch-abook
Browse files Browse the repository at this point in the history
docs: add contact completion for notmuch-abook
  • Loading branch information
pazz committed Mar 25, 2015
2 parents 70d0bc3 + cd319a9 commit bffbeb7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/configuration/contacts_completion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ Both respect the `ignorecase` option which defaults to `True` and results in cas
command = nottoomuch-addresses.sh
regexp = \"(?P<name>.+)\"\s*<(?P<email>.*.+?@.+?)>
`notmuch-abook <https://github.com/guyzmo/notmuch-abook>`_
completes contacts found in database of notmuch-abook:

.. code-block:: ini
command = notmuch_abook.py lookup
regexp = ^((?P<name>[^(\\s+\<)]*)\s+<)?(?P<email>[^@]+?@[^>]+)>?$
Don't hesitate to send me your custom `regexp` values to list them here.

.. describe:: abook
Expand Down

0 comments on commit bffbeb7

Please sign in to comment.