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 0DA4E40CACC for ; Fri, 23 Apr 2010 12:05:41 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham 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 o1YG1OTg8QwO; Fri, 23 Apr 2010 12:05:40 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 11001431FC1; Fri, 23 Apr 2010 12:05:40 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 67EB3568DE9; Fri, 23 Apr 2010 11:58:23 -0700 (PDT) From: Carl Worth To: Dirk Hohndel , notmuch@notmuchmail.org Subject: Re: add delete keybinding In-Reply-To: <1271891763-10757-1-git-send-email-hohndel@infradead.org> References: <1271891763-10757-1-git-send-email-hohndel@infradead.org> Date: Fri, 23 Apr 2010 11:58:23 -0700 Message-ID: <87ochaf12o.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Fri, 23 Apr 2010 19:05:41 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Wed, 21 Apr 2010 16:16:02 -0700, Dirk Hohndel wr= ote: > I'm sending this mostly as an RFC - I use this and like it, but > people seem to have strong feelings as to how they want to deal=20 > with deleting email (or for some people, how they don't want to > do that at all). I like the idea of adding the deleted tag with a 'd' keybinding. I also agree with the comments that suggest that this should be independent of the archiving operation. (That is, 'd' should just add the deleted tag and do nothing else.) With sup, there was the idea to not make the user add "add not tag:deleted" to all searches. The way that worked was basically that sup would append "and not tag:deleted" to all searches except for those that already had "tag:deleted" in them. This allows deleted messages to give every appearance of being deleted, (they would not show up in searches), but a user *could* still find them[*] by explicitly saying "and tag:deleted" in the search. I don't think it makes sense to add a delete keybinding without some support along the lines of what's described above. It does seem out of character for the library or even the command-line to do interpretation of tag names and munging of search strings like this. So I think all of the above should be implemented within emacs code. It's the emacs code that is adding the "deleted" tag so it should be interpreting its behavior as well. =2DCarl [*] Until the user did some sort of external expunge operation that actually deleted the files, of course. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFL0e3P6JDdNq8qSWgRAi+EAJ96+78+2zLVAm6wusynFDZA0vfoTACeN6U3 SLk30pjgY38WYOjXy6Px4Sg= =cWwB -----END PGP SIGNATURE----- --=-=-=--