[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Normal errors bring up the debugger in tramp

From: Michael Albinus
Subject: Re: Normal errors bring up the debugger in tramp
Date: Thu, 14 Feb 2013 14:39:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>    emacs -Q
>    Options => Enter debugger on error
>    C-x C-f /ssh:iro:h/1/inde TAB
> does complete to ...:html/1215/index.html but it brings up the debugger
> many times before getting there.  So I think the
> tramp-compat-condition-case-unless-debug in tramp-file-name-handler is
> not quite correct, because errors inside its body might be signalled for
> perfectly normal reasons.

I wrap it now by a let-bind, which uses `tramp-debug-on-error'. Since
this construct is intended to allow Tramp debugging, this should be not
too restrictive to require setting this Tramp specific variable.

>         Stefan

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]