unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Eric <eric@deptj.eu>
To: notmuch@notmuchmail.org
Subject: Re: Unexpected output of "notmuch new --quiet"
Date: Sat, 20 Apr 2019 12:45:04 +0200 (CEST)	[thread overview]
Message-ID: <b7a2346109a3e888c8d9e3ee737722137c051106-NM@bruno.deptj.eu> (raw)
In-Reply-To: <87v9z9h82x.fsf@ra.horus-it.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2238 bytes --]

On Sat, 20 Apr 2019 01:46:30 +0200, Ralph Seichter <abbot@monksofcool.net> wrote:
> * Daniel Kahn Gillmor:
> 
> > as far as maildir goes, i think notmuch probably *shouldn't* be
> > looking at stuff in …/tmp/ -- right?
> 
> You're right, I don't see why Notmuch would peek into "tmp".
> 
> > I'd be sad if those files went away, but perhaps you're right that
> > we should only be looking at are things within any cur/ and new/
> > subfolders within the message archive.
> 
> I don't mean to reduce Notmuch usability to get rid of a few unwanted
> messages on stderr. What I suggest is to consider all files outside of
> "cur" and "new" to be legitimate non-mail files by default. If Notmuch
> chooses to inspect them and detects valid messages, then fine, but the
> default assumption should be non-mail.

I suppose that having a configuration item to make notmuch do what it
does now if the default behaviour is changed isn't an enormous usability
reduction, but I still don't like it, and I would be very wary of assuming
that the necessary changes to the code will be as simple as it sounds.

> Think about how the files get there. You manually dumping some *.eml
> files in a directory is not exactly typical, IMO. ;-)

I think that there will be lots of people (and organisations) who get
collections of email from elsewhere and want to add them all to their
own single collection for reference, archival, and research purposes.

> I expect that in the majority of cases there is some MTA or fetchmail-like
> process storing mail files in a Maildir structure (flat, tree, or mixed
> like Dovecot does).

So that those emails would be forced into the IMAP folder structure,
making them visible (and possible distracting) there when viewed with
a traditional mail client?

> I think that altering Notmuch's expectations about files outside of
> well-known subdirectories should be possible without sacrificing its
> flexibility.

No, because that is part of its flexibility. Removing, or degrading,
notmuch's ability to access such files will mean that I may be looking
for a different solution to managing my email. That, of course, amy not
matter much to anyone else, but how many others will there be?

Eric
-- 
ms fnd in a lbry

  reply	other threads:[~2019-04-20 11:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-17 20:38 Unexpected output of "notmuch new --quiet" Ralph Seichter
2019-04-17 23:29 ` David Bremner
2019-04-18 13:15   ` Ralph Seichter
2019-04-18 13:29     ` David Bremner
2019-04-18 13:52       ` Ralph Seichter
2019-04-19  1:13         ` David Bremner
2019-04-19 11:47           ` Ralph Seichter
2019-04-19 12:02             ` Ralph Seichter
2019-04-19 16:25               ` David Bremner
2019-04-19 23:35                 ` Ralph Seichter
2019-04-19  7:03         ` Daniel Kahn Gillmor
2019-04-19 13:55           ` Ralph Seichter
2019-04-19 16:02             ` Daniel Kahn Gillmor
2019-04-19 23:28               ` David Bremner
2019-04-19 23:46               ` Ralph Seichter
2019-04-20 10:45                 ` Eric [this message]
2019-04-20 13:21                   ` Ralph Seichter
2019-04-20 14:19                     ` David Bremner
2019-04-20 14:28                       ` Ralph Seichter

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=b7a2346109a3e888c8d9e3ee737722137c051106-NM@bruno.deptj.eu \
    --to=eric@deptj.eu \
    --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).