[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fast-path for useless tramp uses
From: |
Michael Albinus |
Subject: |
Re: Fast-path for useless tramp uses |
Date: |
Thu, 26 May 2022 09:35:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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 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?
> Regards,
> Dietrich
Best regards, Michael.