Re: Avoiding the "huge INBOX of death"
[notmuch-archives.git] / 08 / c3c50a66e848683f3c14df8ae1b5389f6509ee
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 304DB429E30\r
6         for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 05:04:14 -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: -0.1\r
10 X-Spam-Level: \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
13         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 Nn18J8g930IC for <notmuch@notmuchmail.org>;\r
17         Mon,  3 Oct 2011 05:04:12 -0700 (PDT)\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
19         by olra.theworths.org (Postfix) with ESMTP id 8CA31429E27\r
20         for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 05:04:08 -0700 (PDT)\r
21 Received: from localhost.localdomain (thor.loria.fr [152.81.12.250])\r
22         by ks3536.kimsufi.com (Postfix) with ESMTPSA id 280426A06B1;\r
23         Mon,  3 Oct 2011 14:04:07 +0200 (CEST)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
25         s=key-schnouki; t=1317643447;\r
26         bh=6ar4QQOJbLS/jo0LTaW+Rq6vJ44/5rABuNOiOAfzs+k=;\r
27         h=From:To:Subject:Date:Message-Id:In-Reply-To:References;\r
28         b=NLmCnxgDbAtoE036WpN89c/838cjHWWyYXrNGv6thOVa8ywufrIDLznPL/UTumm21\r
29         ij6A67spT0jCFlVzMJPSFNocnohBQlAo8BQEie6u70U5NXG7CBqayCFhKiO6GHrXC2\r
30         DnvpiQRP+JYOg5TqfrhjcxEZje7HvSf/InSQYMnk=\r
31 From: Thomas Jost <schnouki@schnouki.net>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH 3/4] emacs: rename notmuch-decimal-separator to\r
34         notmuch-thousands-separator\r
35 Date: Mon,  3 Oct 2011 14:03:57 +0200\r
36 Message-Id: <1317643438-31272-4-git-send-email-schnouki@schnouki.net>\r
37 X-Mailer: git-send-email 1.7.6.4\r
38 In-Reply-To: <1317643438-31272-1-git-send-email-schnouki@schnouki.net>\r
39 References: <1317643438-31272-1-git-send-email-schnouki@schnouki.net>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Mon, 03 Oct 2011 12:04:14 -0000\r
53 \r
54 In 123,456.78, "." is the decimal separator, but "," is the thousands separator.\r
55 \r
56 This commit also mentions the space being used as thousands separator in several\r
57 European countries.\r
58 ---\r
59  emacs/notmuch-hello.el |    8 ++++----\r
60  1 files changed, 4 insertions(+), 4 deletions(-)\r
61 \r
62 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
63 index 65fde75..1cf95d7 100644\r
64 --- a/emacs/notmuch-hello.el\r
65 +++ b/emacs/notmuch-hello.el\r
66 @@ -111,10 +111,10 @@ So:\r
67           (integer :tag "Number of characters")\r
68           (float :tag "Fraction of window")))\r
69  \r
70 -(defcustom notmuch-decimal-separator ","\r
71 -  "The string used as a decimal separator.\r
72 +(defcustom notmuch-thousands-separator ","\r
73 +  "The string used as a thousands separator.\r
74  \r
75 -Typically \",\" in the US and UK and \".\" in Europe."\r
76 +Typically \",\" in the US and UK and \".\" or \" \" in Europe."\r
77    :group 'notmuch\r
78    :type 'string)\r
79  \r
80 @@ -139,7 +139,7 @@ Typically \",\" in the US and UK and \".\" in Europe."\r
81      (apply #'concat\r
82       (number-to-string (car result))\r
83       (mapcar (lambda (elem)\r
84 -             (format "%s%03d" notmuch-decimal-separator elem))\r
85 +             (format "%s%03d" notmuch-thousands-separator elem))\r
86              (cdr result)))))\r
87  \r
88  (defun notmuch-hello-trim (search)\r
89 -- \r
90 1.7.6.4\r
91 \r