* Re: Compile for batching
2018-08-17 7:14 ` Kristian Nygaard Jensen
@ 2018-08-17 7:36 ` Eli Zaretskii
2018-08-17 7:43 ` Kristian Nygaard Jensen
2018-08-17 10:49 ` Kaushal Modi
` (2 subsequent siblings)
3 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2018-08-17 7:36 UTC (permalink / raw)
To: help-gnu-emacs
> From: Kristian Nygaard Jensen <kristian@freeduck.dk>
> Date: Fri, 17 Aug 2018 09:14:16 +0200
>
> My primary use case is to tangle and export emacs org babel documents
> from inside docker.
>
> So buffers are fine I just don't need to actually type anything
If you eliminate typing, you also eliminate any means of communicating
with the user. Even in batch mode, there's sometimes the need to ask
a question and get a response. And even SIGINT interruption goes
through the input code.
But in any case, there's no option I know of to build an Emacs that
doesn't try reading input when it's idle.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Compile for batching
2018-08-17 7:36 ` Eli Zaretskii
@ 2018-08-17 7:43 ` Kristian Nygaard Jensen
0 siblings, 0 replies; 11+ messages in thread
From: Kristian Nygaard Jensen @ 2018-08-17 7:43 UTC (permalink / raw)
To: help-gnu-emacs
On 17/08/18 09:36, Eli Zaretskii wrote:
>> From: Kristian Nygaard Jensen <kristian@freeduck.dk>
>> Date: Fri, 17 Aug 2018 09:14:16 +0200
>>
>> My primary use case is to tangle and export emacs org babel documents
>> from inside docker.
>>
>> So buffers are fine I just don't need to actually type anything
> If you eliminate typing, you also eliminate any means of communicating
> with the user. Even in batch mode, there's sometimes the need to ask
> a question and get a response. And even SIGINT interruption goes
> through the input code.
>
> But in any case, there's no option I know of to build an Emacs that
> doesn't try reading input when it's idle.
>
OK thank you
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Compile for batching
2018-08-17 7:14 ` Kristian Nygaard Jensen
2018-08-17 7:36 ` Eli Zaretskii
@ 2018-08-17 10:49 ` Kaushal Modi
2018-08-17 13:39 ` Kristian Nygaard Jensen
2018-08-17 11:24 ` Michael Albinus
2018-08-18 1:26 ` Nurullah Akkaya
3 siblings, 1 reply; 11+ messages in thread
From: Kaushal Modi @ 2018-08-17 10:49 UTC (permalink / raw)
To: Kristian Nygaard Jensen; +Cc: help-gnu-emacs
Hello Kristian,
On Fri, Aug 17, 2018, 3:15 AM Kristian Nygaard Jensen <kristian@freeduck.dk>
wrote:
>
> My primary use case is to tangle and export emacs org babel documents
> from inside docker.
>
I don't know how to use docker. But I recently heard about docker-emacs[0]
project. See if using that helps. May be you can then skip creating a
docker container yourself.
Kaushal
[0]: https://github.com/Silex/docker-emacs
> --
Kaushal Modi
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Compile for batching
2018-08-17 10:49 ` Kaushal Modi
@ 2018-08-17 13:39 ` Kristian Nygaard Jensen
0 siblings, 0 replies; 11+ messages in thread
From: Kristian Nygaard Jensen @ 2018-08-17 13:39 UTC (permalink / raw)
To: help-gnu-emacs
On 17/08/18 12:49, Kaushal Modi wrote:
> Hello Kristian,
>
> On Fri, Aug 17, 2018, 3:15 AM Kristian Nygaard Jensen <kristian@freeduck.dk>
> wrote:
>
>> My primary use case is to tangle and export emacs org babel documents
>> from inside docker.
>>
> I don't know how to use docker. But I recently heard about docker-emacs[0]
> project. See if using that helps. May be you can then skip creating a
> docker container yourself.
>
> Kaushal
>
> [0]: https://github.com/Silex/docker-emacs
>
>> --
> Kaushal Modi
Thank you I will have a look at that
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Compile for batching
2018-08-17 7:14 ` Kristian Nygaard Jensen
2018-08-17 7:36 ` Eli Zaretskii
2018-08-17 10:49 ` Kaushal Modi
@ 2018-08-17 11:24 ` Michael Albinus
2018-08-18 1:26 ` Nurullah Akkaya
3 siblings, 0 replies; 11+ messages in thread
From: Michael Albinus @ 2018-08-17 11:24 UTC (permalink / raw)
To: Kristian Nygaard Jensen; +Cc: help-gnu-emacs
Kristian Nygaard Jensen <kristian@freeduck.dk> writes:
Hi Kristian,
> My primary use case is to tangle and export emacs org babel documents
> from inside docker.
On MELPA, there is the package docker-tramp. With this you can use your
local Emacs to access files in docker containers.
Best regards, Michael.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Compile for batching
2018-08-17 7:14 ` Kristian Nygaard Jensen
` (2 preceding siblings ...)
2018-08-17 11:24 ` Michael Albinus
@ 2018-08-18 1:26 ` Nurullah Akkaya
3 siblings, 0 replies; 11+ messages in thread
From: Nurullah Akkaya @ 2018-08-18 1:26 UTC (permalink / raw)
To: Kristian Nygaard Jensen; +Cc: help-gnu-emacs
On Fri, Aug 17, 2018 at 10:14 AM, Kristian Nygaard Jensen <
kristian@freeduck.dk> wrote:
> On 16/08/18 15:34, Eli Zaretskii wrote:
>
>> From: Kristian Nygaard Jensen <kristian@freeduck.dk>
>>> Date: Thu, 16 Aug 2018 08:16:03 +0200
>>>
>>> What do you mean by "without any user interface"? Which parts of
>>>> Emacs would you like to lose?
>>>>
>>>> The editing part. I would like to be able to do emacs -Q --batch --eval,
>>> but I have no need for typing stuff into buffers in this use case.
>>>
>> (I guess the --eval argument will do some editing, because otherwise
>> all you'd be able doing is numerical calculations, and that will make
>> Emacs pretty much useless.)
>>
>> No, there's no such option, if I understand you correctly. Emacs
>> cannot work without at least one buffer and one window, even in batch
>> mode (though it never displays that window under -batch).
>>
>> My primary use case is to tangle and export emacs org babel documents
> from inside docker.
>
> So buffers are fine I just don't need to actually type anything
>
>
>
See [1] included makefile run emacs in batch mode, opens an org-mode file
then tangles source and html from it inside a docker container.
[1] https://github.com/nakkaya/ferret
--
Nurullah Akkaya
http://nakkaya.com
^ permalink raw reply [flat|nested] 11+ messages in thread