From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [bug?] Tramp tries to open remote file links Date: Wed, 18 Jun 2014 12:11:22 -0400 Message-ID: <87ionyurit.fsf@alphaville.bos.redhat.com> 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> <8761jy1g5f.fsf@gmx.de> <861tums4tv.fsf@somewhere.org> <871tum1fit.fsf@gmx.de> <86tx7iqoy0.fsf@somewhere.org> <87sin2z20l.fsf@gmx.de> <868uou5i3w.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxISn-0002BI-OW for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 12:12:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxISf-0003kD-Jk for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 12:11:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:49893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxISf-0003jx-Do for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 12:11:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WxISW-0004Gw-Ns for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 18:11:36 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jun 2014 18:11:36 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jun 2014 18:11:36 +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: emacs-orgmode@gnu.org Sebastien Vauban writes: > Michael Albinus wrote: >> Sebastien Vauban writes: >> >>>> That's what I'm speaking about. And if you have a local DocView >>>> installation, it works for either remote or local files (Tramp >>>> provides a local copy of the remote file). >>> >>> But DocView won't display a PDF file as an image inside a buffer of >>> text, will it? >> >> No, it uses an own buffer. > > OK, so we do agree that trying to open a PDF file in the context of > *inline images*[1] does not make much sense, right? > Are you trying to say that the org code for inline images should figure out that such a link should *not* be inlined because it would open a non-image file? If so, how would you define "non-image file"? And would that definition vary depending on the capabilities of one's emacs (e.g. maybe my emacs can display PNG files but not GIF files)? Nick