From: "Robert J. Chassell" <bob@rattlesnake.com>
Cc: walters@debian.org, emacs-devel@gnu.org
Subject: Re: adding Calc to menu
Date: Tue, 14 May 2002 18:26:11 +0000 (UTC) [thread overview]
Message-ID: <m177gzz-000IfFC@localhost> (raw)
In-Reply-To: <877km6swad.fsf@tc-1-100.kawasaki.gol.ne.jp> (message from Miles Bader on 14 May 2002 22:18:02 +0900)
... 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
next prev parent reply other threads:[~2002-05-14 18:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-13 22:03 adding Calc to menu Colin Walters
2002-05-14 11:32 ` Robert J. Chassell
2002-05-14 13:18 ` Miles Bader
2002-05-14 18:26 ` Robert J. Chassell [this message]
2002-05-15 7:01 ` Richard Stallman
2002-05-14 17:38 ` Colin Walters
2002-05-16 7:21 ` Richard Stallman
2002-05-16 18:59 ` Colin Walters
2002-05-16 19:15 ` Miles Bader
2002-05-17 19:29 ` Richard Stallman
2002-05-15 7:01 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m177gzz-000IfFC@localhost \
--to=bob@rattlesnake.com \
--cc=emacs-devel@gnu.org \
--cc=walters@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).