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 3F8134196F2 for ; Thu, 8 Apr 2010 08:58:07 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -4.19 X-Spam-Level: X-Spam-Status: No, score=-4.19 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 UCP2Bu1kha31 for ; Thu, 8 Apr 2010 08:58:06 -0700 (PDT) Received: from serrano.cc.columbia.edu (serrano.cc.columbia.edu [128.59.29.6]) by olra.theworths.org (Postfix) with ESMTP id 7F6114196F0 for ; Thu, 8 Apr 2010 08:58:06 -0700 (PDT) Received: from servo.finestructure.net (cpe-72-227-128-66.nyc.res.rr.com [72.227.128.66]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by serrano.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o38Fw0RU018866 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Thu, 8 Apr 2010 11:58:00 -0400 (EDT) Received: from jrollins by servo.finestructure.net with local (Exim 4.71) (envelope-from ) id 1Nzu7D-0004Y1-Ut; Thu, 08 Apr 2010 11:57:59 -0400 From: Jameson Rollins To: Dirk Hohndel , Carl Worth , notmuch@notmuchmail.org Subject: draft handling [was: Re: Plans for the 0.2 release (this week)] In-Reply-To: References: <8739z6rjxf.fsf@yoom.home.cworth.org> <87tyrmavoc.fsf@servo.finestructure.net> Date: Thu, 08 Apr 2010 11:57:54 -0400 Message-ID: <87ochuaqd9.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.68 on 128.59.29.6 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: Thu, 08 Apr 2010 15:58:07 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 08 Apr 2010 07:58:47 -0700, Dirk Hohndel wr= ote: > > And as for drafts, they could be easily indexed and managed by the UI if > > the folder: search term is available. >=20 > Hmm - haven't even thought about drafts, yet. How would the UI deal with > those?=20 My idea is the following: Currently for me drafts are stored in ~/.mail/drafts. If we have folder: searching, then I can starting indexing my drafts directory and apply the following post-new filter: notmuch tag +draft -inbox -unread -- folder:drafts I'll then make a simple elisp "resume" function that is available for resuming draft messages, that would be available when viewing messages From=20a draft search results. One could also imagine a "notmuch-draft" emacs mode that would provide functions specifically for viewing and resuming draft messages. Anyway, my plan was to work on all of this when some sane way of indexing draft messages was available (ie. folder: searching). jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJLvf0CAAoJEO00zqvie6q8h8IQAI/VPBvxx7og19x8vBo/KhKa zT3WgITG5SujYWqhDsdwVrcou86H5d8lxZ2oW3JTOJ25/bO/fWLLg5KU+5GYsLBk g9WDeYgDMOf5sPOik8wDJUlGtRdH+fDqmCeJJ+B/yrrpgX2POYMXvFH2X7kF+cRk fJPJKNH3KpKWw/gUtY/bdCY0jzwX/Opi729GgDlhHwedq8cbalLyzaFuJX01SShj mzCjg4aiKE01lkRi3jKiV6H9MC7jHpmBYry7ghlMZTvmhotEgOE2NRgyWPqb8njr Lu9DEMMgEBVAFgOeqrC1tRsrbokhA8tvkCoMc0xBTZGJvI4IUco8Rj1UZ0vx4jZF a9R2n6U1fj9sTMWoSINPgbDylxsS3txMmmPYvZcZmWuMPZIfOdaAB/l8WMHXpOpZ 7vXiOQWvhaMBcIziycbuxK2J9vqNGP/lddSdsLWR8XlASakUCRn+mA8E+/1zsHry npALJnRAKZkg5ubmhRvBmn0Aaa/kB9jPxtlYhekbU3I1QEZbgf8QwA1m6Wv+F33B 9OfIYDWqJHhsgWHlEme/By8p3fOPcilDFB8HxAr2WxvfWYvS/7fkuPlQjP0wXXdh g95TEhf6ZF8rZJMmnfcdSY3gHZeAvDewifPUoZTT7WOn/pFsOOnvByUAVxXgmqfV XWs6AqLWY8s+3I6M8tmF =0xTb -----END PGP SIGNATURE----- --=-=-=--