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:/m...@somewhere.org: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 "/m...@somewhere.org: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:/:/m...@somewhere.org:papers/current.pdf][paper]] > > Alternatively, you could choose another file name. Best regards, Seb -- Sebastien Vauban