From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: adding Calc to menu Date: Tue, 14 May 2002 18:26:11 +0000 (UTC) Sender: emacs-devel-admin@gnu.org Message-ID: References: <1021327438.4406.101.camel@space-ghost> <877km6swad.fsf@tc-1-100.kawasaki.gol.ne.jp> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1021400819 22593 127.0.0.1 (14 May 2002 18:26:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 14 May 2002 18:26:59 +0000 (UTC) Cc: walters@debian.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 177h0l-0005sI-00 for ; Tue, 14 May 2002 20:26:59 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 177hBu-0004ER-00 for ; Tue, 14 May 2002 20:38:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177h0v-0003WX-00; Tue, 14 May 2002 14:27:09 -0400 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=localhost) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177h06-0003R2-00; Tue, 14 May 2002 14:26:19 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Tue, 14 May 2002 18:26:11 +0000 (UTC) Original-To: miles@gnu.org In-Reply-To: <877km6swad.fsf@tc-1-100.kawasaki.gol.ne.jp> (message from Miles Bader on 14 May 2002 22:18:02 +0900) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3930 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3930 ... it would be much nicer if there was only one calculator program that let you choose RPN or infix entry via a preference. Calc uses RPN by default. You can change how you you handle algebraic expressions from RPN to infix format. I don't think you can change the standard entry for something like adding 2 and 2 into infix mode in the normal Calc interface. (I could be wrong about this.) However, Emacs Calc offers `Quick Mode', M-# q, which takes entries in infix mode by default. I just added 2+2. `Quick Mode' prompts you to type any formula in standard algebraic notation (like `4 - 2/3') and then displays the result at the bottom of the Emacs screen.... You are then back in the same editing buffer you were in before, ready to continue editing or to type `M-# q' again to do another quick calculation. The result of the calculation will also be in the Emacs "kill ring" so that a `C-y' command at this point will yank the result into your editing buffer. Also, on X windowing systems, Emacs Calc offers "Keypad Mode", which is a mouse-based interface to the Calculator. This might be considered the `simplest' calculator of them all, except that the default is RPN. M-# k or M-x calc-keypad -- Robert J. Chassell bob@rattlesnake.com Rattlesnake Enterprises http://www.rattlesnake.com