* How to use emacs as a lisp interpreter?
@ 2005-08-07 21:12 Erik the Red
2005-08-07 21:50 ` Peter Dyballa
2005-08-08 1:19 ` Pascal Bourguignon
0 siblings, 2 replies; 3+ messages in thread
From: Erik the Red @ 2005-08-07 21:12 UTC (permalink / raw)
Topic question.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to use emacs as a lisp interpreter?
2005-08-07 21:12 How to use emacs as a lisp interpreter? Erik the Red
@ 2005-08-07 21:50 ` Peter Dyballa
2005-08-08 1:19 ` Pascal Bourguignon
1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2005-08-07 21:50 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 07.08.2005 um 23:12 schrieb Erik the Red:
> Topic question.
>
dired-do-byte-compile <menu-bar> <operate> <compile>, B
Command: Byte compile marked (or next ARG) Emacs Lisp files.
emacs-lisp-byte-compile-and-load M-x ... RET
Command: Byte-compile the current file (if it has changed), then load
compiled code.
byte-compile-file M-x ... RET
Command: Compile a file of Lisp code named FILENAME into a file of
byte code.
emacs-lisp-byte-compile M-x ... RET
Command: Byte compile the file containing the current buffer.
byte-force-recompile M-x ... RET
Command: Recompile every `.el' file in DIRECTORY that already has a
`.elc' file.
byte-recompile-directory M-x ... RET
Command: Recompile every `.el' file in DIRECTORY that needs
recompilation.
Or on the commandline 'emacs -f <any of the above calls> <Elisp file
name>'?
--
Greetings
Pete
Make it simple, as simple as possible but no simpler. (Albert Einstein)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to use emacs as a lisp interpreter?
2005-08-07 21:12 How to use emacs as a lisp interpreter? Erik the Red
2005-08-07 21:50 ` Peter Dyballa
@ 2005-08-08 1:19 ` Pascal Bourguignon
1 sibling, 0 replies; 3+ messages in thread
From: Pascal Bourguignon @ 2005-08-08 1:19 UTC (permalink / raw)
"Erik the Red" <the.g.man.x@gmail.com> writes:
> Topic question.
M-x ielm RET
But actually, you can just type in any buffer s-expressions and type
C-u C-x C-e to get the result.
For exmaple, in this gnus article, if I type:
(mapcar (lambda (x) (* x 2)) '(1 2 3)) C-u C-x C-e
I get:
(2 4 6)
Or if I type: (format "\n\n ** Hello %s! **\n\n"
(save-excursion
(goto-char 0)
(re-search-forward "\"\\([^\"]*\\)\"" nil nil 2)
(match-string-no-properties 1))) C-u C-x C-e
I get:
"
** Hello Erik the Red! **
"
--
"A TRUE Klingon warrior does not comment his code!"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-08 1:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-07 21:12 How to use emacs as a lisp interpreter? Erik the Red
2005-08-07 21:50 ` Peter Dyballa
2005-08-08 1:19 ` Pascal Bourguignon
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).