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 A820E431FAF
\r
6 for <notmuch@notmuchmail.org>; Sat, 14 Sep 2013 13:17:20 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 IEMLXW6eNOpd for <notmuch@notmuchmail.org>;
\r
18 Sat, 14 Sep 2013 13:17:14 -0700 (PDT)
\r
19 Received: from mail-we0-f174.google.com (mail-we0-f174.google.com
\r
20 [74.125.82.174]) (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 E90B3431FAE
\r
23 for <notmuch@notmuchmail.org>; Sat, 14 Sep 2013 13:17:13 -0700 (PDT)
\r
24 Received: by mail-we0-f174.google.com with SMTP id q58so2296038wes.5
\r
25 for <notmuch@notmuchmail.org>; Sat, 14 Sep 2013 13:17:12 -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=87O5cfSjAmGkuu+v5mUIJWMfuQP11ZU8eNlNQAm0/Vs=;
\r
29 b=PehO7g5SlWVJ11cr5C6MCo9NrNqKggOxyrSCiweepuAyd4r0GjnuRc68s5wESXE4Xh
\r
30 rGXDUwkFIxL9XP/A4ldZBZcRRSiXJB7fHXy4JlQ0wR87EDnFebTXUApRRn2lF+Ijjkac
\r
31 utUbexaip9VWuGSS11or/8eNPJcz/7lzKyJO7hdz/wfaYqiPsq4tIY0uJAKUv25h83ws
\r
32 cUxMF8NopEu6vUtCj176J1yCXfGxfSBHHKx8Y4bTLv4E614k5TXYvYtzBJdLIE2xzPGz
\r
33 bf5lC4g72CdGUK8q0GOiG9jWgqZtgTEyqeJqwrmPUOI8BT1/tnIxRDFQsIoyuva0c6X2
\r
35 X-Received: by 10.194.24.168 with SMTP id v8mr16225023wjf.28.1379189832779;
\r
36 Sat, 14 Sep 2013 13:17:12 -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 i8sm12247180wib.1.1969.12.31.16.00.00
\r
39 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
40 Sat, 14 Sep 2013 13:17:12 -0700 (PDT)
\r
41 From: Mark Walters <markwalters1009@gmail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH] emacs: bugfix unquoted symbol
\r
44 Date: Sat, 14 Sep 2013 21:17:07 +0100
\r
45 Message-Id: <1379189827-21363-1-git-send-email-markwalters1009@gmail.com>
\r
46 X-Mailer: git-send-email 1.7.9.1
\r
47 X-BeenThere: notmuch@notmuchmail.org
\r
48 X-Mailman-Version: 2.1.13
\r
50 List-Id: "Use and development of the notmuch mail system."
\r
51 <notmuch.notmuchmail.org>
\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
55 List-Post: <mailto:notmuch@notmuchmail.org>
\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
59 X-List-Received-Date: Sat, 14 Sep 2013 20:17:20 -0000
\r
61 In the recent changes for search order handling the default-value of
\r
62 notmuch-search-oldest-first was used. However, default-value needs a
\r
63 symbol so the symbol-name needs to be quoted.
\r
65 This missing quote was causing strange sort-orders in some cases.
\r
68 I think this is clearly correct (and what was intended) and it seems
\r
69 to work as expected.
\r
78 emacs/notmuch.el | 2 +-
\r
79 1 files changed, 1 insertions(+), 1 deletions(-)
\r
81 diff --git a/emacs/notmuch.el b/emacs/notmuch.el
\r
82 index 4de6229..0ff248b 100644
\r
83 --- a/emacs/notmuch.el
\r
84 +++ b/emacs/notmuch.el
\r
85 @@ -888,7 +888,7 @@ the configured default sort order."
\r
87 ;; Use the default search order (if we're doing a search from a
\r
88 ;; search buffer, ignore any buffer-local overrides)
\r
89 - (default-value notmuch-search-oldest-first)))
\r
90 + (default-value 'notmuch-search-oldest-first)))
\r
92 (let* ((query (or query (notmuch-read-query "Notmuch search: ")))
\r
93 (buffer (get-buffer-create (notmuch-search-buffer-title query))))
\r