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 AF4A540EF18 for ; Sat, 7 Jan 2012 14:28:25 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 ReLqHun5TcOx for ; Sat, 7 Jan 2012 14:28:23 -0800 (PST) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id A5F5840F1ED for ; Sat, 7 Jan 2012 14:28:23 -0800 (PST) Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) by fire-doxen-postvirus (Postfix) with ESMTP id 11E31328007 for ; Sat, 7 Jan 2012 14:28:23 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com [76.174.137.84]) (Authenticated sender: jrollins) by fire-doxen-submit (Postfix) with ESMTP id 43E342E50DCE for ; Sat, 7 Jan 2012 14:28:21 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id CC980643; Sat, 7 Jan 2012 14:28:20 -0800 (PST) From: Jameson Graef Rollins To: Notmuch Mail Subject: another attempt to add delete functionality in emacs Date: Sat, 7 Jan 2012 14:28:10 -0800 Message-Id: <1325975294-646-1-git-send-email-jrollins@finestructure.net> X-Mailer: git-send-email 1.7.7.3 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: Sat, 07 Jan 2012 22:28:25 -0000 So, after many stabs at adding the ability to "delete" messages in emacs [0], and the corresponding heated discussions, I'm throwing another attempt into the fray. I try to address the concerns that have come up in previous attempts. In particular, I include a patch that creates a new customization variable, notmuch-search-exclude-deleted, that will exclude any messages with the "deleted" tag from searches. This actually makes "deleted" messages appear effectively deleted, which is one of the things cworth wanted to see, and one of the reasons he kept pushing back on previous attempts at this functionality. Also, no tags other than "deleted" are modified. All tags should be orthogonal, and should be handled so. Note: this is all about handling the "deleted" tag. No actual deletion of message is involved in this functionality at all. Actual deletion of messages should always be left entirely up to the user to handle as they see fit. jamie. [0] id:"1266408746-28549-1-git-send-email-Sebastian@SSpaeth.de" id:"87sk8qwjlt.fsf@yoom.home.cworth.org" id:"1271891763-10757-1-git-send-email-hohndel@infradead.org" id:"1310841600-28281-1-git-send-email-anarcat@koumbit.org"