Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 49 / d28916657b7222f222964f83ecd2bcee8c974b
1 Return-Path: <jani@nikula.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 3456D431FBC\r
6         for <notmuch@notmuchmail.org>; Fri, 15 Jun 2012 08:53:52 -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: -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 4mj8iWRQaWzO for <notmuch@notmuchmail.org>;\r
16         Fri, 15 Jun 2012 08:53:51 -0700 (PDT)\r
17 Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
18         [209.85.215.53]) (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 4A2E6431FB6\r
21         for <notmuch@notmuchmail.org>; Fri, 15 Jun 2012 08:53:51 -0700 (PDT)\r
22 Received: by lagu2 with SMTP id u2so2337793lag.26\r
23         for <notmuch@notmuchmail.org>; Fri, 15 Jun 2012 08:53:48 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=google.com; s=20120113;\r
26         h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;\r
27         bh=+ZSPu+OFlNde50ByhJNRXlfWjfgRNwcJlCexecWPfrU=;\r
28         b=SeNaDjpIRHw7luF2IZJ4nOb4DH+fsW15SsqATb9WZsqac3h/VRRI1k7Mz7F5aU2QN9\r
29         S4DwmvHeAp1+i1D7QxcwXGpENGnwY8GWyoNStcmCIAHfbHOr2MNNe9j0sqB3axfeElBf\r
30         gqORBKMjwufBcoqjCyyhjSXDTlVzCXnZByjPn7T+uApQQRKb3enR4NI8+e3oFUc1yqjo\r
31         Utoc4uLjM8Y5pryslzEHpnMrOVfoyvjETFWhxBWBK9Dj2zvKEugjeDUKaS1YXSjiZT+3\r
32         U5h8l5dhPWdp7wzj1N6QTVYAzkuEcVz8aQUJ7WbYMLgj72Fli722/1a9k+kF0B9UdXF9\r
33         F06g==\r
34 Received: by 10.152.48.37 with SMTP id i5mr5967241lan.36.1339775628329;\r
35         Fri, 15 Jun 2012 08:53:48 -0700 (PDT)\r
36 Received: from localhost (dsl-hkibrasgw4-fe50dc00-68.dhcp.inet.fi.\r
37         [80.220.80.68])\r
38         by mx.google.com with ESMTPS id lv13sm12978088lab.8.2012.06.15.08.53.46\r
39         (version=SSLv3 cipher=OTHER); Fri, 15 Jun 2012 08:53:47 -0700 (PDT)\r
40 From: Jani Nikula <jani@nikula.org>\r
41 To: notmuch@notmuchmail.org\r
42 Subject: [PATCH 1/3] emacs: add no-display arg to notmuch-hello-refresh-hook\r
43 Date: Fri, 15 Jun 2012 18:53:42 +0300\r
44 Message-Id:\r
45  <37899e28dbf67e4620a53279a869be3174c02d6f.1339775602.git.jani@nikula.org>\r
46 X-Mailer: git-send-email 1.7.9.5\r
47 X-Gm-Message-State:\r
48  ALoCoQlnPEi98FN2P0HFGuNj3nFX1n4z/eyq8v3pmI6rmcpx0iZc5udrVF8IewC56QC9tjBXPW14\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: Fri, 15 Jun 2012 15:53:52 -0000\r
62 \r
63 Add no-display arg to notmuch-hello-refresh-hook to allow each hook to\r
64 decide what is appropriate when no-display is t, which is typically\r
65 the case when called non-interactively. This is used by the following\r
66 patch.\r
67 \r
68 This breaks existing hooks people might have, which will now need to\r
69 accept the argument.\r
70 \r
71 Signed-off-by: Jani Nikula <jani@nikula.org>\r
72 ---\r
73  emacs/notmuch-hello.el |    2 +-\r
74  1 file changed, 1 insertion(+), 1 deletion(-)\r
75 \r
76 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
77 index 684bedc..bc43178 100644\r
78 --- a/emacs/notmuch-hello.el\r
79 +++ b/emacs/notmuch-hello.el\r
80 @@ -812,7 +812,7 @@ following:\r
81        (unless (widget-at)\r
82         (when notmuch-hello-search-pos\r
83           (goto-char notmuch-hello-search-pos)))))\r
84 -  (run-hooks 'notmuch-hello-refresh-hook)\r
85 +  (run-hook-with-args 'notmuch-hello-refresh-hook no-display)\r
86    (setq notmuch-hello-first-run nil))\r
87  \r
88  (defun notmuch-folder ()\r
89 -- \r
90 1.7.9.5\r
91 \r