[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why does tramp-error invoke message in addition to signaling the error?
From: |
Julian Scheid |
Subject: |
Why does tramp-error invoke message in addition to signaling the error? |
Date: |
Fri, 14 Aug 2009 10:56:53 +1200 |
When I do C-x C-f sshx:host:/a/b/c/<TAB> - where /a doesn't exist - I
can see multiple errors popping up in *Messages*, one each for /a/b/c,
/a/b and /a. As far as I can tell, trying the parent directories is
normal completion-pcm-try-completion behavior (the reason for which
escapes me) but it is more visible than with non-tramp completion
because tramp-error calls tramp-message which calls message. Would it
be worth making the call to tramp-message here configurable, and maybe
disabled by default? If tramp code is called from within
ignore-errors, condition-case or the like then displaying the error
seems unnecessary verbiage; and outside of these constructs the error
would be reported anyway.
- Why does tramp-error invoke message in addition to signaling the error?,
Julian Scheid <=