bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19394: 25.0.50; mpc does not handle MPD_HOST=socket


From: Mark Oteiza
Subject: bug#19394: 25.0.50; mpc does not handle MPD_HOST=socket
Date: Sun, 02 Aug 2015 17:47:35 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Mark Oteiza <mvoteiza@udel.edu>
>> Date: Sun, 02 Aug 2015 14:36:37 -0400
>> 
>> Here's a patch for handling the MPD_HOST being a socket.
>
> Thanks.
>
>> +                                             :remote (if (string-prefix-p 
>> "/" host)
>> +                                                         host))
>
> This looks wrong to me, the proper test for a remote file name is
> file-remote-p (if this is what you want to test here).

Yeah you're right, I was abusing this wording for :remote

  When specified for a client process, the FAMILY, HOST, and SERVICE
   args are ignored.

when I should have been using :family and :service together. This should
be better:

Attachment: 0001-mpc.el-mpc-proc-connect-support-UNIX-addresses-Bug-1.patch
Description: Text Data


reply via email to

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