Matt Dickerson <[EMAIL PROTECTED]> writes:
> I like to use tramp to Dired remote directories. Here is my backtrace:
>
> ,----[ *Backtrace* ]
> | Debugger entered--Lisp error: (file-error "Reading directory" "no such file or
>directory" "/[mdickers@gauntlet]~")
> | access-file("/[mdickers@gauntlet]~" "Reading directory")
> | apply(access-file ("/[mdickers@gauntlet]~" "Reading directory"))
> | tramp-completion-run-real-handler(access-file ("/[mdickers@gauntlet]~" "Reading
>directory"))
> | tramp-completion-file-name-handler(access-file "/[mdickers@gauntlet]~" "Reading
>directory")
> | access-file("/[mdickers@gauntlet]~" "Reading directory")
> | insert-directory("/[mdickers@gauntlet]~" "-al" t nil)
> | apply(insert-directory ("/[mdickers@gauntlet]~" "-al" t nil))
> | tramp-completion-run-real-handler(insert-directory ("/[mdickers@gauntlet]~"
>"-al" t nil))
> | tramp-completion-file-name-handler(insert-directory "/[mdickers@gauntlet]~"
>"-al" t nil)
> | insert-directory("/[mdickers@gauntlet]~" "-al" t nil)
> | dired-insert-directory("/[mdickers@gauntlet]~" "-al" t)
> | dired-readin-insert("/[mdickers@gauntlet]~")
> | dired-readin("/[mdickers@gauntlet]~" #<buffer [mdickers@gauntlet]~>)
> | dired-internal-noselect("/[mdickers@gauntlet]~" nil)
> | dired-noselect("/[mdickers@gauntlet]~" nil)
> | dired("/[mdickers@gauntlet]~" nil)
> | call-interactively(dired)
> `----
>
> Also curious and annoying when using almost any commands that require
> shell output, I also get part of my shell prompt inserted into
> buffers. Could that be the problem? Here's the output from Dired.
> First as listed in buffer-menu:
>
> * [mdickers@gauntlet]~ 70 Dired by name /[mdickers@gauntlet]~
Maybe you could try Tramp 2.0.25 which I believe is the current
version.
Secondly, your output indicates that the shell prompt is using ansi
color escape sequences. This is too tough for Tramp to handle (Tramp
needs to grok the shell prompt). Therefore, I propose that you
either change shell-prompt-pattern or tramp-shell-prompt-pattern to
match your shell prompt, or that you change the shell init files to
abstain from escape sequences if used from Tramp.
When Tramp invokes a shell, it sets $TERM to dumb (configurable via
tramp-terminal-type). In the shell init files, you can check on that:
if [ x$TERM = xdumb ]; then
# no fancy prompt
PS1=something_simple
else
PS1=something_fancy
fi
Tramp 2.0.25 uses a different filename format:
/method:user@host:path/to/file
instead of
/[method/user@host]path/to/file
kai
--
~/.signature is: umop ap!sdn (Frank Nobis)
_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel