all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: making software with Emacs and Elisp
Date: Thu, 24 Oct 2013 21:57:30 +0200	[thread overview]
Message-ID: <87mwlyh264.fsf@nl106-137-194.student.uu.se> (raw)
In-Reply-To: mailman.4507.1382488595.10748.help-gnu-emacs@gnu.org

"Pascal J. Bourguignon" <pjb@informatimago.com> 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


  parent reply	other threads:[~2013-10-24 19:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-20  0:17 making software with Emacs and Elisp Emanuel Berg
2013-10-20  1:42 ` Pascal J. Bourguignon
2013-10-20  1:36   ` Emanuel Berg
2013-10-20  9:15 ` Marcin Borkowski
2013-10-20 12:40   ` Pascal J. Bourguignon
     [not found] ` <mailman.4335.1382260532.10748.help-gnu-emacs@gnu.org>
2013-10-22 23:00   ` Emanuel Berg
2013-10-22 23:29     ` Marcin Borkowski
2013-10-23  0:36     ` Pascal J. Bourguignon
     [not found]     ` <mailman.4507.1382488595.10748.help-gnu-emacs@gnu.org>
2013-10-24 19:57       ` Emanuel Berg [this message]
2013-10-24 22:00         ` Pascal J. Bourguignon
2013-10-24 22:24           ` Emanuel Berg
2013-10-24 22:34             ` Pascal J. Bourguignon
     [not found]             ` <mailman.4647.1382654123.10748.help-gnu-emacs@gnu.org>
2013-10-24 22:43               ` Emanuel Berg
2013-10-25 19:11                 ` Pascal J. Bourguignon
  -- strict thread matches above, loose matches on Subject: below --
2013-10-20  1:00 Barry OReilly
     [not found] <mailman.4327.1382230827.10748.help-gnu-emacs@gnu.org>
2013-10-20  1:12 ` Emanuel Berg
2013-10-20  1:51   ` Pascal J. Bourguignon

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwlyh264.fsf@nl106-137-194.student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.