emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp+recentf: persistent errors due to expand-file-name


From: Lennart Borgman
Subject: Re: tramp+recentf: persistent errors due to expand-file-name
Date: Tue, 12 Aug 2008 15:04:01 +0200

On Tue, Aug 12, 2008 at 2:57 PM, Michael Albinus <address@hidden> wrote:
David Reitter <address@hidden> writes:

> Generally, I do think it is prudent to guard against errors being
> signaled when running code from hooks so that users don't end up in a
> (to them) non-recoverable situation.  You'll know best where the right
> place is...

Generally: yes.

But Tramp does not know that it runs from a hook, so it might be
better to protect the code which evaluates the hook.

> - D

Best regards, Michael.


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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]