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 9E1BE429E30 for ; Sun, 8 Apr 2012 15:24:34 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] 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 tLbgQeqYcp6f for ; Sun, 8 Apr 2012 15:24:34 -0700 (PDT) Received: from homiemail-a19.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by olra.theworths.org (Postfix) with ESMTP id C5AF9431FAE for ; Sun, 8 Apr 2012 15:24:33 -0700 (PDT) Received: from homiemail-a19.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTP id BF448604076; Sun, 8 Apr 2012 15:24:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sspaeth.de; h=references :in-reply-to:mime-version:content-type:subject:from:date:to :message-id:content-transfer-encoding; q=dns; s=sspaeth.de; b=ab bOyKmLML2viH/LfqV8f1+IoIZWZlwf4zWJJGScaIyTBH/8pwV1xlxMxK9wu4fCnk z/UCTRV9mYT8v77XZK4cvCL7Ugq7RxqloahvMF37apswpIY5IR2bxVCSOmz5CTvw GgAFoNb4lY30+gKss5oMmYFEAAMEArMgcfVVW8QlQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sspaeth.de; h=references :in-reply-to:mime-version:content-type:subject:from:date:to :message-id:content-transfer-encoding; s=sspaeth.de; bh=9Bb6oQ7x MF3IWDvHcFXkq6mR/sc=; b=IPMav46sn3RXAgyXlO+sroIHT/gwjOBWMRQmOAnH 5Pid6vzZu6JcTmeuN2T+3dh5n9qXNUk57gVj3dftBnsy1ukTDAVj4IiWzbCvEdH0 m1ObgHMcyJEKLC6LqiXN5YtQlLryAw2QueM1sclb/aBGudNCA1Ep5ilwWlNNCMCb vts= Received: from [192.168.178.21] (unknown [176.46.225.50]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: sebastian@sspaeth.de) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTPSA id 43F20604078; Sun, 8 Apr 2012 15:24:30 -0700 (PDT) References: <0cc49af3-5415-419d-97ef-2bec76117d63@CERNFE22.cern.ch> <87sjgk2xzf.fsf@servo.finestructure.net> User-Agent: K-9 Mail for Android In-Reply-To: <87sjgk2xzf.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Subject: Re: Message deletion wisdom From: Sebastian Spaeth Date: Mon, 09 Apr 2012 00:24:29 +0200 To: Jameson Graef Rollins , Jacek Generowicz , notmuch@notmuchmail.org Message-ID: <96a8fc19-0ff3-4184-bb1c-5599f86e1463@email.android.com> Content-Transfer-Encoding: quoted-printable 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, 08 Apr 2012 22:24:37 -0000 Jameson Graef Rollins wrote: >So in summary, if you would like to "delete" messages, you can: > > * add a key binding to emacs (or your favorite ui) to add a "deleted" > tag to messages that you want to delete: > > (define-key notmuch-show-mode-map "d" > (lambda () > (interactive) > (notmuch-show-tag-message "+deleted"))) > > * add exclusion for messages with the "deleted" tag: > > notmuch config set search.exclude_tags deleted > > * and if you really want them purged from disk, delete them manually > with: > > notmuch search --output=3Dfiles tag:deleted | xargs -l rm Thanks Jamie, that ws a very helpful summary. Sebastian --=20 Sent from my Android phone with K-9 Mail. Please excuse my brevity.