unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Normal errors bring up the debugger in tramp
Date: Thu, 14 Feb 2013 14:39:39 +0100	[thread overview]
Message-ID: <877gmbnhes.fsf@gmx.de> (raw)
In-Reply-To: <jwv4nhgrr3i.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 13 Feb 2013 13:50:09 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> 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	other threads:[~2013-02-14 13:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-13 18:50 Normal errors bring up the debugger in tramp Stefan Monnier
2013-02-14 13:39 ` Michael Albinus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gmbnhes.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).