Skip to content

NotmuchSettings: add support for profiles and XDG locations#368

Open
laarmen wants to merge 1 commit into
afewmail:masterfrom
laarmen:xdg_notmuch_config
Open

NotmuchSettings: add support for profiles and XDG locations#368
laarmen wants to merge 1 commit into
afewmail:masterfrom
laarmen:xdg_notmuch_config

Conversation

@laarmen

@laarmen laarmen commented Apr 2, 2026

Copy link
Copy Markdown

The location ~/.notmuch-config is still supported, but at some point notmuch also grew support for .config/notmuch/$profile/config as well.

The location ~/.notmuch-config is still supported, but at some point
notmuch also grew support for .config/notmuch/$profile/config as well.
@flokli

flokli commented Jul 15, 2026

Copy link
Copy Markdown
Member

I'm not a fan of our own config parsing in afew at all.

We can probably use .config on a notmuch2.Database to read the config, which would automatically follow all config locations.

And the parts writing the config should probably be moved somewhere to the test cases, as they're only use there.

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