unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mark Oteiza <mvoteiza@udel.edu>
Cc: 19394@debbugs.gnu.org
Subject: bug#19394: 25.0.50; mpc does not handle MPD_HOST=socket
Date: Sun, 02 Aug 2015 22:09:57 +0300	[thread overview]
Message-ID: <83h9ohv75m.fsf@gnu.org> (raw)
In-Reply-To: <874mkhr0zu.fsf@udel.edu>

> 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).





  reply	other threads:[~2015-08-02 19:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-16 17:54 bug#19394: 25.0.50; mpc does not handle MPD_HOST=socket Mark Oteiza
2015-08-02 18:36 ` Mark Oteiza
2015-08-02 19:09   ` Eli Zaretskii [this message]
2015-08-02 21:47     ` Mark Oteiza
     [not found]       ` <8737z4hcmi.fsf@udel.edu>
2015-09-02 17:29         ` Mark Oteiza
2015-09-03 15:47           ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83h9ohv75m.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=19394@debbugs.gnu.org \
    --cc=mvoteiza@udel.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).