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