Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / fb / 476d5f8f64e5fcb4db753683bb833e4b37920e
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 9541A431FC3\r
6         for <notmuch@notmuchmail.org>; Fri,  7 Feb 2014 03:26:10 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.7\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
13         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id S2uRrT-Lu33V for <notmuch@notmuchmail.org>;\r
17         Fri,  7 Feb 2014 03:26:05 -0800 (PST)\r
18 Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com\r
19         [209.85.216.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id BD8D2431FB6\r
22         for <notmuch@notmuchmail.org>; Fri,  7 Feb 2014 03:26:05 -0800 (PST)\r
23 Received: by mail-qc0-f179.google.com with SMTP id e16so5524184qcx.38\r
24         for <notmuch@notmuchmail.org>; Fri, 07 Feb 2014 03:26:04 -0800 (PST)\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=1e100.net; s=20130820;\r
27         h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\r
28         :references:in-reply-to:references;\r
29         bh=jYsM7On4Beguz6giSphEjIvJSc4SWC3fX+jkM80euTQ=;\r
30         b=joAJdCKfgilB2Pt5iIDsiCMx9/QrrDnrcZFjRv8ImWSBXspL0cCU8VyRwfIismxZzr\r
31         ddwT0KO36W7rQRlux8q63ajYz+Dn2mJB09ZxelO2o7a+Ysm5exqMtENN/HFtW7vC8c9P\r
32         8eSsAsnX3pZNnF0zijp3xgIlRno7zkck+L+Bc97Kcv+OEoL2WX2o8zHfd8+RjsqxszW0\r
33         JBBk6AsHhHkVWHTcZ7Rx8EalbGM/nz50y9ElgN7L+cT16FfNXe2K+/T9uGZic1iNnMuS\r
34         47G9TIfFHrId+6+P2nY18lqntqJZARHmZTaGlnw7yJZoqCIsYC1SaINTjuwhlzl//kkE\r
35         Xxlg==\r
36 X-Gm-Message-State:\r
37  ALoCoQl2M0WfzFIuU3GzXKleJge9LXiMQeQGqTsbOwtfBtNV5cGzXE+7kkv/mBJDGHJzK8GHHFSn\r
38 X-Received: by 10.140.51.109 with SMTP id t100mr19372074qga.50.1391772364216; \r
39         Fri, 07 Feb 2014 03:26:04 -0800 (PST)\r
40 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])\r
41         by mx.google.com with ESMTPSA id 30sm8322371qgt.4.2014.02.07.03.26.03\r
42         for <multiple recipients>\r
43         (version=TLSv1.1 cipher=RC4-SHA bits=128/128);\r
44         Fri, 07 Feb 2014 03:26:03 -0800 (PST)\r
45 From: Jani Nikula <jani@nikula.org>\r
46 To: notmuch@notmuchmail.org,\r
47         cworth@cworth.org\r
48 Subject: [PATCH 1/2] emacs: store sort order in the widgets in notmuch-hello\r
49 Date: Fri,  7 Feb 2014 12:25:52 +0100\r
50 Message-Id:\r
51  <4c3876274126985683e888641b29cf18142a5eb8.1391771337.git.jani@nikula.org>\r
52 X-Mailer: git-send-email 1.7.2.5\r
53 In-Reply-To: <1391727088-22172-1-git-send-email-cworth@cworth.org>\r
54 References: <1391727088-22172-1-git-send-email-cworth@cworth.org>\r
55 In-Reply-To: <cover.1391771337.git.jani@nikula.org>\r
56 References: <cover.1391771337.git.jani@nikula.org>\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: Fri, 07 Feb 2014 11:26:10 -0000\r
70 \r
71 ---\r
72  emacs/notmuch-hello.el |    4 +++-\r
73  1 files changed, 3 insertions(+), 1 deletions(-)\r
74 \r
75 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
76 index 7b3d76b..1c30b47 100644\r
77 --- a/emacs/notmuch-hello.el\r
78 +++ b/emacs/notmuch-hello.el\r
79 @@ -325,7 +325,8 @@ diagonal."\r
80  (defun notmuch-hello-widget-search (widget &rest ignore)\r
81    (notmuch-search (widget-get widget\r
82                               :notmuch-search-terms)\r
83 -                 notmuch-search-oldest-first))\r
84 +                 (widget-get widget\r
85 +                             :notmuch-search-oldest-first)))\r
86  \r
87  (defun notmuch-saved-search-count (search)\r
88    (car (process-lines notmuch-command "count" search)))\r
89 @@ -462,6 +463,7 @@ Such a list can be computed with `notmuch-hello-query-counts'."\r
90                 (widget-create 'push-button\r
91                                :notify #'notmuch-hello-widget-search\r
92                                :notmuch-search-terms query\r
93 +                              :notmuch-search-oldest-first notmuch-search-oldest-first\r
94                                name)\r
95                 (setq column-indent\r
96                       (1+ (max 0 (- column-width (length name)))))))\r
97 -- \r
98 1.7.2.5\r
99 \r