On Tue, Aug 12, 2008 at 2:57 PM, Michael Albinus <michael.albinus@gmx.de> wrote:
David Reitter <david.reitter@gmail.com> 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.