all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [gnu.emacs.help] Portable way for creating FIFOs
@ 2017-09-19 20:24 Petteri Hintsanen
  2017-09-20 16:32 ` Alex Kost
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Petteri Hintsanen @ 2017-09-19 20:24 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 167 bytes --]

Looks like my original message below, posted to gnu.emacs.help, did not
go through into the mailing list...  Apologies for possible
double-posting.

Regards,
Petteri


[-- Attachment #2: Type: message/rfc822, Size: 880 bytes --]

From: Petteri Hintsanen <petterih@iki.fi>
Subject: Portable way for creating FIFOs
Date: Mon, 18 Sep 2017 23:48:57 +0300
Message-ID: <x2mlglb7mx2.fsf@iki.fi>

Hello,

Is it possible to portably create named pipes in Emacs Lisp?  "Portably"
means here "to create in a system that has named pipes".  I could use
call-process or something like that with 'mkfifo', but that seems quite
POSIXy thing to do.

(Context: I'm trying to write an EMMS player for mpv, and there FIFO
would be the preferable way to do IPC.  But mpv does not create a pipe,
it only opens one.)

Thanks,
Petteri

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gnu.emacs.help] Portable way for creating FIFOs
  2017-09-19 20:24 [gnu.emacs.help] Portable way for creating FIFOs Petteri Hintsanen
@ 2017-09-20 16:32 ` Alex Kost
  2017-09-23 20:13 ` Bob Proulx
       [not found] ` <mailman.847.1505925146.14750.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Alex Kost @ 2017-09-20 16:32 UTC (permalink / raw)
  To: Petteri Hintsanen; +Cc: help-gnu-emacs

Petteri Hintsanen (2017-09-19 23:24 +0300) wrote:

> (Context: I'm trying to write an EMMS player for mpv, and there FIFO
> would be the preferable way to do IPC.  But mpv does not create a pipe,
> it only opens one.)

EMMS player for mpv already exists, even 2 players!:

  https://github.com/dochang/emms-player-mpv
  https://github.com/momomo5717/emms-player-simple-mpv

Note: 'emms-player-simple-mpv' is much more powerful; it allows you to
send commands to mpv on the fly through a socket file (via JSON IPC
protocol).

-- 
Alex



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gnu.emacs.help] Portable way for creating FIFOs
  2017-09-19 20:24 [gnu.emacs.help] Portable way for creating FIFOs Petteri Hintsanen
  2017-09-20 16:32 ` Alex Kost
@ 2017-09-23 20:13 ` Bob Proulx
       [not found] ` <mailman.847.1505925146.14750.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Bob Proulx @ 2017-09-23 20:13 UTC (permalink / raw)
  To: Petteri Hintsanen; +Cc: help-gnu-emacs

Petteri Hintsanen wrote:
> Looks like my original message below, posted to gnu.emacs.help, did not
> go through into the mailing list...  Apologies for possible
> double-posting.

Thank you for noting this.  I am one of the mailing list helpers and I
looked into this a little bit.  The message did make it through from
the newsgroup, through the news2mail gateway, into and through the
mailing list.  It appeared in my subscribed mailbox.  Alexis replied
to it.  Here is the reply showing that it wasn't just to me.

http://lists.gnu.org/archive/html/help-gnu-emacs/2017-09/msg00151.html

But it seems that it failed to make it into the mailing list archive.
Why that failed I do not know.  Subsequent messages did make it into
the archive okay.  The disk is not full.  The archive is downstream of
the mailing list but all internal on the same host system.  The
antispam is upstream and not related.  I grep'd through the various
logs but did not find anything hinting at the failure.

Therefore I can only confirm that there was some error in the
processing of the message.  But I cannot deduce what problem that
might be.

Bob



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gnu.emacs.help] Portable way for creating FIFOs
       [not found] ` <mailman.847.1505925146.14750.help-gnu-emacs@gnu.org>
@ 2017-09-28 19:51   ` Petteri Hintsanen
  0 siblings, 0 replies; 4+ messages in thread
From: Petteri Hintsanen @ 2017-09-28 19:51 UTC (permalink / raw)
  To: Alex Kost; +Cc: help-gnu-emacs

Alex Kost <alezost@gmail.com> wreites:

> EMMS player for mpv already exists, even 2 players!:
>
>   https://github.com/dochang/emms-player-mpv
>   https://github.com/momomo5717/emms-player-simple-mpv

Oh, stupid me...  These look very promising.

Thanks,
Petteri



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-28 19:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-19 20:24 [gnu.emacs.help] Portable way for creating FIFOs Petteri Hintsanen
2017-09-20 16:32 ` Alex Kost
2017-09-23 20:13 ` Bob Proulx
     [not found] ` <mailman.847.1505925146.14750.help-gnu-emacs@gnu.org>
2017-09-28 19:51   ` Petteri Hintsanen

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.