From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-protocol and server.el Date: Tue, 31 Jul 2012 17:34:16 +0200 Message-ID: <87obmwrll3.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwES6-0001T2-2N for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 11:33:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwES4-0008Sk-Vk for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 11:33:42 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:58643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwES4-0008Sf-Ou for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 11:33:40 -0400 Received: by wgbez12 with SMTP id ez12so4672952wgb.30 for ; Tue, 31 Jul 2012 08:33:40 -0700 (PDT) In-Reply-To: (Fabrice Popineau's message of "Sun, 29 Jul 2012 22:53:10 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Fabrice Popineau Cc: emacs-orgmode@gnu.org Hi Fabrice, Fabrice Popineau writes: > @@ -1137,7 +1135,8 @@ >                   (let ((file (pop args-left))) >                     (if coding-system >                         (setq file (decode-coding-string file > coding-system))) > -                   (setq file (expand-file-name file dir)) > +                   (unless (string-match "^[^/]+:/" file) > +                     (setq file (expand-file-name file dir))) >                     (push (cons file filepos) files) >                     (server-log (format "New file: %s %s" >                                         file (or filepos "")) proc)) I suggest you send this to the emacs-devel@ mailing list or fill a bug report M-x report-emacs-bug RET. Thanks, -- Bastien