Re: [PATCH v5 00/12] emacs: more flexible and consistent tagging operations
authorPieter Praet <pieter@praet.org>
Sat, 25 Feb 2012 00:05:55 +0000 (01:05 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:44:56 +0000 (09:44 -0800)
9a/f86ea8370aa285246c48c794d48e8c8d45a2b3 [new file with mode: 0644]

diff --git a/9a/f86ea8370aa285246c48c794d48e8c8d45a2b3 b/9a/f86ea8370aa285246c48c794d48e8c8d45a2b3
new file mode 100644 (file)
index 0000000..88270b3
--- /dev/null
@@ -0,0 +1,100 @@
+Return-Path: <pieter@praet.org>\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 7E1E0416040\r
+       for <notmuch@notmuchmail.org>; Fri, 24 Feb 2012 16:08:17 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 IkctJaGUrMK7 for <notmuch@notmuchmail.org>;\r
+       Fri, 24 Feb 2012 16:08:17 -0800 (PST)\r
+Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
+       [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id C73EB41617F\r
+       for <notmuch@notmuchmail.org>; Fri, 24 Feb 2012 16:08:16 -0800 (PST)\r
+Received: by werp13 with SMTP id p13so2051866wer.26\r
+       for <notmuch@notmuchmail.org>; Fri, 24 Feb 2012 16:08:15 -0800 (PST)\r
+Received-SPF: pass (google.com: domain of pieter@praet.org designates\r
+       10.180.80.35 as permitted sender) client-ip=10.180.80.35; \r
+Authentication-Results: mr.google.com;\r
+       spf=pass (google.com: domain of pieter@praet.org\r
+       designates 10.180.80.35 as permitted sender)\r
+       smtp.mail=pieter@praet.org\r
+Received: from mr.google.com ([10.180.80.35])\r
+       by 10.180.80.35 with SMTP id o3mr9482950wix.5.1330128495728 (num_hops =\r
+       1); Fri, 24 Feb 2012 16:08:15 -0800 (PST)\r
+Received: by 10.180.80.35 with SMTP id o3mr7613960wix.5.1330128495600;\r
+       Fri, 24 Feb 2012 16:08:15 -0800 (PST)\r
+Received: from localhost ([109.131.181.26])\r
+       by mx.google.com with ESMTPS id df3sm6680143wib.1.2012.02.24.16.08.14\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Fri, 24 Feb 2012 16:08:14 -0800 (PST)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>,\r
+       David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v5 00/12] emacs: more flexible and consistent tagging\r
+       operations\r
+In-Reply-To: <87y5rrdfhf.fsf@praet.org>\r
+References: <1327725684-5887-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+       <1328426033-21480-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+       <87wr7xqpuf.fsf@rocinante.cs.unb.ca> <878vjtqhcg.fsf@praet.org>\r
+       <87obsojzga.fsf@gmail.com> <87y5rrdfhf.fsf@praet.org>\r
+User-Agent: Notmuch/0.11.1+210~g6afc43e (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+Date: Sat, 25 Feb 2012 01:05:55 +0100\r
+Message-ID: <87sjhz22vw.fsf@praet.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Gm-Message-State:\r
+ ALoCoQkLzk8z6t6Y+R5DuDbADu3LKWlCFRnL24qXGyibtj0gPbyr6LnwUfRm9p5T5uWlExUOAVln\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: Sat, 25 Feb 2012 00:08:17 -0000\r
+\r
+On Fri, 24 Feb 2012 23:38:20 +0100, Pieter Praet <pieter@praet.org> wrote:\r
+> [...]\r
+> Same here.  In v2 [1], '*' tags all and 'C-u *' tags only open.\r
+> \r
+> One can always swap the keybindings if so inclined.\r
+>\r
+\r
+Did I really say that?\r
+\r
+There's only a single keybinding, so swap it with *what* ?!?  Itself ?\r
+\r
+This should work though:\r
+\r
+  #+begin_src emacs-lisp\r
+    (define-key notmuch-show-mode-map "*"\r
+      (lambda (prefix &rest tag-changes)\r
+        (interactive\r
+         (cons\r
+          (not current-prefix-arg)\r
+          (notmuch-read-tag-changes nil notmuch-show-thread-id)))\r
+        (apply 'notmuch-show-tag-all prefix tag-changes)))\r
+  #+end_src\r
+\r
+> [...]\r
+\r
+\r
+Peace\r
+\r
+-- \r
+Pieter\r