unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Evaluation of "standard" style math expresssions.
Date: Tue, 21 Sep 2004 15:29:37 GMT	[thread overview]
Message-ID: <jwvllf37iay.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: vw8isa74yc8.fsf@berry.phys.ntnu.no

>> I know how to evaluate mathematical expressions expressed in lisp in
>> any emacs buffer.  (eg (+ 17 42))
>> 
>> But I'd like to be able to eval expression where the notation is the
>> kind you learn in school (eg (17 + 42))

> M-x calc 1 7  + 4 2 RET; q to quit calc again.

Hmm...that doesn't work here.  It works with M-x calculator, but with
M-x calc it starts `Calc' which by default uses RPN notation.


        Stefan

  reply	other threads:[~2004-09-21 15:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-21 11:48 Evaluation of "standard" style math expresssions Alex Polite
2004-09-21 11:53 ` Joakim Hove
2004-09-21 12:07 ` Marco Parrone
2004-09-21 12:31   ` Alex Polite
2004-09-21 12:10 ` Albert Reiner
2004-09-21 15:29   ` Stefan Monnier [this message]
2004-09-21 15:35     ` Jay Belanger
2004-09-21 17:50     ` Albert Reiner
2004-09-21 20:22       ` Stefan Monnier

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=jwvllf37iay.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /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.
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).