From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 14CEA429E42 for ; Wed, 21 Dec 2011 05:46:25 -0800 (PST) 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 gQx61SF2SgB4 for ; Wed, 21 Dec 2011 05:46:24 -0800 (PST) Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222]) by olra.theworths.org (Postfix) with ESMTP id 77108431FB6 for ; Wed, 21 Dec 2011 05:46:24 -0800 (PST) Received: from odin.local (nancy.schnouki.net [78.238.0.45]) by ks3536.kimsufi.com (Postfix) with ESMTPSA id 5E57B6A0026; Wed, 21 Dec 2011 14:46:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net; s=key-schnouki; t=1324475183; bh=tTAnygeZM+uzY+Vzn6B2d0iatot/4OaG3yaveKmjCrA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=IwHwoiN6bqa6rtpTLesD5lX9atm+V/GKRgXajIZB6/Vv2sTSPnEXObIXeEiXgqQEf CC4ZRHQ7KMmbaL4/bxoh0U0XikeL4fIWQXm/7TtZvUqxZzSplJbG2cqsZBdcqvxmzv 3z51P8/ik4FBQr5xPP+ZDpzY1kX8FDw7gjTsaOtI= From: Thomas Jost To: Dmitry Kurochkin Subject: [PATCH 1/2] emacs: rename notmuch-decimal-separator to notmuch-hello-thousands-separator Date: Wed, 21 Dec 2011 14:44:18 +0100 Message-Id: <1324475059-16543-1-git-send-email-schnouki@schnouki.net> X-Mailer: git-send-email 1.7.8 In-Reply-To: <87fwgewvje.fsf@gmail.com> References: <87fwgewvje.fsf@gmail.com> Cc: notmuch@notmuchmail.org 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: Wed, 21 Dec 2011 13:46:25 -0000 In 123,456.78, "." is the decimal separator, but "," is the thousands separator. --- emacs/notmuch-hello.el | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index f892ff7..ef585ea 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -131,8 +131,8 @@ So: (integer :tag "Number of characters") (float :tag "Fraction of window"))) -(defcustom notmuch-decimal-separator "," - "The string used as a decimal separator. +(defcustom notmuch-hello-thousands-separator "," + "The string used as a thousands separator. Typically \",\" in the US and UK and \".\" in Europe." :group 'notmuch @@ -169,7 +169,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-hello-thousands-separator elem)) (cdr result))))) (defun notmuch-hello-trim (search) -- 1.7.8