[PATCH 3/4] emacs: rename notmuch-decimal-separator to notmuch-thousands-separator
authorThomas Jost <schnouki@schnouki.net>
Mon, 3 Oct 2011 12:03:57 +0000 (14:03 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:33 +0000 (09:39 -0800)
08/c3c50a66e848683f3c14df8ae1b5389f6509ee [new file with mode: 0644]

diff --git a/08/c3c50a66e848683f3c14df8ae1b5389f6509ee b/08/c3c50a66e848683f3c14df8ae1b5389f6509ee
new file mode 100644 (file)
index 0000000..123e9a5
--- /dev/null
@@ -0,0 +1,91 @@
+Return-Path: <schnouki@schnouki.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 304DB429E30\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 05:04:14 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Nn18J8g930IC for <notmuch@notmuchmail.org>;\r
+       Mon,  3 Oct 2011 05:04:12 -0700 (PDT)\r
+Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
+       by olra.theworths.org (Postfix) with ESMTP id 8CA31429E27\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 05:04:08 -0700 (PDT)\r
+Received: from localhost.localdomain (thor.loria.fr [152.81.12.250])\r
+       by ks3536.kimsufi.com (Postfix) with ESMTPSA id 280426A06B1;\r
+       Mon,  3 Oct 2011 14:04:07 +0200 (CEST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
+       s=key-schnouki; t=1317643447;\r
+       bh=6ar4QQOJbLS/jo0LTaW+Rq6vJ44/5rABuNOiOAfzs+k=;\r
+       h=From:To:Subject:Date:Message-Id:In-Reply-To:References;\r
+       b=NLmCnxgDbAtoE036WpN89c/838cjHWWyYXrNGv6thOVa8ywufrIDLznPL/UTumm21\r
+       ij6A67spT0jCFlVzMJPSFNocnohBQlAo8BQEie6u70U5NXG7CBqayCFhKiO6GHrXC2\r
+       DnvpiQRP+JYOg5TqfrhjcxEZje7HvSf/InSQYMnk=\r
+From: Thomas Jost <schnouki@schnouki.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 3/4] emacs: rename notmuch-decimal-separator to\r
+       notmuch-thousands-separator\r
+Date: Mon,  3 Oct 2011 14:03:57 +0200\r
+Message-Id: <1317643438-31272-4-git-send-email-schnouki@schnouki.net>\r
+X-Mailer: git-send-email 1.7.6.4\r
+In-Reply-To: <1317643438-31272-1-git-send-email-schnouki@schnouki.net>\r
+References: <1317643438-31272-1-git-send-email-schnouki@schnouki.net>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 03 Oct 2011 12:04:14 -0000\r
+\r
+In 123,456.78, "." is the decimal separator, but "," is the thousands separator.\r
+\r
+This commit also mentions the space being used as thousands separator in several\r
+European countries.\r
+---\r
+ emacs/notmuch-hello.el |    8 ++++----\r
+ 1 files changed, 4 insertions(+), 4 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
+index 65fde75..1cf95d7 100644\r
+--- a/emacs/notmuch-hello.el\r
++++ b/emacs/notmuch-hello.el\r
+@@ -111,10 +111,10 @@ So:\r
+         (integer :tag "Number of characters")\r
+         (float :tag "Fraction of window")))\r
\r
+-(defcustom notmuch-decimal-separator ","\r
+-  "The string used as a decimal separator.\r
++(defcustom notmuch-thousands-separator ","\r
++  "The string used as a thousands separator.\r
\r
+-Typically \",\" in the US and UK and \".\" in Europe."\r
++Typically \",\" in the US and UK and \".\" or \" \" in Europe."\r
+   :group 'notmuch\r
+   :type 'string)\r
\r
+@@ -139,7 +139,7 @@ Typically \",\" in the US and UK and \".\" in Europe."\r
+     (apply #'concat\r
+      (number-to-string (car result))\r
+      (mapcar (lambda (elem)\r
+-            (format "%s%03d" notmuch-decimal-separator elem))\r
++            (format "%s%03d" notmuch-thousands-separator elem))\r
+            (cdr result)))))\r
\r
+ (defun notmuch-hello-trim (search)\r
+-- \r
+1.7.6.4\r
+\r