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 C3E0A429E2A for ; Tue, 28 Jun 2011 13:40:37 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.01 X-Spam-Level: X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[T_MIME_NO_TEXT=0.01] 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 zgIjzEHzhDs5 for ; Tue, 28 Jun 2011 13:40:37 -0700 (PDT) Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2]) by olra.theworths.org (Postfix) with ESMTP id 5EDF7429E25 for ; Tue, 28 Jun 2011 13:40:37 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 3167B29A645; Tue, 28 Jun 2011 13:40:36 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 2184C2541A8; Tue, 28 Jun 2011 13:40:36 -0700 (PDT) From: Carl Worth To: Robin Green , notmuch@notmuchmail.org Subject: Re: Drafts being tagged as inbox In-Reply-To: <868vsnaqqm.fsf@greenrd.plus.com> References: <868vsnaqqm.fsf@greenrd.plus.com> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) Date: Tue, 28 Jun 2011 13:40:24 -0700 Message-ID: <87pqlx8zbb.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: Tue, 28 Jun 2011 20:40:37 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, 27 Jun 2011 22:50:25 +0100, Robin Green wrote: > My drafts (created using emacs message mode) are being tagged as > inbox. However, they are not tagged as drafts. This is because emacs > message mode does not store drafts in Maildir format, so there are no > Maildir flags (e.g. D for draft) to sync tags with. >=20 > Now, I could simply store drafts somewhere else, but then I wouldn't be > able to search them using notmuch. Is there another way to have drafts > correctly tagged? Notmuch isn't much involved in the current saving of drafts, so if we wanted to do something like save drafts to a maildir instead, we could override the buffer-saving functions in our message-composition buffers. Meanwhile, even without a tag, I do like that my drafts are currently getting indexed by notmuch and show up in search results, (they even show up with a timestamp of 0 so accidentally get sorted right to the top of many search results). That's convenient. Even handier would be a separate notmuch-hello search result showing me I have some drafts to complete, (which would then, benefit from a tag). The biggest annoyance I currently have with drafts is that they aren't automatically removed from the filesystem when I finally send the message. If someone were to contribute a fix for that, it would really make my day. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk4KPDgACgkQ6JDdNq8qSWidcwCfaMW9Z3xZT2C0P1lITicNW2kc y3IAoJAv+O+g8dHKDGoOYQGqgRUZGrmz =hYkt -----END PGP SIGNATURE----- --=-=-=--