emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug?] Tramp tries to open remote file links


From: Sebastien Vauban
Subject: Re: [O] [bug?] Tramp tries to open remote file links
Date: Wed, 18 Jun 2014 14:18:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (windows-nt)

Michael Albinus wrote:
> Sebastien Vauban writes:
>> When I just open an Org file that has a link to a remote file, Tramp
>> tries to open it, leading to errors and timeouts when offline, at least.
>>
>> * References
>>
>> Some files of interest:
>>
>> [[file:/address@hidden:papers/current.pdf][paper]]
>>
>> Is this supposed to be normal?  Why does Tramp open the file?
>
> Because Tramp has been instructed so? I suppose, following the above
> link results in

I think we did not understand each other (or did we?) because that's the
thing: I don't follow the link, I just open the file which contains such
a link.

See http://screencast.com/t/aXoxf9D1P.

> (insert-file-contents "/address@hidden:papers/current.pdf")
>
> This is remote file name syntax, and Tramp tries to do its job, using
> the default method "plink". You could avoid Tramp's reaction by a link
> like (untested)
>
> [[file:/:/address@hidden:papers/current.pdf][paper]]
>
> Alternatively, you could choose another file name.

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]