1 Return-Path: <schnouki@schnouki.net>
\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 14CEA429E42
\r
6 for <notmuch@notmuchmail.org>; Wed, 21 Dec 2011 05:46:25 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]
\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 gQx61SF2SgB4 for <notmuch@notmuchmail.org>;
\r
17 Wed, 21 Dec 2011 05:46:24 -0800 (PST)
\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])
\r
19 by olra.theworths.org (Postfix) with ESMTP id 77108431FB6
\r
20 for <notmuch@notmuchmail.org>; Wed, 21 Dec 2011 05:46:24 -0800 (PST)
\r
21 Received: from odin.local (nancy.schnouki.net [78.238.0.45])
\r
22 by ks3536.kimsufi.com (Postfix) with ESMTPSA id 5E57B6A0026;
\r
23 Wed, 21 Dec 2011 14:46:23 +0100 (CET)
\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;
\r
25 s=key-schnouki; t=1324475183;
\r
26 bh=tTAnygeZM+uzY+Vzn6B2d0iatot/4OaG3yaveKmjCrA=;
\r
27 h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References;
\r
28 b=IwHwoiN6bqa6rtpTLesD5lX9atm+V/GKRgXajIZB6/Vv2sTSPnEXObIXeEiXgqQEf
\r
29 CC4ZRHQ7KMmbaL4/bxoh0U0XikeL4fIWQXm/7TtZvUqxZzSplJbG2cqsZBdcqvxmzv
\r
30 3z51P8/ik4FBQr5xPP+ZDpzY1kX8FDw7gjTsaOtI=
\r
31 From: Thomas Jost <schnouki@schnouki.net>
\r
32 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
33 Subject: [PATCH 1/2] emacs: rename notmuch-decimal-separator to
\r
34 notmuch-hello-thousands-separator
\r
35 Date: Wed, 21 Dec 2011 14:44:18 +0100
\r
36 Message-Id: <1324475059-16543-1-git-send-email-schnouki@schnouki.net>
\r
37 X-Mailer: git-send-email 1.7.8
\r
38 In-Reply-To: <87fwgewvje.fsf@gmail.com>
\r
39 References: <87fwgewvje.fsf@gmail.com>
\r
40 Cc: notmuch@notmuchmail.org
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Wed, 21 Dec 2011 13:46:25 -0000
\r
55 In 123,456.78, "." is the decimal separator, but "," is the thousands separator.
\r
57 emacs/notmuch-hello.el | 6 +++---
\r
58 1 files changed, 3 insertions(+), 3 deletions(-)
\r
60 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
\r
61 index f892ff7..ef585ea 100644
\r
62 --- a/emacs/notmuch-hello.el
\r
63 +++ b/emacs/notmuch-hello.el
\r
64 @@ -131,8 +131,8 @@ So:
\r
65 (integer :tag "Number of characters")
\r
66 (float :tag "Fraction of window")))
\r
68 -(defcustom notmuch-decimal-separator ","
\r
69 - "The string used as a decimal separator.
\r
70 +(defcustom notmuch-hello-thousands-separator ","
\r
71 + "The string used as a thousands separator.
\r
73 Typically \",\" in the US and UK and \".\" in Europe."
\r
75 @@ -169,7 +169,7 @@ Typically \",\" in the US and UK and \".\" in Europe."
\r
77 (number-to-string (car result))
\r
78 (mapcar (lambda (elem)
\r
79 - (format "%s%03d" notmuch-decimal-separator elem))
\r
80 + (format "%s%03d" notmuch-hello-thousands-separator elem))
\r
83 (defun notmuch-hello-trim (search)
\r