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

diff --git a/6e/2e95c4de485580bc244302b878fee1793ca80d b/6e/2e95c4de485580bc244302b878fee1793ca80d
new file mode 100644 (file)
index 0000000..96fdc92
--- /dev/null
@@ -0,0 +1,106 @@
+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 86342431E84\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Jan 2012 16:45:25 -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 YNnbJKsgRnG2 for <notmuch@notmuchmail.org>;\r
+       Tue, 24 Jan 2012 16:45:25 -0800 (PST)\r
+Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
+       [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id CFB0A431FB6\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Jan 2012 16:45:24 -0800 (PST)\r
+Received: by wibhi8 with SMTP id hi8so2068665wib.26\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Jan 2012 16:45:23 -0800 (PST)\r
+Received: by 10.180.96.3 with SMTP id do3mr7647552wib.1.1327452323741;\r
+       Tue, 24 Jan 2012 16:45:23 -0800 (PST)\r
+Received: from localhost ([109.131.95.182])\r
+       by mx.google.com with ESMTPS id fr8sm48537407wib.10.2012.01.24.16.45.22\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Tue, 24 Jan 2012 16:45:23 -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: <87zkden7w3.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
+       <87sjj627i7.fsf@servo.finestructure.net>\r
+       <87zkden7w3.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:43:33 +0100\r
+Message-ID: <87ehuosjbe.fsf@praet.org>\r
+MIME-Version: 1.0\r
+X-Gm-Message-State:\r
+ ALoCoQnOmOaBjygNrM9ialyhzCvyAhnRHf/MHHui39UUOUjTJa/tZjaA0Lhs0j0tH4p+5aiZe73n\r
+Content-Type: text/plain; charset=us-ascii\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:45:25 -0000\r
+\r
+On Mon, 23 Jan 2012 08:24:44 +0000, Jani Nikula <jani@nikula.org> wrote:\r
+> On Sun, 22 Jan 2012 23:38:40 -0800, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
+> > On Mon, 23 Jan 2012 07:22:25 +0000, Jani Nikula <jani@nikula.org> wrote:\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
+> > \r
+> > Just to be clear: the lib doesn't assign any special meaning to any tag\r
+> > (as it shouldn't).  The cli does, but only in the sense that it creates\r
+> > config files that designate certain tags for certain operations by\r
+> > default.  It's really in emacs where certain tags currently have\r
+> > unconfigurable meanings ("inbox").\r
+> \r
+> The lib *does* assign special meaning to the tags it syncs to maildir\r
+> flags: draft, flagged, passed, replied, unread. (deleted used to be part\r
+> of the list.) The cli does have to request the syncing, but the mapping\r
+> is in the lib (flag2tag array in lib/message.cc).\r
+> \r
+\r
+Hmmm, right.\r
+\r
+And seeing as how we can't simply replace the hardcoded tag names in\r
+the flag2tag array with calls to the `notmuch_config_get_*' functions\r
+(or move the Maildir sync stuff out of the lib altogether), custom\r
+tag-to-concept mapping probably won't become a reality anytime soon.\r
+\r
+Too bad...\r
+\r
+\r
+> BR,\r
+> Jani.\r
+\r
+\r
+Peace\r
+\r
+-- \r
+Pieter\r