From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: tramp+recentf: persistent errors due to expand-file-name Date: Tue, 12 Aug 2008 15:27:37 -0400 Message-ID: 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=us-ascii X-Trace: ger.gmane.org 1218569421 19287 80.91.229.12 (12 Aug 2008 19:30:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2008 19:30:21 +0000 (UTC) Cc: David Reitter , Michael Albinus , Emacs-Devel devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 12 21:31:12 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 1KSzaC-0001S0-Be for ged-emacs-devel@m.gmane.org; Tue, 12 Aug 2008 21:31:04 +0200 Original-Received: from localhost ([127.0.0.1]:55083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzZG-00065d-4v for ged-emacs-devel@m.gmane.org; Tue, 12 Aug 2008 15:30:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSzX0-0005Br-32 for emacs-devel@gnu.org; Tue, 12 Aug 2008 15:27:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSzWu-00059n-VC for emacs-devel@gnu.org; Tue, 12 Aug 2008 15:27:43 -0400 Original-Received: from [199.232.76.173] (port=38159 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzWu-00059T-A6 for emacs-devel@gnu.org; Tue, 12 Aug 2008 15:27:40 -0400 Original-Received: from smtp-02.arnet.com.ar ([200.45.191.22]:54231) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KSzWt-0007f1-E2 for emacs-devel@gnu.org; Tue, 12 Aug 2008 15:27:39 -0400 Original-Received: (qmail 4990 invoked from network); 12 Aug 2008 19:25:51 -0000 Original-Received: from unknown (HELO ceviche.home) (190.30.131.157) by 0 with SMTP; 12 Aug 2008 19:25:51 -0000 Original-Received: by ceviche.home (Postfix, from userid 20848) id B2D7DB40A9; Tue, 12 Aug 2008 15:27:37 -0400 (EDT) In-Reply-To: <48A1A6F8.4050708@gmail.com> (Lennart Borgman's message of "Tue, 12 Aug 2008 17:06:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:102373 Archived-At: >>> 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' Stefan