Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / e7 / 6d312a714f0d0cea178749e904d7066cf8a774
1 Return-Path: <markwalters1009@gmail.com>\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 88B61429E42\r
6         for <notmuch@notmuchmail.org>; Sat, 26 Oct 2013 14:04:54 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 2.7\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.7 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id rHPK8qOC6yhH for <notmuch@notmuchmail.org>;\r
18         Sat, 26 Oct 2013 14:04:47 -0700 (PDT)\r
19 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
20         [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 62BE0431FD9\r
23         for <notmuch@notmuchmail.org>; Sat, 26 Oct 2013 14:04:47 -0700 (PDT)\r
24 Received: by mail-wi0-f181.google.com with SMTP id ex4so20050wid.14\r
25         for <notmuch@notmuchmail.org>; Sat, 26 Oct 2013 14:04:43 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id;\r
28         bh=75uxND67qOFp94HOPwHU3ex8UVh3kTPPbZF5qvS38Z8=;\r
29         b=voVMaQsl/l5Rp7QrE4hJ667SUltOTnHv1GzEHNQ/zT0v3NUzcKnntiePGoab/ENY2H\r
30         i84bsA+BMyWFyrlNiRhaYs/e/kigvDpXrkjeFePkT8nJSTa372Jd8PGCOgRrFSs8n3SN\r
31         MzkQI44dfHgs2p6NLpw2hTn8sDn9kQz7bRIkauyr/gVTK8bu8fC6EZd2ovR7hYuUFJjQ\r
32         iZZScx7zh8qe7TJuZQtlEfEcyJGKDAXqMR6hAROmLQ5xv0X+byLMtetwtsU5rlkSVAH9\r
33         k7MNRJ6Av1ivoTpE7SKIKN9kxW51oE8hySxpalwRYLYYnopqNF5C+ZwLsfBzHC5/eXja\r
34         VTGQ==\r
35 X-Received: by 10.181.9.66 with SMTP id dq2mr3382039wid.31.1382821483571;\r
36         Sat, 26 Oct 2013 14:04:43 -0700 (PDT)\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
38         by mx.google.com with ESMTPSA id q3sm19392494wib.5.2013.10.26.14.04.42\r
39         for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Sat, 26 Oct 2013 14:04:43 -0700 (PDT)\r
42 From: Mark Walters <markwalters1009@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH 0/4] emacs: help: and remap keybindings\r
45 Date: Sat, 26 Oct 2013 22:04:35 +0100\r
46 Message-Id: <1382821479-23384-1-git-send-email-markwalters1009@gmail.com>\r
47 X-Mailer: git-send-email 1.7.9.1\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Sat, 26 Oct 2013 21:04:54 -0000\r
61 \r
62 This series makes 3 tweaks to the emacs help. \r
63 \r
64 The first fixes a bug whereby if a user unsets a keybinding\r
65 notmuch-help throws an error (function being nil) and does not work.\r
66 \r
67 The second removes duplicates from the list of returned keybindings;\r
68 these occur if a user or mode overrides a keybinding in\r
69 notmuch-common-keymap. This happens in pick. See\r
70 id:1381498794-17000-1-git-send-email-markwalters1009@gmail.com for a\r
71 different approach. I think this is probably neater but am happy\r
72 either way.\r
73 \r
74 The third patch fixes some problems if a user or mode rebinds keys\r
75 using remap. Currently they appear in help as "<remap><function> New\r
76 function docstring". This patch replaces the <remap><function> with\r
77 the actual key binding.\r
78 \r
79 The final patch is separate but is the actual motivation for the\r
80 earlier ones. It switches pick to use remap for its over\r
81 bindings. This means the over bindings will work correctly if the user\r
82 customises the common-keymap. This approach was suggested by Austin in\r
83 id:20130915153642.GY1426@mit.edu.\r
84 \r
85 All tests pass and it seems to work including modifications to the\r
86 common-keymap.\r
87 \r
88 Best wishes\r
89 \r
90 Mark\r
91 \r
92 PS Obviously the final patch will clash with a rename of pick to tree,\r
93 but the rebase will be trivial.\r
94 \r
95 \r
96 \r
97 Mark Walters (4):\r
98   emacs: help: check for nil key binding\r
99   emacs: help: remove duplicate bindings\r
100   emacs: help: remap support\r
101   contrib: pick: use remap for the over-ridden global bindings\r
102 \r
103  contrib/notmuch-pick/notmuch-pick.el |    8 ++--\r
104  emacs/notmuch.el                     |   58 +++++++++++++++++++++-------------\r
105  2 files changed, 40 insertions(+), 26 deletions(-)\r
106 \r
107 -- \r
108 1.7.9.1\r
109 \r