From: Marco Parrone <marc0@autistici.org>
Subject: Re: evaluate expression in scratch buffer
Date: Thu, 22 Apr 2004 21:27:36 GMT [thread overview]
Message-ID: <87n053vho7.fsf@marc0.dyndns.org> (raw)
In-Reply-To: c69c00$7et$1@news.island.liu.se
[-- Attachment #1.1: Type: text/plain, Size: 730 bytes --]
William Payne on Thu, 22 Apr 2004 23:04:03 +0200 writes:
> Hello, I want to evaluate the following expression:
> (insert (prin1-to-string (w32-select-font)))
>
> I read that I should evaluate it in the scratch buffer, so I typed it in
> there...but what do I do to get the actual evaluation to occur?
C-h a eval RET
[Of these, the functions I find more useful are:]
(snip)
eval-buffer M-x eval-buffer RET
Command: Execute the current buffer as Lisp code.
(snip)
eval-last-sexp C-x C-e
Command: Evaluate sexp before point; print value in minibuffer.
(snip)
eval-region M-x eval-region RET
Command: Execute the region as Lisp code.
(snip)
--
Marco Parrone (marc0) <marc0@autistici.org> [0x45070AD6]
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 151 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
next prev parent reply other threads:[~2004-04-22 21:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-22 21:04 evaluate expression in scratch buffer William Payne
2004-04-22 21:27 ` Marco Parrone [this message]
2004-04-22 22:23 ` Andrew Taylor
2004-04-23 6:20 ` Holger Sparr
2004-04-23 16:11 ` Kevin Rodgers
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=87n053vho7.fsf@marc0.dyndns.org \
--to=marc0@autistici.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.
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).