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