From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: lisp evaluation command
Date: Wed, 14 Jan 2009 14:04:43 +0100 [thread overview]
Message-ID: <874p02yr6c.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 21455306.post@talk.nabble.com
moueza <mouezapeter@gmail.com> writes:
Hi,
the "lisp evaluation command" which always works is:
,----[ C-h k C-x C-e ]
| C-x C-e runs the command eval-last-sexp, which is an interactive compiled Lisp
| function in `lisp-mode.el'.
|
| It is bound to C-x C-e.
|
| (eval-last-sexp eval-last-sexp-arg-internal)
|
| Evaluate sexp before point; print value in minibuffer.
| Interactively, with prefix argument, print output into current buffer.
|
| If `eval-expression-debug-on-error' is non-nil, which is the default,
| this command arranges for all errors to enter the debugger.
`----
> C-j unavailable for me, what is the minibuffer equivalent command for
> C-j ?
In lisp modes that's `eval-print-last-sexp'.
Bye,
Tassilo
--
Inside every program Richard Stallman writes there is a compiler for a
new language he just created.
next prev parent reply other threads:[~2009-01-14 13:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 12:50 lisp evaluation command moueza
2009-01-14 13:04 ` Tassilo Horn [this message]
[not found] <mailman.4832.1231937444.26697.help-gnu-emacs@gnu.org>
2009-01-14 19:30 ` Xah Lee
2009-01-15 7:46 ` Tassilo Horn
[not found] ` <mailman.4901.1232005634.26697.help-gnu-emacs@gnu.org>
2009-01-15 8:13 ` Teemu Likonen
2009-01-15 11:49 ` Tassilo Horn
[not found] ` <mailman.4919.1232020169.26697.help-gnu-emacs@gnu.org>
2009-01-22 16:41 ` mouezapeter
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874p02yr6c.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=help-gnu-emacs@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.