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 2C7CF421197 for ; Tue, 17 Jan 2012 12:21:35 -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 nqH43LlBbiMQ for ; Tue, 17 Jan 2012 12:21:24 -0800 (PST) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 8FB57421192 for ; Tue, 17 Jan 2012 12:21:24 -0800 (PST) Received: by eaah10 with SMTP id h10so2096865eaa.26 for ; Tue, 17 Jan 2012 12:21:22 -0800 (PST) Received: by 10.213.8.15 with SMTP id f15mr5245114ebf.64.1326831681845; Tue, 17 Jan 2012 12:21:21 -0800 (PST) Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi. [80.220.92.23]) by mx.google.com with ESMTPS id x43sm90177717eef.8.2012.01.17.12.21.19 (version=SSLv3 cipher=OTHER); Tue, 17 Jan 2012 12:21:20 -0800 (PST) From: Jani Nikula To: Jameson Graef Rollins , Notmuch Mail Subject: Re: on deleting messages In-Reply-To: <87vcoaywyu.fsf@servo.finestructure.net> References: <87vcoaywyu.fsf@servo.finestructure.net> User-Agent: Notmuch/0.11+76~g1de742d (http://notmuchmail.org) Emacs/23.3.1 (i686-pc-linux-gnu) Date: Tue, 17 Jan 2012 22:21:18 +0200 Message-ID: <877h0qkrlt.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Tue, 17 Jan 2012 20:21:35 -0000 On Tue, 17 Jan 2012 11:01:45 -0800, Jameson Graef Rollins wrote: > Now that Austin's excellent tag exclusion patch set [0] has been pushed, > the question remains if we want to support any delete-handling key > bindings in emacs. > > Based on the show-mode improvements I recently sent [1], the following > patch set implements thread and message delete keys. > > This is the last I'm going to comment on this issue. If we don't want > to support this, we should put together something on the wiki that > states we don't want to support it and that users should just bind it > themselves (with a nice explanation how), so that we can try to reduce > the number of future patches on the issue. > > Given the number of patches we've had on this issue, though, it's clear > that a lot of people expect this functionality, so we may want to > seriously consider supporting it. Given Austin's tag exclusion stuff, > and the fact that "deleted" tags are excluded by default, we now have > the functionality that Carl originally wanted to see, so it's not so > unreasonable to support this functionality anymore. I think it's reasonable to consider having key bindings (or other special handling) for pretty much *any* tags that are special to notmuch: inbox, unread, draft, flagged, etc. (An exhaustive list should be documented somewhere.) Looking at the source and history, I have to admit there has been intent, and code, to have support for "deleted" tag. See for example TODO or [1]. And I agree there has been demand for this. I say let's have this. But make it clear that "deleted" is just a tag; that the messages aren't going away, not by notmuch anyway. BR, Jani. [1] commit 2c262042ac174d7bc96d6035ab9c88bd0abe7f35