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 23C95429E32
\r
6 for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 09:32:32 -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 Jupc56SFDw+T for <notmuch@notmuchmail.org>;
\r
17 Tue, 13 Dec 2011 09:32:31 -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 6E447429E29
\r
20 for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 09:32:30 -0800 (PST)
\r
21 Received: from thor.loria.fr (thor.loria.fr [152.81.12.250])
\r
22 by ks3536.kimsufi.com (Postfix) with ESMTPSA id C2FD76A002B;
\r
23 Tue, 13 Dec 2011 18:32:29 +0100 (CET)
\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;
\r
25 s=key-schnouki; t=1323797549;
\r
26 bh=MoGmF5YFZoelPcZeIKSp2lGPorYQDVm0bbiMBBn++vM=;
\r
27 h=From:To:Subject:Date:Message-Id:In-Reply-To:References;
\r
28 b=e+MS0kwqfVg2LldQoBLyHM3nnOwvjY/uhv7I+g95KirS1+xGzI38TgRwuNvDTT2K+
\r
29 AiE8JwviklA5TKJd3CsL3k3bjXLXm1BfsTL/UvsbjnORUiz/5Zj6yeZXShi8SpczNk
\r
30 TtwTdICbzu+qhI7AVKFPb7krCwt9nR6MbgIAyP3w=
\r
31 From: Thomas Jost <schnouki@schnouki.net>
\r
32 To: notmuch@notmuchmail.org
\r
33 Subject: [PATCH v3 3/4] emacs: rename notmuch-decimal-separator to
\r
34 notmuch-thousands-separator
\r
35 Date: Tue, 13 Dec 2011 18:32:11 +0100
\r
36 Message-Id: <1323797532-597-4-git-send-email-schnouki@schnouki.net>
\r
37 X-Mailer: git-send-email 1.7.8
\r
38 In-Reply-To: <1323797532-597-1-git-send-email-schnouki@schnouki.net>
\r
39 References: <87d3cx2t38.fsf@rocinante.cs.unb.ca>
\r
40 <1323797532-597-1-git-send-email-schnouki@schnouki.net>
\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: Tue, 13 Dec 2011 17:32:32 -0000
\r
55 In 123,456.78, "." is the decimal separator, but "," is the thousands separator.
\r
57 This commit also mentions the space being used as thousands separator in several
\r
60 emacs/notmuch-hello.el | 8 ++++----
\r
61 1 files changed, 4 insertions(+), 4 deletions(-)
\r
63 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
\r
64 index 0582cae..0fe9c1d 100644
\r
65 --- a/emacs/notmuch-hello.el
\r
66 +++ b/emacs/notmuch-hello.el
\r
67 @@ -131,10 +131,10 @@ So:
\r
68 (integer :tag "Number of characters")
\r
69 (float :tag "Fraction of window")))
\r
71 -(defcustom notmuch-decimal-separator ","
\r
72 - "The string used as a decimal separator.
\r
73 +(defcustom notmuch-thousands-separator ","
\r
74 + "The string used as a thousands separator.
\r
76 -Typically \",\" in the US and UK and \".\" in Europe."
\r
77 +Typically \",\" in the US and UK and \".\" or \" \" in Europe."
\r
81 @@ -159,7 +159,7 @@ Typically \",\" in the US and UK and \".\" in Europe."
\r
83 (number-to-string (car result))
\r
84 (mapcar (lambda (elem)
\r
85 - (format "%s%03d" notmuch-decimal-separator elem))
\r
86 + (format "%s%03d" notmuch-thousands-separator elem))
\r
89 (defun notmuch-hello-trim (search)
\r