Re: [PATCH 3/4] config: only set search.exclude_tags to "deleted; spam; " during...
authorJani Nikula <jani@nikula.org>
Mon, 23 Jan 2012 08:31:23 +0000 (08:31 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:43:00 +0000 (09:43 -0800)
7b/ef2b69fe0977006a87cbe08273d13c45deccdb [new file with mode: 0644]

diff --git a/7b/ef2b69fe0977006a87cbe08273d13c45deccdb b/7b/ef2b69fe0977006a87cbe08273d13c45deccdb
new file mode 100644 (file)
index 0000000..9425ffd
--- /dev/null
@@ -0,0 +1,147 @@
+Return-Path: <jani@nikula.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 328BE429E5B\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 00:31:29 -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 qhdYdzxegtXZ for <notmuch@notmuchmail.org>;\r
+       Mon, 23 Jan 2012 00:31:28 -0800 (PST)\r
+Received: from mail-qw0-f46.google.com (mail-qw0-f46.google.com\r
+       [209.85.216.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 732B5429E54\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 00:31:28 -0800 (PST)\r
+Received: by qadc10 with SMTP id c10so1884633qad.5\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 00:31:27 -0800 (PST)\r
+Received: by 10.224.100.138 with SMTP id y10mr6057557qan.42.1327307487773;\r
+       Mon, 23 Jan 2012 00:31:27 -0800 (PST)\r
+Received: from localhost (nikula.org. [92.243.24.172])\r
+       by mx.google.com with ESMTPS id g9sm13015859qad.16.2012.01.23.00.31.25\r
+       (version=SSLv3 cipher=OTHER); Mon, 23 Jan 2012 00:31:26 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Pieter Praet <pieter@praet.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: <87d3aac0bl.fsf@praet.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>\r
+User-Agent: Notmuch/0.10.2+187~g43d4f26 (http://notmuchmail.org) Emacs/23.1.1\r
+       (i686-pc-linux-gnu)\r
+Date: Mon, 23 Jan 2012 08:31:23 +0000\r
+Message-ID: <87wr8in7l0.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+X-Gm-Message-State:\r
+ ALoCoQkk+BRMsbErUwcHAv7JE2/b5wjFbAKWUzr3QMhUWj8ZIWJy4IsqyeO06urhKRkRJ9wIm9yV\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: Mon, 23 Jan 2012 08:31:29 -0000\r
+\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> wro=\r
+te:\r
+> > > On Sun, 22 Jan 2012 14:53:41 -0800, Jameson Graef Rollins <jrollins@f=\r
+inestructure.net> wrote:\r
+> > > > On Sun, 22 Jan 2012 23:14:13 +0100, Xavier Maillard <xavier@maillar=\r
+d.im> wrote:\r
+> > > > >=20\r
+> > > > > On Thu, 19 Jan 2012 20:19:03 +0100, Pieter Praet <pieter@praet.or=\r
+g> wrote:\r
+> > > > > > If the 'search.exclude_tags' option is missing from the config =\r
+file,\r
+> > > > > > its value is automatically set to "deleted;spam;".  Taking PoLS=\r
+/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 po=\r
+st. I\r
+> > > > > do not expect notmuch to skew my search queries not that I specif=\r
+ically\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 so,=\r
+ 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 my\r
+> > > > searches tampered with behind the scenes) but the issue here is abo=\r
+ut\r
+> > > > messages that have been explicitly tagged as a form of "trash".  Tr=\r
+ash\r
+> > > > is by it's nature something you're trying to get rid of.  If you wa=\r
+nted\r
+> > > > to find something in the future, why would you put it in the trash =\r
+in\r
+> > > > the first place?\r
+> > > >=20\r
+> > >=20\r
+> > > You definitely have a point, but then again, who are we to assume that\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 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 like\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
+\r
+Whether there's reason or not, certain tags are special, for a fact, and\r
+they are not just recommendations. 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
+\r
+BR,\r
+Jani.\r