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 D556F421198 for ; Sat, 14 Jan 2012 16:14:33 -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 H3ws-SdLz1vo for ; Sat, 14 Jan 2012 16:14:33 -0800 (PST) Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU [18.9.25.13]) by olra.theworths.org (Postfix) with ESMTP id 3CAF7421176 for ; Sat, 14 Jan 2012 16:14:33 -0800 (PST) X-AuditID: 1209190d-b7fbf6d0000008ba-e9-4f121a681324 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id B3.56.02234.86A121F4; Sat, 14 Jan 2012 19:14:32 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id q0F0EVJr009508; Sat, 14 Jan 2012 19:14:31 -0500 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q0F0EUWn027248 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Sat, 14 Jan 2012 19:14:31 -0500 (EST) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1RmDjv-0002JC-Ax; Sat, 14 Jan 2012 19:14:27 -0500 Date: Sat, 14 Jan 2012 19:14:27 -0500 From: Austin Clements To: Jameson Graef Rollins Subject: Re: [PATCH v2 3/3] search: Support automatic tag exclusions Message-ID: <20120115001427.GG1801@mit.edu> References: <1326258173-21163-1-git-send-email-amdragon@mit.edu> <1326496024-14403-1-git-send-email-amdragon@mit.edu> <1326496024-14403-4-git-send-email-amdragon@mit.edu> <87wr8tsvit.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wr8tsvit.fsf@servo.finestructure.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgleLIzCtJLcpLzFFi42IR4hTV1s2QEvI3+NRsaNE03dlizz4vi+s3 ZzI7MHvcPc3lcev+a3aPZ6tuMQcwR3HZpKTmZJalFunbJXBlvF/2hLHgFW/Fio9/2BoYf3N1 MXJySAiYSKz4d4cVwhaTuHBvPVsXIxeHkMA+Ronpn46wgCSEBDYwSvRODYJInGSSOL9pIiOE s4RR4tOSBqAqDg4WAVWJz0t9QRrYBDQktu1fzghiiwiYSfR8+QNmMwvoSLw+/B6sXFjARWJD px6IySugLfH8gjDExJuMEv9O/QY7iFdAUOLkzCcsEK1aEjf+vWQCqWcWkJZY/o8DJMwpYCqx 4MF7ZhBbVEBFYsrJbWwTGIVmIemehaR7FkL3AkbmVYyyKblVurmJmTnFqcm6xcmJeXmpRbpG ermZJXqpKaWbGMEBLsm7g/HdQaVDjAIcjEo8vEU5Av5CrIllxZW5hxglOZiURHlnSwj5C/El 5adUZiQWZ8QXleakFh9ilOBgVhLhXcAKlONNSaysSi3Kh0lJc7AoifOqar3zExJITyxJzU5N LUgtgsnKcHAoSfBOlgRqFCxKTU+tSMvMKUFIM3FwggznARreAVLDW1yQmFucmQ6RP8WoKCXO OxskIQCSyCjNg+uFJaBXjOJArwjz9oNU8QCTF1z3K6DBTECDy1L4QAaXJCKkpBoYUzZU22+e 2qvTklsRkx142j1W80zfKX8Ou+SgrfX/7+mUpT2KWGLSPq3yPsPhZkP17d4OPqt361d5SZ/N 1ub7FbCi/6cN60mV3b3Xf56e8JftRJvic33/ok7NxQuMjn+L8XPpSwr87n3ygn/ChMTHF7ye XEm0TuSy2lJlsvMpE8P8ZSa+hquUWIozEg21mIuKEwEHV7lyGwMAAA== Cc: notmuch@notmuchmail.org 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: Sun, 15 Jan 2012 00:14:34 -0000 Quoth Jameson Graef Rollins on Jan 14 at 3:40 pm: > This patch looks fine. Philosophical UI discussion to follow: > > On Fri, 13 Jan 2012 18:07:04 -0500, Austin Clements wrote: > > + if (notmuch_config_get_auto_exclude_tags (config, &tmp) == NULL) { > > + const char *tags[] = { "deleted", "spam" }; > > + notmuch_config_set_auto_exclude_tags (config, tags, 2); > > + } > > This creates the config section with the exclude list pre-set to > "deleted;spam". I personally have no problem with this, since I was > going to be setting exactly that anyway. However, assuming we decide to > have this be the default in the CLI, should we therefore add support for > it in the emacs UI? I've been going back and forth on this (as readers > are well aware), and have most recently rejected the idea that we should > add delete support to the emacs UI. However, if we are excluding > "deleted" tags by default, then I'm going to go back and say that we > should include the keybindings to "delete" messages. Comments? It's not that Emacs doesn't support the deleted tag. You can always +deleted, and this even seems like a pretty natural thing to do. To me, the question is whether there should be a shortcut to do this. I'm probably not one to answer this, since I don't plan to use the deleted tag and hence using this binding would only ever be an accident (though I will use the spam tag and I don't think I need a binding for that; perhaps I would feel differently if my spam filters were less effective). > If people think we should exclude "deleted;spam" by default, and agree > that we should also add delete support in the emacs UI, I'll go ahead > and rework my keybinding patches. > > jamie.