From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: [bug?] Tramp tries to open remote file links Date: Wed, 18 Jun 2014 15:25:07 +0200 Message-ID: <86k38es630.fsf@somewhere.org> References: <86egympou7.fsf@somewhere.org> <87a99asgao.fsf@geodiff-mac3.ulb.ac.be> <86tx7iz9hz.fsf@somewhere.org> <87lhsuqrvm.fsf@geodiff-mac3.ulb.ac.be> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Nicolas Richard wrote: > Sebastien Vauban writes: > >> org-mode() > > This means that org-mode calls things which in the end calls > tramp-maybe-open-connection. But what "something" is is in the "lots > of contents" part that you didn't show. Unfortunately a video isn't > very searchable. > > Still, I spotted that org-element-context is called at some point, > which in turn calls org-element-link-parser, and that's what does > expand-file-name. Perhaps that would be a bug ? I found out the responsible line in my setup: --8<---------------cut here---------------start------------->8--- ;; show inline images when loading a new Org file (setq org-startup-with-inline-images t) --8<---------------cut here---------------end--------------->8--- With it, the problem occurs; without, it does not. 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)? Maybe that's not a bug per se, but rather a feature that should only be enabled for specific file extensions? Best regards, Seb -- Sebastien Vauban