unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Mark Anderson <MarkR.Anderson@amd.com>
To: Jameson Graef Rollins <jrollins@finestructure.net>,
	Andrei POPESCU <andreimpopescu@gmail.com>,
	<notmuch@notmuchmail.org>
Subject: Re: Handling of symlinked maildirs?
Date: Tue, 3 Apr 2012 14:35:17 -0600	[thread overview]
Message-ID: <3wdaa2swo3e.fsf@testarossa.amd.com> (raw)
In-Reply-To: <87sjgm3tp3.fsf@servo.finestructure.net>

On Mon, 2 Apr 2012 10:54:48 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> On Mon, Apr 02 2012, Andrei POPESCU <andreimpopescu@gmail.com> wrote:
> > Im sorting my mailing lists with generic maildrop rules like this one:
> >
> >     if (/^List-Id:.*<debian-(.*)\.lists.debian.org>/)
> >         to Maildir/.debian.$MATCH1/
> >
> > However, I'm subscribed to a *lot* of mailing lists and in order to keep 
> > my folder view sane I use symlinks to conflate some of them, e.g. 
> >
> > .debian.devel-announce -> .debian.devel
> >
> > This works well since mutt simply ignores the symlink(s) so I don't even 
> > need to exclude them in the config, but it seems that notmuch does index 
> > each of the symlinks as a separate folder[1].
> >
> > Does it make sense to have this configurable or even completely exclude 
> > the symlinks?
> 
> Hey, Andrei.  I would say that if you have a compelling reason that
> notmuch should be able to ignore symlinked directories then it maybe
> makes sense to have it configurable.  However, I must say that I have
> completely dropped the whole folder concept myself since I find it
> totally redundant with notmuch's tagging and searching capabilities.

Please don't exclude the indexing of symlinks in notmuch.  I have a
fairly restricted IT environment at work, where I have chosen to symlink
all my maildirs to other disks so that they appear in my home directory
but do not fill my home disk quota every day.  Often my different
maildirs are to make my non-notmuch mail viewing slightly tolerable.

There was a configuration option (new.ignore) added to 0.12 that lets
one specify names of things not to index. That may be enough to do what
you want, although not as automatic as just pitching all symlinks while
indexing.

Thanks,

-Mark

      reply	other threads:[~2012-04-03 20:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-02 11:28 Handling of symlinked maildirs? Andrei POPESCU
2012-04-02 16:02 ` Svend Sorensen
2012-04-02 17:54 ` Jameson Graef Rollins
2012-04-03 20:35   ` Mark Anderson [this message]

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=3wdaa2swo3e.fsf@testarossa.amd.com \
    --to=markr.anderson@amd.com \
    --cc=andreimpopescu@gmail.com \
    --cc=jrollins@finestructure.net \
    --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).