So I have a couple of VM I'm using (mainly for experiment) I use Tramp a lot on a particular file in the VM, so I started to use this:
(find-file "/ssh:[email protected]:/home/vm/test.org" t)
I put that in my init file, so it always connects when I launch emacs... except that most of the time, I didn't plan on using the vm, so it cannot connect to it (since the vm isn't opened before emacs is launched) emacs stop halfway in loading the init file.
So how could i make it so the aforementioned line of elisp would only open the file if the address is reachable?