Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 64 / f2b39b8fa400ea08102732298f1412b355a3d6
1 Return-Path: <servilio@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 06BF44196F5\r
6         for <notmuch@notmuchmail.org>; Sat, 26 Jun 2010 16:27:31 -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: -1.999\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
13         DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]\r
14         autolearn=ham\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 gC1-kZAHExv6 for <notmuch@notmuchmail.org>;\r
18         Sat, 26 Jun 2010 16:27:20 -0700 (PDT)\r
19 Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com\r
20         [209.85.212.53])\r
21         by olra.theworths.org (Postfix) with ESMTP id 76308431FC1\r
22         for <notmuch@notmuchmail.org>; Sat, 26 Jun 2010 16:27:20 -0700 (PDT)\r
23 Received: by vws9 with SMTP id 9so621658vws.26\r
24         for <notmuch@notmuchmail.org>; Sat, 26 Jun 2010 16:27:19 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=domainkey-signature:mime-version:received:received:date:message-id\r
27         :subject:from:to:content-type;\r
28         bh=337xvHxxg/PySMOfNAiPCUka5yDDZ3t8Dfrds8A9P9E=;\r
29         b=Jl8cPAm0SrkZ5/utkx1gGlcQLDcbrxVPkeNoMUt6Nm6/NkRDa3vReLVBeRPQ4qDc39\r
30         8goWATQVGDcgprBzaUWMfGkTIP0PdLiMF8TTXlFXPkq1YC6W8BHS7Qw4t+Qgp3xdD5b9\r
31         5J1CQK8ryJv9VJm8sMIsem+t3hAnOnt6hojTI=\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
33         h=mime-version:date:message-id:subject:from:to:content-type;\r
34         b=NwOqZ690rC0d6ITXtvufxiuNizKnyd+8XqNYPLXZm22dNYatNGfLt1ci/qyXSbLDx1\r
35         4BpH4n9PC8/r1rqMGW4aiQQj33LNkwPUDBY/VPm/+TVI4nqCbbKbJaWbYnXj4mrSZmxP\r
36         nsHRNqCu68CSd5E4CSeiipHEDf9eofpjJldB4=\r
37 MIME-Version: 1.0\r
38 Received: by 10.220.124.226 with SMTP id v34mr1652742vcr.203.1277594839227; \r
39         Sat, 26 Jun 2010 16:27:19 -0700 (PDT)\r
40 Received: by 10.220.90.138 with HTTP; Sat, 26 Jun 2010 16:27:19 -0700 (PDT)\r
41 Date: Sat, 26 Jun 2010 19:27:19 -0400\r
42 Message-ID: <AANLkTilIpVgZOC90qtKHSRGra2-g6ZJ8Mg4kGRDxEQ7Y@mail.gmail.com>\r
43 Subject: [PATCH 1/3] Use notmuch-search-<what>-thread where moving between \r
44         threads.\r
45 From: "servilio@gmail.com" <servilio@gmail.com>\r
46 To: notmuch <notmuch@notmuchmail.org>\r
47 Content-Type: text/plain; charset=ISO-8859-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 Jun 2010 23:27:31 -0000\r
61 \r
62 This makes clearer what the intention is in the code, and opens the\r
63 possibility for alternate logic for moving between threads.\r
64 ---\r
65  emacs/notmuch-show.el |    2 +-\r
66  emacs/notmuch.el      |    2 +-\r
67  2 files changed, 2 insertions(+), 2 deletions(-)\r
68 \r
69 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
70 index f872cdf..84c6cd6 100644\r
71 --- a/emacs/notmuch-show.el\r
72 +++ b/emacs/notmuch-show.el\r
73 @@ -994,7 +994,7 @@ argument, hide all of the messages."\r
74      (if parent-buffer\r
75         (progn\r
76           (switch-to-buffer parent-buffer)\r
77 -         (forward-line)\r
78 +         (notmuch-search-next-thread)\r
79           (if show-next\r
80               (notmuch-search-show-thread))))))\r
81 \r
82 diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
83 index fe1041f..417f3fd 100644\r
84 --- a/emacs/notmuch.el\r
85 +++ b/emacs/notmuch.el\r
86 @@ -549,7 +549,7 @@ thread or threads in the current region."\r
87  This function advances the next thread when finished."\r
88    (interactive)\r
89    (notmuch-search-remove-tag-thread "inbox")\r
90 -  (forward-line))\r
91 +  (notmuch-search-next-thread))\r
92 \r
93  (defun notmuch-search-process-sentinel (proc msg)\r
94    "Add a message to let user know when \"notmuch search\" exits"\r
95 -- \r
96 1.7.1\r