Re: [notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and...
authorKeith Packard <keithp@keithp.com>
Sun, 22 Nov 2009 23:32:13 +0000 (15:32 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:40 +0000 (09:35 -0800)
17/bf8ca621bab96414e7a0e0ff3fc066fd60f4a7 [new file with mode: 0644]

diff --git a/17/bf8ca621bab96414e7a0e0ff3fc066fd60f4a7 b/17/bf8ca621bab96414e7a0e0ff3fc066fd60f4a7
new file mode 100644 (file)
index 0000000..7bc1408
--- /dev/null
@@ -0,0 +1,101 @@
+Return-Path: <keithp@keithp.com>\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 7A485431FC0\r
+       for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 15:32:18 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\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 orS15hkLw7gd for <notmuch@notmuchmail.org>;\r
+       Sun, 22 Nov 2009 15:32:17 -0800 (PST)\r
+Received: from keithp.com (home.keithp.com [63.227.221.253])\r
+       by olra.theworths.org (Postfix) with ESMTP id A426F431FBC\r
+       for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 15:32:17 -0800 (PST)\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id EE48CB9402F;\r
+       Sun, 22 Nov 2009 15:32:16 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at keithp.com\r
+Received: from keithp.com ([127.0.0.1])\r
+       by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)\r
+       with LMTP id nZoXf34dkQQp; Sun, 22 Nov 2009 15:32:14 -0800 (PST)\r
+Received: by keithp.com (Postfix, from userid 1033)\r
+       id EBBBEB84011; Sun, 22 Nov 2009 15:32:13 -0800 (PST)\r
+Received: from keithp.com (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id DE7DEB80040;\r
+       Sun, 22 Nov 2009 15:32:13 -0800 (PST)\r
+From: Keith Packard <keithp@keithp.com>\r
+To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
+In-Reply-To: <87d43axi4e.fsf@yoom.home.cworth.org>\r
+References: <1258493565-13508-1-git-send-email-keithp@keithp.com>\r
+       <87d43axi4e.fsf@yoom.home.cworth.org>\r
+Date: Sun, 22 Nov 2009 15:32:13 -0800\r
+Message-ID: <yunocmup24i.fsf@aiko.keithp.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Subject: Re: [notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands\r
+ remove inbox (and unread) tags\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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: Sun, 22 Nov 2009 23:32:18 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mon, 23 Nov 2009 00:19:29 +0100, Carl Worth <cworth@cworth.org> wrote:\r
+\r
+> I'm starting to come around to this patch, Keith. :-)\r
+\r
+I'll keep posting it then :-)\r
+\r
+> I think one thing we're going to really need is a better help message\r
+> for presenting the keybindings. The function names are all really\r
+> confusing, (the "notmuch-show" prefix doesn't help). So what I'd really\r
+> like is something that displays the keybinding and the first line of the\r
+> documentation of a function, rather than the function name itself.\r
+\r
+That's a fine plan. It 'shouldn't' be too hard to implement either.\r
+\r
+Btw, I'm thinking that it might be useful to create some 'global'\r
+notmuch keybindings and then create per-view bindings that also expose\r
+the global bindings. That way, things like 'm' to create a new mail\r
+would work consistently in each view. Note that this idea is\r
+inconsistent with the following though...\r
+\r
+> Except that the patch also reverses the current behavior of "a" and\r
+> "A". That should be a separate patch anyway, but I'm also not sure that\r
+> I like it. I like that the command that takes the extra effort of\r
+> pressing shift is the command that does *more*, (removing both "unread"\r
+> and "inbox"), rather than the command that does *less*.\r
+\r
+I was trying to make the 'normal' action easier; for me, if I'm looking\r
+at a message, then the normal action is to mark it read and archived,\r
+but when I'm looking only at the subject line in the search window, the\r
+normal action is just to mark it archived (having not actually read the\r
+message).\r
+\r
+=2D-=20\r
+keith.packard@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLCcn9Qp8BWwlsTdMRAl3tAJ0WhAx/lfcdG462Eov/LYD0a2/6hACgwbVZ\r
+BzZuP/or7Kyi2LxLDct79D4=\r
+=FhEI\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r