* Emacs startup options, Docker and the move to git
@ 2014-07-30 10:02 Nic Ferrier
2014-07-31 14:28 ` Paul Eggert
0 siblings, 1 reply; 3+ messages in thread
From: Nic Ferrier @ 2014-07-30 10:02 UTC (permalink / raw
To: emacs-devel
I've been Dockerizing Emacs.
Docker is a GNU/Linux container system and very useful.
For Emacs?? I hear you ask. Why yes, I reply. For testing and other
things like that. Also for rapid deployment of the server side of an
Emacs client/server app.
Docker runs a whole GNU/Linux init, it's very similar to a chroot. It
ends by calling some process which should hang and do whatever the point
of the Docker process was. For example, you might start a webserver. The
webserver should start in non-daemon mode, just hanging.
Now, coming to Emacs. There are two ways to run things in Emacs in
unattended mode: --batch and --daemon
--batch is ideal for what it does I think, it starts with no init files
and runs whatever you tell it and then quits
--daemon starts an Emacs process with a server started and immediately
daemonizes it; backgrounding it and separating it from the terminal;
init files ARE read and it's a normal Emacs session to all intents and
purposes.
Neither of these is quite what I want with Docker. At the moment I am
using an Emacs daemon because I want a real Emacs session - one with init
files but no user interface.
But I would prefer to be able to start a headless Emacs process/session
and have it not daemonize. Do every thing that --daemon does except
actually daemonize. This doesn't seem possible.
This would also be useful for running Emacs in daemon situations where
something else is providing the daemonizing, supervisord for example, or
one of the new breed of init tools.
Does anyone know if we can do something like this?
Coming to the last point, what's the state of the git migration?
I'd be happy to add a startup option, say --server, which would start a
server but not daemonize... but I don't want to get involved with
bzr. It's just another thing to remember (I am absolutely in that class
of people esr identified as a potential contributor who would act if
there was git).
Nic
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs startup options, Docker and the move to git
2014-07-30 10:02 Emacs startup options, Docker and the move to git Nic Ferrier
@ 2014-07-31 14:28 ` Paul Eggert
2014-07-31 18:53 ` Nic Ferrier
0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggert @ 2014-07-31 14:28 UTC (permalink / raw
To: Nic Ferrier, emacs-devel
Nic Ferrier wrote:
> Does anyone know if we can do something like this?
Yes, that kind of change sounds eminently reasonable.
> Coming to the last point, what's the state of the git migration?
We're planning to change to git after the next release comes out. At
this point we're in feature freeze so we would have to wait until after
the next release anyway before accepting this change, so perhaps you can
look into implementing it then.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs startup options, Docker and the move to git
2014-07-31 14:28 ` Paul Eggert
@ 2014-07-31 18:53 ` Nic Ferrier
0 siblings, 0 replies; 3+ messages in thread
From: Nic Ferrier @ 2014-07-31 18:53 UTC (permalink / raw
To: Paul Eggert; +Cc: emacs-devel
Paul Eggert <eggert@cs.ucla.edu> writes:
> Nic Ferrier wrote:
>> Does anyone know if we can do something like this?
>
> Yes, that kind of change sounds eminently reasonable.
>
>> Coming to the last point, what's the state of the git migration?
>
> We're planning to change to git after the next release comes out. At
> this point we're in feature freeze so we would have to wait until after
> the next release anyway before accepting this change, so perhaps you can
> look into implementing it then.
Ok. I'll wait then.
Nic
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-31 18:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30 10:02 Emacs startup options, Docker and the move to git Nic Ferrier
2014-07-31 14:28 ` Paul Eggert
2014-07-31 18:53 ` Nic Ferrier
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.