From: Stefan Monnier <monnier@iro.umontreal.ca>
To: MON KEY <monkey@sandpframing.com>
Subject: bug#6893: evaluating `'#'(lambda (b) b)8 ; => 8 with `eval-last-sexp' "C-x C-e" in `emacs-lisp-mode'
Date: Sun, 22 Aug 2010 00:40:17 +0200 [thread overview]
Message-ID: <jwvr5hroakm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <AANLkTi=6V4DjoJ_EqD_HP27kVaDeZ2K_X38MOMsVJ2+P@mail.gmail.com> (MON KEY's message of "Sat, 21 Aug 2010 17:55:03 -0400")
> Interactive invocation of `eval-last-sexp' (e.g. "C-x C-e" ) in
> Emacs-lisp mode buffer for this form:
> `'#'(lambda (b) b)8
> ;=> 8
C-x C-e doesn't evaluate "the expression on the line" but "the last sexp
before point".
The "last-sexp" is just "8" (try C-M-b to see what it is), so whatever
other sexp you put before won't make any difference.
Stefan
next prev parent reply other threads:[~2010-08-21 22:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-21 21:55 bug#6893: evaluating `'#'(lambda (b) b)8 ; => 8 with `eval-last-sexp' "C-x C-e" in `emacs-lisp-mode' MON KEY
2010-08-21 22:40 ` Stefan Monnier [this message]
2010-08-22 0:17 ` MON KEY
2010-08-22 22:49 ` Stefan Monnier
2010-08-24 20:49 ` MON KEY
2010-08-21 22:50 ` Andreas Schwab
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=jwvr5hroakm.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=monkey@sandpframing.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).