From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Richard Subject: Re: [bug?] Tramp tries to open remote file links Date: Wed, 18 Jun 2014 16:28:10 +0200 Message-ID: <87ha3iqolh.fsf@geodiff-mac3.ulb.ac.be> References: <86egympou7.fsf@somewhere.org> <87a99asgao.fsf@geodiff-mac3.ulb.ac.be> <86tx7iz9hz.fsf@somewhere.org> <87lhsuqrvm.fsf@geodiff-mac3.ulb.ac.be> <86k38es630.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxGpY-0004GD-Re for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 10:27:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxGpP-0001LA-SD for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 10:27:16 -0400 Received: from plane.gmane.org ([80.91.229.3]:33425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxGpP-0001L4-M3 for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 10:27:07 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WxGpL-00017G-21 for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 16:27:03 +0200 In-Reply-To: <86k38es630.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 18 Jun 2014 15:25:07 +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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org, Nicolas Goaziou Sebastien Vauban > With it, the problem occurs; without, it does not. Also note that this is a problem in master only ; maint has an older version of org-display-inline-images which doesn't use org-element. > Though, is it normal to try to open a remote PDF file while Emacs is > unable of displaying it in the buffer (unlike PNG files, IIUC)? Org Mode is not trying to display the PDF (at least not at that point). The problems occurs when parsing the buffer : org-element-link-parser uses expand-file-name to normalize the URI. Should it ? IDK. Nicolas G might have an opinion on this. -- Nico.