Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 9a / f86ea8370aa285246c48c794d48e8c8d45a2b3
1 Return-Path: <pieter@praet.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 7E1E0416040\r
6         for <notmuch@notmuchmail.org>; Fri, 24 Feb 2012 16:08:17 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id IkctJaGUrMK7 for <notmuch@notmuchmail.org>;\r
16         Fri, 24 Feb 2012 16:08:17 -0800 (PST)\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
18         [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id C73EB41617F\r
21         for <notmuch@notmuchmail.org>; Fri, 24 Feb 2012 16:08:16 -0800 (PST)\r
22 Received: by werp13 with SMTP id p13so2051866wer.26\r
23         for <notmuch@notmuchmail.org>; Fri, 24 Feb 2012 16:08:15 -0800 (PST)\r
24 Received-SPF: pass (google.com: domain of pieter@praet.org designates\r
25         10.180.80.35 as permitted sender) client-ip=10.180.80.35; \r
26 Authentication-Results: mr.google.com;\r
27         spf=pass (google.com: domain of pieter@praet.org\r
28         designates 10.180.80.35 as permitted sender)\r
29         smtp.mail=pieter@praet.org\r
30 Received: from mr.google.com ([10.180.80.35])\r
31         by 10.180.80.35 with SMTP id o3mr9482950wix.5.1330128495728 (num_hops =\r
32         1); Fri, 24 Feb 2012 16:08:15 -0800 (PST)\r
33 Received: by 10.180.80.35 with SMTP id o3mr7613960wix.5.1330128495600;\r
34         Fri, 24 Feb 2012 16:08:15 -0800 (PST)\r
35 Received: from localhost ([109.131.181.26])\r
36         by mx.google.com with ESMTPS id df3sm6680143wib.1.2012.02.24.16.08.14\r
37         (version=TLSv1/SSLv3 cipher=OTHER);\r
38         Fri, 24 Feb 2012 16:08:14 -0800 (PST)\r
39 From: Pieter Praet <pieter@praet.org>\r
40 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>,\r
41         David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
42 Subject: Re: [PATCH v5 00/12] emacs: more flexible and consistent tagging\r
43         operations\r
44 In-Reply-To: <87y5rrdfhf.fsf@praet.org>\r
45 References: <1327725684-5887-1-git-send-email-dmitry.kurochkin@gmail.com>\r
46         <1328426033-21480-1-git-send-email-dmitry.kurochkin@gmail.com>\r
47         <87wr7xqpuf.fsf@rocinante.cs.unb.ca> <878vjtqhcg.fsf@praet.org>\r
48         <87obsojzga.fsf@gmail.com> <87y5rrdfhf.fsf@praet.org>\r
49 User-Agent: Notmuch/0.11.1+210~g6afc43e (http://notmuchmail.org) Emacs/23.3.1\r
50         (x86_64-unknown-linux-gnu)\r
51 Date: Sat, 25 Feb 2012 01:05:55 +0100\r
52 Message-ID: <87sjhz22vw.fsf@praet.org>\r
53 MIME-Version: 1.0\r
54 Content-Type: text/plain; charset=us-ascii\r
55 X-Gm-Message-State:\r
56  ALoCoQkLzk8z6t6Y+R5DuDbADu3LKWlCFRnL24qXGyibtj0gPbyr6LnwUfRm9p5T5uWlExUOAVln\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Sat, 25 Feb 2012 00:08:17 -0000\r
70 \r
71 On Fri, 24 Feb 2012 23:38:20 +0100, Pieter Praet <pieter@praet.org> wrote:\r
72 > [...]\r
73 > Same here.  In v2 [1], '*' tags all and 'C-u *' tags only open.\r
74\r
75 > One can always swap the keybindings if so inclined.\r
76 >\r
77 \r
78 Did I really say that?\r
79 \r
80 There's only a single keybinding, so swap it with *what* ?!?  Itself ?\r
81 \r
82 This should work though:\r
83 \r
84   #+begin_src emacs-lisp\r
85     (define-key notmuch-show-mode-map "*"\r
86       (lambda (prefix &rest tag-changes)\r
87         (interactive\r
88          (cons\r
89           (not current-prefix-arg)\r
90           (notmuch-read-tag-changes nil notmuch-show-thread-id)))\r
91         (apply 'notmuch-show-tag-all prefix tag-changes)))\r
92   #+end_src\r
93 \r
94 > [...]\r
95 \r
96 \r
97 Peace\r
98 \r
99 -- \r
100 Pieter\r