Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 66 / 22ef60b7adddd8cf9b9e0fbd346521c67e3d93
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 ECCED431FB6\r
6         for <notmuch@notmuchmail.org>; Wed,  5 Dec 2012 01:41:25 -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.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 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         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 uL1ACpaykkKq for <notmuch@notmuchmail.org>;\r
18         Wed,  5 Dec 2012 01:41:25 -0800 (PST)\r
19 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com\r
20         [209.85.212.175]) (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 6249C431FAE\r
23         for <notmuch@notmuchmail.org>; Wed,  5 Dec 2012 01:41:25 -0800 (PST)\r
24 Received: by mail-wi0-f175.google.com with SMTP id hm11so1355659wib.2\r
25         for <notmuch@notmuchmail.org>; Wed, 05 Dec 2012 01:41:24 -0800 (PST)\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:x-mailer:in-reply-to:references;\r
28         bh=PKvCYjag89RxiAXAkKp8mCrdOdYG8Wa4Nn+9GMYutM4=;\r
29         b=AGtHjuLNlmWwUJy3fg2437qUMVfdST9mDDlYfQWeKvVOJHtPp3cwRZGzZ25xkc8reT\r
30         w1e4rbCPXQjJJ5BYh8GaNfpoG5fLFV5aludk+bVeKImkNGtvWhzg64P4AfVz87gt76/q\r
31         1mMAEyX5KFM6WnjSng7fEmeSCTOYXEmIbqEVvNFIwd2Gd3Y29wE9ssd/Lf8Gf/2NxYvP\r
32         mOBh2ukXB9+RxNIxuqEzcIZ1MOTkesW3sYL+F+hl+NRakBtkPiCPH6vsutGAjTbDFv8e\r
33         wha7HhjKxaenb6bWxqKFuzV/Ioo/gS/3Ju+dBZiuZHqdyNvJiVn1dBkEaEuE19h90gbj\r
34         9lEA==\r
35 Received: by 10.180.106.34 with SMTP id gr2mr1993203wib.18.1354700484282;\r
36         Wed, 05 Dec 2012 01:41:24 -0800 (PST)\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
38         by mx.google.com with ESMTPS id w5sm5611252wiz.10.2012.12.05.01.41.22\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Wed, 05 Dec 2012 01:41:23 -0800 (PST)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH] emacs: show: make RET always toggle parts where plausible\r
44 Date: Wed,  5 Dec 2012 09:41:20 +0000\r
45 Message-Id: <1354700480-5170-1-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 In-Reply-To: <1354663662-20524-4-git-send-email-markwalters1009@gmail.com>\r
48 References: <1354663662-20524-4-git-send-email-markwalters1009@gmail.com>\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Wed, 05 Dec 2012 09:41:26 -0000\r
62 \r
63 This makes RET toggle the visibility of any part which has a component\r
64 that can be displayed in the buffer. This included text parts (plain/\r
65 html/ x-tex etc) and images. Parts which cannot be displayed (eg pdf)\r
66 RET acts as before and saves/views etc.\r
67 \r
68 Definite actions can always be accessed with s,v and o (eg v to view a\r
69 text/html part in a browser).\r
70 \r
71 ---\r
72 \r
73 This is a slight tweak at Jani's suggestion on irc. Applies on top of\r
74 the previous series.\r
75 \r
76 \r
77 \r
78  emacs/notmuch-show.el |    2 +-\r
79  1 files changed, 1 insertions(+), 1 deletions(-)\r
80 \r
81 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
82 index a4daff8..e319e5c 100644\r
83 --- a/emacs/notmuch-show.el\r
84 +++ b/emacs/notmuch-show.el\r
85 @@ -2028,7 +2028,7 @@ the user (see `notmuch-show-stash-mlarchive-link-alist')."\r
86  (defun notmuch-show-part-button-default (&optional button)\r
87    (interactive)\r
88    (let ((button (or button (button-at (point)))))\r
89 -    (if (invisible-p (button-get button 'invisibility-spec))\r
90 +    (if (button-get button 'invisibility-spec)\r
91         (notmuch-show-toggle-invisible-part-action button)\r
92        (notmuch-show-part-button-internal button notmuch-show-part-button-default-action))))\r
93  \r
94 -- \r
95 1.7.9.1\r
96 \r