unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jani Nikula <jani@nikula.org>
To: Erik Rybakken <erik.rybakken@math.ntnu.no>, notmuch@notmuchmail.org
Subject: Re: Feature request: Finer control of paths
Date: Wed, 24 Aug 2016 20:45:36 +0300	[thread overview]
Message-ID: <87vayqnjr3.fsf@nikula.org> (raw)
In-Reply-To: <20160824163006.dzdvzjvkg5uxtrnh@dell>

On Wed, 24 Aug 2016, Erik Rybakken <erik.rybakken@math.ntnu.no> wrote:
> I would like to store hooks in a different directory from my mail.
> It would be nice to have an option "hooks.path" with default being
> "$DATABASEDIR/.notmuch/hooks/". Also, I think a similar option for
> the xabian database would make sense.

I think we agree it would be great to be able to configure the location
of .notmuch. Unfortunately, the notmuch library currently assumes it can
deduce the database location from the mail store location. The last I
checked, making it configurable was a bit complicated, and so far nobody
has thought it would be worth it. Making the hooks directory
configurable would be significantly simpler.

For the time being, you can work around the limitations by symlinking
.notmuch or .notmuch/hooks to your preferred location.

BR,
Jani.

  reply	other threads:[~2016-08-24 17:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-24 16:30 Feature request: Finer control of paths Erik Rybakken
2016-08-24 17:45 ` Jani Nikula [this message]
2016-08-24 21:55   ` [PATCH] Add option `hooks.path` for setting the directory of hooks Erik Rybakken
2016-08-26 10:57     ` David Bremner
2016-08-26 11:32     ` Tomi Ollila
2016-08-27 13:28       ` Erik Rybakken
2016-08-30  5:43         ` Tomi Ollila
2016-08-30  8:49           ` Erik Rybakken
2016-08-30 11:43             ` David Bremner
2016-08-30 13:35           ` Tomi Ollila
2016-08-30 17:51             ` Tomi Ollila

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=87vayqnjr3.fsf@nikula.org \
    --to=jani@nikula.org \
    --cc=erik.rybakken@math.ntnu.no \
    --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).