Sebastien Vauban <sva-news-D0wtAvR13HarG/idocf...@public.gmane.org>
writes:
> Hello,
>
> 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.

It doesn't happen to me. I tried "emacs -Q path/to/test.org" and the
file opened normally.

Grepping, I see that tramp-maybe-open-connection is responsible for the
tramp messages. so you could eval:
(trace-function-background
 'tramp-maybe-open-connection
 "*trace*"
 (lambda () (with-output-to-string (backtrace))))

then reproduce and look into the buffer *trace* to see what called
tramp.

Call M-x untrace-function RET TAB RET to remove the tracing.

-- 
Nico.


Reply via email to