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 B005E429E5B for ; Mon, 23 Jan 2012 00:24:50 -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 TSr48LmuFxxN for ; Mon, 23 Jan 2012 00:24:48 -0800 (PST) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 97228429E54 for ; Mon, 23 Jan 2012 00:24:48 -0800 (PST) Received: by qcpx40 with SMTP id x40so1686290qcp.26 for ; Mon, 23 Jan 2012 00:24:48 -0800 (PST) Received: by 10.229.102.76 with SMTP id f12mr2309651qco.1.1327307087899; Mon, 23 Jan 2012 00:24:47 -0800 (PST) Received: from localhost (nikula.org. [92.243.24.172]) by mx.google.com with ESMTPS id gw6sm25573214qab.1.2012.01.23.00.24.45 (version=SSLv3 cipher=OTHER); Mon, 23 Jan 2012 00:24:47 -0800 (PST) From: Jani Nikula To: Jameson Graef Rollins , Pieter Praet , Xavier Maillard , Austin Clements Subject: Re: [PATCH 3/4] config: only set search.exclude_tags to "deleted; spam; " during setup In-Reply-To: <87sjj627i7.fsf@servo.finestructure.net> 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> <87sjj627i7.fsf@servo.finestructure.net> User-Agent: Notmuch/0.10.2+187~g43d4f26 (http://notmuchmail.org) Emacs/23.1.1 (i686-pc-linux-gnu) Date: Mon, 23 Jan 2012 08:24:44 +0000 Message-ID: <87zkden7w3.fsf@nikula.org> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmqGfOMkOBMv9fHxelARsWMHhSg/CvGsZRtEc2+Df+aN/Oe8EGI3836jPYU6bnO0LhE9c2Y Content-Type: text/plain; charset=us-ascii 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: Mon, 23 Jan 2012 08:24:50 -0000 On Sun, 22 Jan 2012 23:38:40 -0800, Jameson Graef Rollins wrote: > On Mon, 23 Jan 2012 07:22:25 +0000, Jani Nikula wrote: > > 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 like > > this. > > Just to be clear: the lib doesn't assign any special meaning to any tag > (as it shouldn't). The cli does, but only in the sense that it creates > config files that designate certain tags for certain operations by > default. It's really in emacs where certain tags currently have > unconfigurable meanings ("inbox"). The lib *does* assign special meaning to the tags it syncs to maildir flags: draft, flagged, passed, replied, unread. (deleted used to be part of the list.) The cli does have to request the syncing, but the mapping is in the lib (flag2tag array in lib/message.cc). BR, Jani.