From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 86342431E84 for ; Tue, 24 Jan 2012 16:45:25 -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 YNnbJKsgRnG2 for ; Tue, 24 Jan 2012 16:45:25 -0800 (PST) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id CFB0A431FB6 for ; Tue, 24 Jan 2012 16:45:24 -0800 (PST) Received: by wibhi8 with SMTP id hi8so2068665wib.26 for ; Tue, 24 Jan 2012 16:45:23 -0800 (PST) Received: by 10.180.96.3 with SMTP id do3mr7647552wib.1.1327452323741; Tue, 24 Jan 2012 16:45:23 -0800 (PST) Received: from localhost ([109.131.95.182]) by mx.google.com with ESMTPS id fr8sm48537407wib.10.2012.01.24.16.45.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Jan 2012 16:45:23 -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: <87zkden7w3.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> <87sjj627i7.fsf@servo.finestructure.net> <87zkden7w3.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:43:33 +0100 Message-ID: <87ehuosjbe.fsf@praet.org> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnOmOaBjygNrM9ialyhzCvyAhnRHf/MHHui39UUOUjTJa/tZjaA0Lhs0j0tH4p+5aiZe73n 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: Wed, 25 Jan 2012 00:45:25 -0000 On Mon, 23 Jan 2012 08:24:44 +0000, Jani Nikula wrote: > 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). > Hmmm, right. And seeing as how we can't simply replace the hardcoded tag names in the flag2tag array with calls to the `notmuch_config_get_*' functions (or move the Maildir sync stuff out of the lib altogether), custom tag-to-concept mapping probably won't become a reality anytime soon. Too bad... > BR, > Jani. Peace -- Pieter