From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: tramp+recentf: persistent errors due to expand-file-name Date: Thu, 14 Aug 2008 20:35:53 +0200 Message-ID: <48A47B09.7060802@gmail.com> References: <9E807BB3-1944-44F8-A5F5-1DBED9C99927@gmail.com> <87hc9rqs1k.fsf@gmx.de> <87EBED8D-437A-4B75-AF95-745C1CAE145F@gmail.com> <48A1A6F8.4050708@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218738993 10945 80.91.229.12 (14 Aug 2008 18:36:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 18:36:33 +0000 (UTC) Cc: David Reitter , Michael Albinus , Emacs-Devel devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 14 20:37:24 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KThh8-0001se-Nh for ged-emacs-devel@m.gmane.org; Thu, 14 Aug 2008 20:37:11 +0200 Original-Received: from localhost ([127.0.0.1]:57459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KThgB-00080j-KW for ged-emacs-devel@m.gmane.org; Thu, 14 Aug 2008 14:36:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KThg6-0007zR-QV for emacs-devel@gnu.org; Thu, 14 Aug 2008 14:36:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KThg4-0007wy-Ab for emacs-devel@gnu.org; Thu, 14 Aug 2008 14:36:05 -0400 Original-Received: from [199.232.76.173] (port=33171 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KThg4-0007wo-04 for emacs-devel@gnu.org; Thu, 14 Aug 2008 14:36:04 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:36403) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KThg3-0000BP-EM for emacs-devel@gnu.org; Thu, 14 Aug 2008 14:36:03 -0400 Original-Received: from c83-254-151-176.bredband.comhem.se ([83.254.151.176]:62365 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KThg0-00007Z-7b; Thu, 14 Aug 2008 20:36:00 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 080814-0, 2008-08-14), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.176 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1KThg0-00007Z-7b. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KThg0-00007Z-7b e464a12a11867323957147e6cf6be8c4 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102467 Archived-At: Stefan Monnier wrote: >>>> I agree, but there is a problem with this in Emas. If you protect the >>>> code with condition-case it makes it very hard to find out where the >>>> problem was. It would be good if someone find a way to enhance this. >>> A condition-case in `run-hooks' could output a warning to *Messages*, but >>> catch the error. >>> One can still run the debugger when such an error occurs. > > >> I use that approach, but it is not very simple. > > `with-demoted-errors' condition-case-no-debug?