help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Emacs Lisp for script writing


From: Andreas Politz
Subject: Re: Using Emacs Lisp for script writing
Date: Fri, 18 Dec 2009 22:39:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Cecil Westerhof <Cecil@decebal.nl> writes:

> I already use 'emacs -batch' for scripting where no user input is used,
> but I would like to use it also for interactive scripting. Until now I
> did not find any usable information about this. Anybody using Emacs for
> interactive scripts?

No, but it should be noted, that this is not very difficult :

$ emacs -Q -batch -eval '(yes-or-no-p "Want some cookies ?")'

-ap





reply via email to

[Prev in Thread] Current Thread [Next in Thread]