From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?iso-8859-1?q?R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: calc and comma Date: Sun, 19 Aug 2007 08:56:11 +0200 Message-ID: <200708190856.11855.andreas.roehler@online.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1187506187 24925 80.91.229.12 (19 Aug 2007 06:49:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Aug 2007 06:49:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 19 08:49:44 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IMebX-0000Hf-BO for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Aug 2007 08:49:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IMebX-0001V7-0d for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Aug 2007 02:49:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IMebH-0001UV-6O for help-gnu-emacs@gnu.org; Sun, 19 Aug 2007 02:49:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IMebF-0001Tk-Rk for help-gnu-emacs@gnu.org; Sun, 19 Aug 2007 02:49:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IMebF-0001TZ-OH for help-gnu-emacs@gnu.org; Sun, 19 Aug 2007 02:49:25 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IMebG-00023n-9q for help-gnu-emacs@gnu.org; Sun, 19 Aug 2007 02:49:26 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.186]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IMebD-0001Af-OD for help-gnu-emacs@gnu.org; Sun, 19 Aug 2007 02:49:24 -0400 Original-Received: from p54BEB266.dip0.t-ipconnect.de [84.190.178.102] (helo=karton) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1IMebC2cmr-0007wF; Sun, 19 Aug 2007 08:49:23 +0200 User-Agent: KMail/1.8.2 In-Reply-To: Content-Disposition: inline X-Provags-ID: V01U2FsdGVkX18yNg6wl3mR4IpS6Jh1ukw999/s/DvzBxxzwJw T2M3xw6jwfWhx72ODDxTiRWtf4SM6TLMlaY9draBIgZeTGFQwl DwQnnvljO3OVK6IpZ8xFw== X-detected-kernel: Linux 2.6? (barebone, rare!) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46687 Archived-At: Am Sonntag, 19. August 2007 02:05 schrieb Hadron: > Jay Belanger writes: > > Hadron writes: > >> Is there a way to configure calc to accept "," as a unit seperator > >> german style? > > > > It won't accept the comma as a unit separator, but it will display the > > comma as a unit separator. > > `d .' (calc-point-char) will prompt you for a new unit separator, > > so `d . ,' will make a comma the new unit separator. > > Then `m m' (calc-save-modes) will save the new value in your Calc init > > file, so next time you use Calc the separator will still be a comma. > > > > So typing `10.23' will display `10,23'. > > > > Jay > > Thanks, but this is driving me nuts since my german keyboard has a "," > (comma) on the numeric keyboard. Any other ideas? > _______________________________________________ In calculator.el is written: (defvar calculator-mode-map nil "The calculator key map.") (or calculator-mode-map (let ((map (make-sparse-keymap))) =2E.. (calculator-decimal "." [kp-decimal]) =46rom there I guess it might be sufficient to change the sign here, load again, ready. As I don't use `calc' until now, just that idea.=20 Andreas Roehler