Re: [PATCH 3/4] config: only set search.exclude_tags to "deleted; spam; " during...
authorPieter Praet <pieter@praet.org>
Wed, 25 Jan 2012 00:42:46 +0000 (01:42 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:43:10 +0000 (09:43 -0800)
a3/6e4711ce201b1c04aa1b620cbaf7feff035af8 [new file with mode: 0644]

diff --git a/a3/6e4711ce201b1c04aa1b620cbaf7feff035af8 b/a3/6e4711ce201b1c04aa1b620cbaf7feff035af8
new file mode 100644 (file)
index 0000000..4370879
--- /dev/null
@@ -0,0 +1,168 @@
+Return-Path: <pieter@praet.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 3AAB2431E84\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Jan 2012 16:44:44 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Xs65jtsghWmF for <notmuch@notmuchmail.org>;\r
+       Tue, 24 Jan 2012 16:44:43 -0800 (PST)\r
+Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
+ [74.125.82.45])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 47896431FB6   for <notmuch@notmuchmail.org>; Tue, 24 Jan 2012 16:44:43 -0800\r
+ (PST)\r
+Received: by wgbdt12 with SMTP id dt12so4290890wgb.2\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Jan 2012 16:44:42 -0800 (PST)\r
+Received: by 10.180.81.35 with SMTP id w3mr24555415wix.10.1327452281992;\r
+       Tue, 24 Jan 2012 16:44:41 -0800 (PST)\r
+Received: from localhost ([109.131.95.182])\r
+       by mx.google.com with ESMTPS id l12sm15125699wiw.0.2012.01.24.16.44.40\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Tue, 24 Jan 2012 16:44:41 -0800 (PST)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: Jani Nikula <jani@nikula.org>,\r
+       Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       Xavier Maillard <xma@gnu.org>, Austin Clements <amdragon@MIT.EDU>\r
+Subject: Re: [PATCH 3/4] config: only set search.exclude_tags to "deleted;\r
+ spam; " during setup\r
+In-Reply-To: <87wr8in7l0.fsf@nikula.org>\r
+References: <1326586654-16840-3-git-send-email-amdragon@mit.edu>\r
+       <1327000744-25463-1-git-send-email-pieter@praet.org>\r
+       <1327000744-25463-4-git-send-email-pieter@praet.org>\r
+       <m2r4yr2xmy.fsf@kcals.intra.maillard.im>\r
+       <874nvnqrgq.fsf@servo.finestructure.net>\r
+       <87ipk3au08.fsf@praet.org> <8739b6opce.fsf@nikula.org>\r
+       <87d3aac0bl.fsf@praet.org> <87wr8in7l0.fsf@nikula.org>\r
+User-Agent: Notmuch/0.11+113~g5a6e67e (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+Date: Wed, 25 Jan 2012 01:42:46 +0100\r
+Message-ID: <87hazksjcp.fsf@praet.org>\r
+MIME-Version: 1.0\r
+X-Gm-Message-State:\r
+ ALoCoQmezbsyt/lFOZbC1BwRe50vnDpxlITNqjb4IEbXfwymjI08fSA+cr+R16rXvfzO6RodlTHl\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 25 Jan 2012 00:44:44 -0000\r
+\r
+On Mon, 23 Jan 2012 08:31:23 +0000, Jani Nikula <jani@nikula.org> wrote:\r
+> On Mon, 23 Jan 2012 09:03:42 +0100, Pieter Praet <pieter@praet.org> wrote:\r
+> > On Mon, 23 Jan 2012 07:22:25 +0000, Jani Nikula <jani@nikula.org> wrote:\r
+> > > On Mon, 23 Jan 2012 06:05:27 +0100, Pieter Praet <pieter@praet.org> w=\r
+rote:\r
+> > > > On Sun, 22 Jan 2012 14:53:41 -0800, Jameson Graef Rollins <jrollins=\r
+@finestructure.net> wrote:\r
+> > > > > On Sun, 22 Jan 2012 23:14:13 +0100, Xavier Maillard <xavier@maill=\r
+ard.im> wrote:\r
+> > > > > >=20\r
+> > > > > > On Thu, 19 Jan 2012 20:19:03 +0100, Pieter Praet <pieter@praet.=\r
+org> wrote:\r
+> > > > > > > If the 'search.exclude_tags' option is missing from the confi=\r
+g file,\r
+> > > > > > > its value is automatically set to "deleted;spam;".  Taking Po=\r
+LS/DWIM\r
+> > > > > > > into account, this should probably only happen during setup.\r
+> > > > > > >=20\r
+> > > > > > > This patch is actually Austin Clements' work:\r
+> > > > > > >   id:"20120117203211.GQ16740@mit.edu"\r
+> > > > > >=20\r
+> > > > > > I do not think this is a sane default. As I told it in another =\r
+post. I\r
+> > > > > > do not expect notmuch to skew my search queries not that I spec=\r
+ifically\r
+> > > > > > asked.\r
+> > > > >=20\r
+> > > > > Hi, Xavier.  Do you currently mark things as "deleted" or "spam"?=\r
+  If\r
+> > > > > not, this would have no affect on your search results.  If you do=\r
+, do\r
+> > > > > you currently expect those messages to show up in searches?  If s=\r
+o, why\r
+> > > > > did you mark them as "deleted" or "spam" to begin with?\r
+> > > > >=20\r
+> > > > > I agree with your point in principle (ie. I don't generally want =\r
+my\r
+> > > > > searches tampered with behind the scenes) but the issue here is a=\r
+bout\r
+> > > > > messages that have been explicitly tagged as a form of "trash".  =\r
+Trash\r
+> > > > > is by it's nature something you're trying to get rid of.  If you =\r
+wanted\r
+> > > > > to find something in the future, why would you put it in the tras=\r
+h in\r
+> > > > > the first place?\r
+> > > > >=20\r
+> > > >=20\r
+> > > > You definitely have a point, but then again, who are we to assume t=\r
+hat\r
+> > > > the terms "deleted" and "spam" have the *exact* same meaning for\r
+> > > > everyone?  (also see id:"8739bbo0br.fsf@praet.org")\r
+> > >=20\r
+> > > "deleted" used to be a tag recognized by notmuch, and it used to sync=\r
+ to\r
+> > > the T (trashed) maildir flag. Even if notmuch won't delete any of your\r
+> > > mails now, I don't think you should use "deleted" on messages you want\r
+> > > to see again. Please let's not split hairs about this.\r
+> > >=20\r
+> >=20\r
+> > Agreed, but it might be nice to make a clear distinction between\r
+> > concepts and the actual tags mapped to them.  I'm not suggestion we\r
+> > redefine the term "deleted", but from an internationalization\r
+> > standpoint, we shouldn't prevent users from mapping e.g. "verwijderd",\r
+> > "supprim=C3=A9", "gel=C3=B6scht", ... to the concept "deleted".\r
+> >=20\r
+> > > There really should be a definitive list of tags that are special to\r
+> > > lib/cli/emacs (like "inbox", "unread", "deleted", ...), or are\r
+> > > recommended for specific purposes (like "new" as an intermediate tag\r
+> > > before more sophisticated tagging), to avoid prolonged discussions li=\r
+ke\r
+> > > this.\r
+> > >=20\r
+> >=20\r
+> > A list of recommended tags would definitely be nice, as long as they\r
+> > remain recommendations (as opposed to obligations), especially since\r
+> > there's really no reason to designate certain tags as being "special".\r
+>=20\r
+> Whether there's reason or not, certain tags are special, for a fact, and\r
+> they are not just recommendations. [...]\r
+\r
+My mistake.  Thanks for the correction!\r
+\r
+\r
+> [...] Perhaps one day someone will\r
+> contribute patches to make them configurable, and separate the concepts\r
+> from the actual tags, but in the mean time it will be easier to just\r
+> document them for what they are.\r
+>=20\r
+\r
+Agreed.\r
+\r
+\r
+> BR,\r
+> Jani.\r
+\r
+\r
+Peace\r
+\r
+--=20\r
+Pieter\r