emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add a module function to open a file descriptor connected to


From: Philipp Stephani
Subject: Re: [PATCH] Add a module function to open a file descriptor connected to a pipe.
Date: Thu, 26 Mar 2020 21:51:31 +0100

Am Do., 26. März 2020 um 20:00 Uhr schrieb Eli Zaretskii <address@hidden>:
>
> > From: Philipp Stephani <address@hidden>
> > Date: Thu, 26 Mar 2020 17:30:21 +0100
> > Cc: Philipp Stephani <address@hidden>
> >
> > This patch implements a function that adapts an existing pipe
> > process.  That way, users can use familiar tools like process filters
> > or 'accept-process-output'.
> >
> > * src/module-env-28.h: Add 'open_channel' module function.
> >
> > * src/emacs-module.c (module_open_channel): Provide definition for
> > 'open_channel'.
> > (initialize_environment): Use it.
> >
> > * src/process.c (open_channel_for_module): New helper function.
> > (syms_of_process): Define necessary symbol.
> >
> > * test/src/emacs-module-tests.el (module/async-pipe): New unit test.
> >
> > * test/data/emacs-module/mod-test.c (signal_system_error): New helper
> > function.
> > (signal_errno): Use it.
> > (write_to_pipe): New function running in the background.
> > (Fmod_test_async_pipe): New test module function.
> > (emacs_module_init): Export it.
> >
> > * doc/lispref/internals.texi (Module Misc): Document new module
> > function.
> >
> > * doc/lispref/processes.texi (Asynchronous Processes): New anchor
> > for pipe processes.
>
> Thanks, but please also call out the change in NEWS.

Ah, I always forget that. Done, and pushed as
d28b00476890f791a89b65007e5f20682b3eaa0d.

-- 
Google Germany GmbH
Erika-Mann-Straße 33
80636 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle

Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat
sind, leiten Sie diese bitte nicht weiter, informieren Sie den
Absender und löschen Sie die E-Mail und alle Anhänge. Vielen Dank.

This e-mail is confidential. If you are not the right addressee please
do not forward it, please inform the sender, and please erase this
e-mail including any attachments. Thanks.



reply via email to

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