From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Normal errors bring up the debugger in tramp Date: Thu, 14 Feb 2013 14:39:39 +0100 Message-ID: <877gmbnhes.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360849208 9278 80.91.229.3 (14 Feb 2013 13:40:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Feb 2013 13:40:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 14 14:40:28 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U5z35-0006z9-6S for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2013 14:40:27 +0100 Original-Received: from localhost ([::1]:42190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5z2k-00010R-4Z for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2013 08:40:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5z2Z-0000YZ-Oe for emacs-devel@gnu.org; Thu, 14 Feb 2013 08:40:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5z2X-00033D-VD for emacs-devel@gnu.org; Thu, 14 Feb 2013 08:39:55 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:54112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5z2X-00032m-NK for emacs-devel@gnu.org; Thu, 14 Feb 2013 08:39:53 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.20]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MXCV1-1UR4gk0Wf7-00WGin for ; Thu, 14 Feb 2013 14:39:51 +0100 Original-Received: (qmail invoked by alias); 14 Feb 2013 13:39:50 -0000 Original-Received: from p57BB9789.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.151.137] by mail.gmx.net (mp020) with SMTP; 14 Feb 2013 14:39:50 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX186E9wbvec6E6hlw9g2KqiaR5UDr8ghHXV9PU4f5W eDHyUEkRoXAfhx In-Reply-To: (Stefan Monnier's message of "Wed, 13 Feb 2013 13:50:09 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157026 Archived-At: Stefan Monnier 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.