Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New buffer "directories" #1567

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

New buffer "directories" #1567

wants to merge 5 commits into from

Conversation

mwtkrayer
Copy link

I added a new buffer "directories" for myself which allows browsing mail by underlying directory structure in the notmuch database directory. It is heavily based on the "namedqueries" buffer, but constructs "path:" queries. Unfortunately, the directory structure seems not to be easily deducible from the notmuch database itself, so I rely on os.walk(self.path) to construct it. I am exclusively working with "Maildir" for which this approach works fine, however, i did not test it for other storage formats.

@mjg
Copy link
Contributor

mjg commented Jun 25, 2021

You could use xapian to list all terms with prefixesP resp. XFOLDER:. On the other hand, notmuch's own shell completion simply walks the filesystem, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants