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: Tue, 12 Aug 2008 17:06:32 +0200 Message-ID: <48A1A6F8.4050708@gmail.com> References: <9E807BB3-1944-44F8-A5F5-1DBED9C99927@gmail.com> <87hc9rqs1k.fsf@gmx.de> <87EBED8D-437A-4B75-AF95-745C1CAE145F@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 1218553634 25306 80.91.229.12 (12 Aug 2008 15:07:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2008 15:07:14 +0000 (UTC) Cc: Michael Albinus , Emacs-Devel devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 12 17:08:05 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 1KSvTN-0006dZ-FR for ged-emacs-devel@m.gmane.org; Tue, 12 Aug 2008 17:07:45 +0200 Original-Received: from localhost ([127.0.0.1]:36894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSvSR-0006P1-9e for ged-emacs-devel@m.gmane.org; Tue, 12 Aug 2008 11:06:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSvSM-0006Lp-Mh for emacs-devel@gnu.org; Tue, 12 Aug 2008 11:06:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSvSM-0006Kx-6z for emacs-devel@gnu.org; Tue, 12 Aug 2008 11:06:42 -0400 Original-Received: from [199.232.76.173] (port=42579 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSvSL-0006Kk-UW for emacs-devel@gnu.org; Tue, 12 Aug 2008 11:06:41 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:58042) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KSvSL-0004G8-D0 for emacs-devel@gnu.org; Tue, 12 Aug 2008 11:06:41 -0400 Original-Received: from c83-254-151-176.bredband.comhem.se ([83.254.151.176]:64143 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KSvSI-00038h-9J; Tue, 12 Aug 2008 17:06:39 +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: <87EBED8D-437A-4B75-AF95-745C1CAE145F@gmail.com> X-Antivirus: avast! (VPS 080811-0, 2008-08-11), 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 1KSvSI-00038h-9J. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KSvSI-00038h-9J 5bc05ed4bcf25f73a4aa2dcdc18c9d86 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:102342 Archived-At: David Reitter wrote: > On 12 Aug 2008, at 15:04, Lennart Borgman 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.