redirect eval output to separate buffer in lisp-interaction mode?
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
redirect eval output to separate buffer in lisp-interaction mode?         


Author: formido
Date: Jul 20, 2008 10:43

How does one redirect evaluation output to a separate buffer in lisp-
interaction mode? I'm just getting started with emacs, but it's quite
similar to an AppleScript environment called Smile that I'm very
familiar with. By default, you start in an interactive script shell
there, too, and the first thing I do after a new install is change the
prefs to redirect output to the "console". Hopefully I can achieve a
similar effect here, cos it makes incrementally developing a script
easier, I think.

Michael
2 Comments
Re: redirect eval output to separate buffer in lisp-interaction mode?         


Author: Pascal J. Bourguignon
Date: Jul 20, 2008 14:04

formido gmail.com> writes:
> How does one redirect evaluation output to a separate buffer in lisp-
> interaction mode?
> I'm just getting started with emacs, but it's quite
> similar to an AppleScript environment called Smile that I'm very
> familiar with.

It's the reverse, it's that AppleScript environment that is quite
similar to emacs.
> By default, you start in an interactive script shell
> there, too, and the first thing I do after a new install is change the
> prefs to redirect output to the "console". Hopefully I can achieve a
> similar effect here, cos it makes incrementally developing a script
> easier, I think.

Normally, emacs "scripts" don't have output. What they do is to
_edit_ some buffer.

You could use M-x ielm RET to try out emacs lisp expressions in a
separate REPL.
Show full article (3.20Kb)
no comments
Re: redirect eval output to separate buffer in lisp-interaction mode?         


Author: formido
Date: Jul 20, 2008 15:34

On Jul 20, 2:04 pm, p...@informatimago.com (Pascal J. Bourguignon)
wrote:
> formido gmail.com> writes:
>> How does one redirect evaluation output to a separate buffer in lisp-
>> interaction mode?
>> I'm just getting started with emacs, but it's quite
>> similar to an AppleScript environment called Smile that I'm very
>> familiar with.
>
> It's the reverse, it's that AppleScript environment that is quite
> similar to emacs.

;) Yes, I realize that. Although I don't have the innards of emacs
worked out yet, I know the lore of emacs and its place in the world.
Show full article (2.42Kb)
no comments