Skip to main content

Python version of the mutt-notmuch script

Project description

mutt-notmuch-py
===============

[![PyPI version](https://badge.fury.io/py/mutt-notmuch.svg)](https://badge.fury.io/py/mutt-notmuch)

This is a python version of the original mutt-notmuch script.

It will interactively ask you for a search query and then symlink the matching
messages to `$HOME/.cache/mutt_results`.

Add this to your muttrc.

```
macro index / "<enter-command>unset wait_key<enter><shell-escape>mutt-notmuch-py<enter><change-folder-readonly>~/.cache/mutt_results<enter>" \
"search mail (using notmuch)"
```

This script overrides the `$HOME/.cache/mutt_results` each time you run a
query.

Install this by adding this file somewhere on your `PATH`.

Tested on OSX Lion, OSX El Capitan, Fedora 23, and Arch Linux.

Options
-------

```
-g Use gmail specific info (All Mail search)
-G Do not use gmail specific info
-p [path] Limit search results to files with path in the path name
```

License
-------

BSD, short and sweet

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mutt-notmuch-1.3.0.tar.gz (2.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page