From: "Mathias Dahl" <mathias.dahl@gmail.com>
To: "Eric Lilja" <mindcooler@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: What happens when I evaluate the call the second time?
Date: Tue, 3 Jul 2007 11:45:26 +0200 [thread overview]
Message-ID: <7dbe73ed0707030245t1fc73075hae75d19aac485562@mail.gmail.com> (raw)
In-Reply-To: <f6btne$ocr$1@sea.gmane.org>
> First C-x C-e after the function, then twice after calling it. The
> output is:
> average
> 2
> 2 (#o2, #x2, ?\C-b)
>
> Now what's the (#o2, #x2, ?\C-b) stuff?
Different ways to express 2 I think. What I find strange however, is
that it is only displayed at the second invocation of C-x C-e. If you
for example move point left and right and evaluate again, you first
get 2, then the above.
> PS. I notice that the output is 2 and not 2.5, I guess the output gets
> truncated to an integer (the decimal part is discarded).
Yes. Try with (average 2.0 3) and you will get 2.5.
next prev parent reply other threads:[~2007-07-03 9:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-02 22:20 What happens when I evaluate the call the second time? Eric Lilja
2007-07-03 9:45 ` Mathias Dahl [this message]
2007-07-03 10:00 ` Andreas Schwab
2007-07-03 14:32 ` Lennart Borgman (gmail)
2007-07-03 16:03 ` Andreas Schwab
2007-07-03 16:07 ` Lennart Borgman (gmail)
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=7dbe73ed0707030245t1fc73075hae75d19aac485562@mail.gmail.com \
--to=mathias.dahl@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=mindcooler@gmail.com \
/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).