Dietrich Daroch <dietrich.daroch@gmail.com> writes:
> Hi all,
Hi Dietrich,
> I'm trying to write some machine-agnostic links with tramp
> (2.5.2.28.1) and noticed that when
> using them to open something like
> file:///ssh:myself@thismachine:some/file tramp
> blows some fuses, first the recursion limit, max-lisp-eval-depth, and
> then max-specpdlsize.
What is this file name file:///ssh:myself@thismachine:some/file good
for? It isn't a Tramp file name, you know.
I have some documentation (org-roam) that's shared across machines, and I want
to have links to edit specific configs in them, which should work from any machine.
I'm guessing that I had some typo that I can't reproduce now. All these links work
for me now within my org-mode test file,
– file:/tmp/test.org
– file://ssh:me@laptop:/tmp/test.org
– file://ssh:me@laptop.local:/tmp/test.org
> I naïvely tried to just increase them, but it seems that there's
> something really wrong with it,
> and was wondering if it's worth adding a "fast path" to
> tramp-file-name-handler, as it seems
> that it assumes that no one would use tramp this way, so just opening
> the local file without
> tramp might be faster and save some debugging time.
Could you please show an example what you call, and which fails after
starting "emacs -Q"? Is there a backtrace you could provide?
I should've attached the stack trace right away, I can't get back to it anymore.
I'll try to be more diligent next time.
> Regards,
> Dietrich
Best regards, Michael.
Thanks for your help!
Best,
Dietrich