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

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

Re: making software with Emacs and Elisp


From: Emanuel Berg
Subject: Re: making software with Emacs and Elisp
Date: Thu, 24 Oct 2013 21:57:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

"Pascal J. Bourguignon" <address@hidden> writes:

> emacs does manage memory, or schedule processor time
> for the various functions running in emacs.

So it does? Then it *is* an OS within the OS, at the
very least, like a Chinese box or those Russian
dolls. But - when does this happen? And how is it done?
For example, if I write an interactive defun, I always
thought that was executed sequentially upon
invocation. Is that so?  And, how do I code a defun that
is interactive in the sense it can be invoked by the
user, but "batch" in the sense that it is run in the
background, perhaps as an infinite loop? And if I make
two such defuns, can I give them different priorities,
and otherwise like the PCBs of a "real" OS, to setup how
they should relate to everything else?

> Also, "Operating System" doesn't mean unix-like
> architecture.  You can have very different
> architectures.

Yeah, I guess that's just a schoolbook issue anyway.

> $ emacs -Q --batch -l myprogram.el
> ...
>     $ cat myprogram
>     #!/bin/sh
>     exec emacs -Q --batch -l myprogram.el

Great!

-- 
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united:  http://user.it.uu.se/~embe8573


reply via email to

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