From: "Uwe Kleine-König" <uwe@kleine-koenig.org>
To: notmuch@notmuchmail.org
Subject: setting NOTMUCH_CONFIG in hooks
Date: Wed, 3 Jun 2020 08:24:34 +0200 [thread overview]
Message-ID: <8baa58c3-7ab9-ec03-1bbd-28aa5be838f2@kleine-koenig.org> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 415 bytes --]
Hello,
when I run
notmuch --config=$HOME/.notmuch-config-work new
NOTMUCH_CONFIG isn't set when the hooks are running. This would however
be quite useful such that e.g. afew uses the right database. Of course I
could do
NOTMUCH_CONFIG=$HOME/.notmuch-config-work notmuch new
instead, but then it would be consequent to drop the --config option
from notmuch completely :-)
Best regards
Uwe
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next reply other threads:[~2020-06-03 6:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-03 6:24 Uwe Kleine-König [this message]
2020-06-03 14:12 ` setting NOTMUCH_CONFIG in hooks David Bremner
2021-04-27 12:34 ` David Bremner
2021-04-27 13:03 ` Michael J Gruber
2021-08-28 14:49 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8baa58c3-7ab9-ec03-1bbd-28aa5be838f2@kleine-koenig.org \
--to=uwe@kleine-koenig.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).