Re: [notmuch] [PATCH] add notmuch-show-delete keybinding 'd'
authorJameson Rollins <jrollins@finestructure.net>
Wed, 24 Feb 2010 19:46:22 +0000 (14:46 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:16 +0000 (09:36 -0800)
10/4ac13a325b15a729470d7c9c248e4c39f65956 [new file with mode: 0644]

diff --git a/10/4ac13a325b15a729470d7c9c248e4c39f65956 b/10/4ac13a325b15a729470d7c9c248e4c39f65956
new file mode 100644 (file)
index 0000000..48d4d15
--- /dev/null
@@ -0,0 +1,129 @@
+Return-Path: <jrollins@finestructure.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id E3945431FBC\r
+       for <notmuch@notmuchmail.org>; Wed, 24 Feb 2010 11:46:32 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.17\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.17 tagged_above=-999 required=5 tests=[AWL=-2.171,\r
+       BAYES_50=0.001] autolearn=unavailable\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id OoBE61EvJruF for <notmuch@notmuchmail.org>;\r
+       Wed, 24 Feb 2010 11:46:32 -0800 (PST)\r
+Received: from tarap.cc.columbia.edu (tarap.cc.columbia.edu [128.59.29.7])\r
+       by olra.theworths.org (Postfix) with ESMTP id A7695431FAE\r
+       for <notmuch@notmuchmail.org>; Wed, 24 Feb 2010 11:46:32 -0800 (PST)\r
+Received: from servo.finestructure.net (geco.phys.columbia.edu\r
+       [128.59.170.159])\r
+       (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0)\r
+       by tarap.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o1OJkRRx018635\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
+       Wed, 24 Feb 2010 14:46:28 -0500 (EST)\r
+Received: from jrollins by servo.finestructure.net with local (Exim 4.71)\r
+       (envelope-from <jrollins@finestructure.net>)\r
+       id 1NkNBj-0007V1-LH; Wed, 24 Feb 2010 14:46:27 -0500\r
+From: Jameson Rollins <jrollins@finestructure.net>\r
+To: Carl Worth <cworth@cworth.org>, racin@free.fr, Sebastian Spaeth\r
+       <Sebastian@SSpaeth.de>\r
+In-Reply-To: <87ljeiwi02.fsf@yoom.home.cworth.org>\r
+References:\r
+ <1161359196.2247691263984967906.JavaMail.root@zimbra1-e1.priv.proxad.net>\r
+       <87sk8qwjlt.fsf@yoom.home.cworth.org>\r
+       <87tyt61mrl.fsf@servo.finestructure.net>\r
+       <87ljeiwi02.fsf@yoom.home.cworth.org>\r
+Date: Wed, 24 Feb 2010 14:46:22 -0500\r
+Message-ID: <87ocje1koh.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-No-Spam-Score: Local\r
+X-Scanned-By: MIMEDefang 2.68 on 128.59.29.7\r
+Cc: notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: [notmuch] [PATCH] add notmuch-show-delete keybinding 'd'\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 24 Feb 2010 19:46:33 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Wed, 24 Feb 2010 11:28:29 -0800, Carl Worth <cworth@cworth.org> wrote:\r
+> On Wed, 24 Feb 2010 14:01:18 -0500, Jameson Rollins <jrollins@finestructu=\r
+re.net> wrote:\r
+> > > 2. It removes the "inbox" and "unread" tags while adding the tag to\r
+> > >    indicate deletion.\r
+> >=20\r
+> > Hey, Carl.  Why is this last point important?\r
+>=20\r
+> I guess I was imagining the case of running "notmuch search tag:inbox"\r
+> at the command-line. That output will get out of hand fairly quickly if\r
+> it includes all deleted messages back to the beginning of time, (or as\r
+> far back as the window of actually deleting files from the\r
+> mailstore[*]).\r
+>=20\r
+> But you're right that tags should really be handled orthogonally. Maybe\r
+> what we want is lower-level support for the "deleted" tag? Other than\r
+> just the high-level emacs interface?\r
+\r
+Yeah, I tend to think that notmuch should be as agnostic about tag\r
+handling as possible.  The beauty of that is that it keeps things as\r
+simple and configurable as possible, which is necessary because everyone\r
+will have a different way they want to do things.\r
+\r
+The point of the functions provided by these patches is basically just\r
+convenience.  In fact, I had implemented the functions I previously\r
+included in my own private .el, since I didn't know if they would be\r
+wanted by all others.  In general, I'm a big fan of "keep it simple"\r
+(KIS).  In this case that means "if I want to add a delete tag, the tool\r
+should do just that and nothing else".  I certainly don't want the other\r
+tags modified.  If one did, it's really quite easy to write custom emacs\r
+functions to do that.  We can just hints on doing that in the wiki if\r
+need be.\r
+\r
+> That could put *more* direct interpretation of specific tags in the low\r
+> levels. And this is the opposite direction of where we've been going (or\r
+> talking about at least). We've currently got "inbox" and "unread" inside\r
+> the low levels and there's been talking or removing those, switching to\r
+> just "new" or making it all configurable.\r
+\r
+This isn't a bad idea at all.  I don't think it changes the\r
+functionality much, but it does make things conceptually much simpler,\r
+which I'm always in favor of (KIS).\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJLhYIOAAoJEO00zqvie6q8+N0P/iD9PcjrUh333NAyHFmQZfYI\r
+SUkV/4n6H6PaI7TZ7w04r9zbRhFBUkWYRZswEPgMvqKp/DoMeg968XPfzUx4qdNp\r
+mjsapYcE+cfUcXaWI8k24zO/ja/Q4pJyt19sfo0ZI0luG7kztZ+DoBfEJY8umjtl\r
+3tVF5p4hvMvw3vS3LMhDf0D1PGdkx0g8LeiICyjs2QAoQo9Oz31SpWo2MlrYhHld\r
+Rm+hC169IcAtGeYEDrLMPKsua4+AiYEIPzRl0Lmec8xo2Yp96w/iw7iUMohYf1N7\r
+2OBK2eZQ/YVO+I3mRszVdlfDuSpyYUTLKwjgM3CXOZ6g/5LixCVd3jnSea9Sp8yv\r
+K+DHoUNBQt0UbVL6z5eG7+6pe2zs3bn/An0Cdmbio0gLbxUGH+XvS8d5VVENRu0x\r
+ofUx7Kbp5tn6Lt10+88hIi+P0nWmzmdtrp1mLbq+M701C31pIMM4dO72Eawcqurz\r
+XQQFbsPJLD+Owln6q/woLQcRSQZRpdMIp3O3OC4N137crJNiFQlGGyBwFc1cex4d\r
+DMmjapZ093WT6mKSp8XnX73qC8cESc/McNRUOVPEdt/z1ye4CKExVMxGsbCDsT+P\r
+QUeGSb984rK+u3GC7lEaGXq7jjgdqVC6u2aUZeTy1Ryf/VNYt970JaHgurZ1RnPl\r
+blfi2ui4QNTRM3PF1O8R\r
+=1dP1\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r