unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to eval an elisp expression in the minibuffer
@ 2004-02-03 19:47 Lowell Kirsh
  2004-02-03 20:14 ` Benjamin Rutt
  2004-02-03 20:27 ` Peter Lee
  0 siblings, 2 replies; 4+ messages in thread
From: Lowell Kirsh @ 2004-02-03 19:47 UTC (permalink / raw)


How can I evaluate an elisp expression by entering it in the minibuffer? 
  That is, the command that will make the minibuffer active and allow me 
to enter a sexp there...

Lowell

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to eval an elisp expression in the minibuffer
  2004-02-03 19:47 how to eval an elisp expression in the minibuffer Lowell Kirsh
@ 2004-02-03 20:14 ` Benjamin Rutt
  2004-02-03 20:27 ` Peter Lee
  1 sibling, 0 replies; 4+ messages in thread
From: Benjamin Rutt @ 2004-02-03 20:14 UTC (permalink / raw)


Lowell Kirsh <lkirsh@cs.ubc.ca> writes:

> How can I evaluate an elisp expression by entering it in the
> minibuffer? That is, the command that will make the minibuffer active
> and allow me to enter a sexp there...

M-:
-- 
Benjamin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to eval an elisp expression in the minibuffer
  2004-02-03 19:47 how to eval an elisp expression in the minibuffer Lowell Kirsh
  2004-02-03 20:14 ` Benjamin Rutt
@ 2004-02-03 20:27 ` Peter Lee
  2004-02-03 21:30   ` Lowell Kirsh
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Lee @ 2004-02-03 20:27 UTC (permalink / raw)


>>>> Lowell Kirsh writes:

    Lowell> How can I evaluate an elisp expression by entering it in
    Lowell> the minibuffer? That is, the command that will make the
    Lowell> minibuffer active and allow me to enter a sexp there...

Is this what you mean?

,----[ C-h k M-: ]
| M-: runs the command eval-expression
|    which is an interactive compiled Lisp function in `simple'.
| It is bound to M-:, M-ESC :.
| (eval-expression EVAL-EXPRESSION-ARG &optional EVAL-EXPRESSION-INSERT-VALUE)
| 
| Evaluate EVAL-EXPRESSION-ARG and print value in the echo area.
| Value is also consed on to front of the variable `values'.
| Optional argument EVAL-EXPRESSION-INSERT-VALUE, if non-nil, means
| insert the result into the current buffer instead of printing it in
| the echo area.
| 
`----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to eval an elisp expression in the minibuffer
  2004-02-03 20:27 ` Peter Lee
@ 2004-02-03 21:30   ` Lowell Kirsh
  0 siblings, 0 replies; 4+ messages in thread
From: Lowell Kirsh @ 2004-02-03 21:30 UTC (permalink / raw)




Peter Lee wrote:
> 
> Is this what you mean?

Yep, thanks.

> ,----[ C-h k M-: ]
> | M-: runs the command eval-expression
> |    which is an interactive compiled Lisp function in `simple'.
> | It is bound to M-:, M-ESC :.
> | (eval-expression EVAL-EXPRESSION-ARG &optional EVAL-EXPRESSION-INSERT-VALUE)
> | 
> | Evaluate EVAL-EXPRESSION-ARG and print value in the echo area.
> | Value is also consed on to front of the variable `values'.
> | Optional argument EVAL-EXPRESSION-INSERT-VALUE, if non-nil, means
> | insert the result into the current buffer instead of printing it in
> | the echo area.
> | 
> `----
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-03 21:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-03 19:47 how to eval an elisp expression in the minibuffer Lowell Kirsh
2004-02-03 20:14 ` Benjamin Rutt
2004-02-03 20:27 ` Peter Lee
2004-02-03 21:30   ` Lowell Kirsh

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).