From: Pawel <null7@wp.pl>
Cc: help-gnu-emacs@gnu.org
Subject: Re: tramp does not display dired buffers
Date: Fri, 19 May 2006 15:52:01 +0200 [thread overview]
Message-ID: <17517.52609.292886.487296@gargle.gargle.HOWL> (raw)
In-Reply-To: <87lksyx2bb.fsf@smolny.plus.com>
Sebastian Tennant writes:
> Quoth Pawel <null7@wp.pl>:
> > When I am visiting remote directories (ssh method), I get the
> > following error [in the] *Message* buffer:
> >
> > Reading directory /ssh:remotehost:/etc/...
> > dired-insert-directory: Args out of range: 1, 10
> >
> > According to [the] info page I think dired buffers should work in
> > tramp...
>
> Absolutely. It's pretty much tramp's primary function.
>
> > Do You have any idea what might be the problem.
>
> Not really :-/
>
> (describe-function 'dired-insert-directory)
>
> dired-insert-directory is a compiled Lisp function in `dired'.
> (dired-insert-directory DIR-OR-LIST SWITCHES &optional WILDCARD FULL-P)
> not documented
>
> Hmm... not much help.
>
> When I request the root directory of my remote server (using tramp and
> ssh) I receive the following messages in *Messages*:
>
> Loading dired...done
> Loading tramp...done
> Loading ange-ftp...done
> Reading directory /ssh:sebyte@207.210.xxx.yyy:/...
> tramp: Opening connection for sebyte@207.210.xxx.yyy using ssh...
> tramp: Waiting for prompts from remote shell
> tramp: Waiting 60s for prompt from remote shell
> tramp: Found remote shell prompt.
> tramp: Initializing remote shell
> tramp: Waiting 30s for remote `/bin/sh' to come up...
> tramp: Setting up remote shell environment
> tramp: Checking remote host type for `send-process-string' bug
> tramp: Determining coding system
> tramp: Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1; export HISTFILE; export HISTSIZE'
> tramp: Waiting 30s for `set +o vi +o emacs'
> tramp: Waiting 30s for `unset MAIL MAILCHECK MAILPATH'
> tramp: Waiting 30s for `unset CDPATH'
> tramp: Setting shell prompt
> tramp: Remote `/bin/sh' groks tilde expansion, good
> tramp: Finding command to check if file exists
> tramp: Finding a suitable `ls' command
> tramp: Checking remote `/usr/xpg4/bin/ls' command for `-n' option
> tramp: Checking remote `/bin/ls' command for `-n' option
> tramp: Testing remote command `/bin/ls' for -n...okay
> tramp: Using remote command `/bin/ls' for getting directory listings
> tramp: Sending the Perl `mime-encode' implementations.
> tramp: Sending the Perl `mime-decode' implementations.
> tramp: Checking remote encoding command `mimencode -b' for sanity
> tramp: Checking remote encoding command `mmencode -b' for sanity
> tramp: Checking remote encoding command `recode data..base64' for sanity
> tramp: Checking remote encoding command `uuencode xxx' for sanity [4 times]
> tramp: Checking remote encoding command `tramp_encode_with_module' for sanity
> tramp: Checking remote decoding command `tramp_decode_with_module' for sanity
> tramp: Checking to see if encoding/decoding commands work on remote host...done
> Reading directory /ssh:sebyte@207.210.xxx.yyy:/...done
> tramp: Sending the Perl script `tramp_file_attributes'...done.
>
> How far do you get through this list?
>
> sdt
>
>
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
Sebastian, here is a complete *Messages* contents. Just before invoking remote directory, I toggled debug-on-error:
(emacs -q -l /root/emacs-config/.emacs.tramp.only.el)
Loading disp-table...done
Loading tool-bar...done
Loading image...done
Loading tooltip...done
Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el (source)...
Loading encoded-kb...done
Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/python-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
Loading /root/.do.not.redistribute.el (source)...done
Loading dired...done
Reading directory /root/emacs-config/...done
Loading /root/emacs-config/.emacs.tramp.el (source)...
Loading /usr/libexec/emacs/21.3/i386-redhat-linux/fns-21.3.1.el (source)...done
Loading executable...done
Loading regexp-opt...done
Loading mule-util...done
Loading /root/emacs-config/.emacs.tramp.el (source)...done
Debug on Error enabled
Making completion list...
Loading view...done
Tramp: Opening connection for nil@remotehost using ssh...
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `ssh remotehost -e none || exit'
Tramp: Waiting for prompts from remote shell
Tramp: Waiting 60s for prompt from remote shell on host remotehost
Tramp: Sending password
Password for /ssh:remotehost:
Password for /ssh:remotehost: .
Password for /ssh:remotehost: ..
Password for /ssh:remotehost: .....
Tramp: Found remote shell prompt on `remotehost'
Tramp: Waiting 30s for remote `/bin/sh' to come up...
Reading directory /ssh:remotehost:/etc/...
dired-insert-directory:
Loading debug...done
Entering debugger...
[2 times]
Mark set
Mark saved where search started
recursive-edit: Quit
(New file)
trace is:
Debugger entered--Lisp error: (args-out-of-range 1 11)
byte-code("\bĂZ`|Â" [beg 7] 2)
dired-insert-directory("/ssh:remotehost:/etc/" "-al" nil t)
dired-readin-insert("/ssh:remotehost:/etc/")
dired-readin("/ssh:remotehost:/etc/" #<buffer etc>)
dired-internal-noselect("/ssh:remotehost:/etc/" nil)
dired-noselect("/ssh:remotehost:/etc/")
run-hook-with-args-until-success(dired-noselect "/ssh:remotehost:/etc/")
find-file-noselect("/remotehost:/etc/" nil nil 1)
find-file("/remotehost:/etc/" 1)
call-interactively(find-file)
next prev parent reply other threads:[~2006-05-19 13:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 14:57 tramp does not display dired buffers Pawel
2006-05-19 0:53 ` Sebastian Tennant
2006-05-19 13:52 ` Pawel [this message]
2006-05-19 17:27 ` Sebastian Tennant
2006-05-22 9:48 ` Pawel
2006-05-22 11:43 ` Pawel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17517.52609.292886.487296@gargle.gargle.HOWL \
--to=null7@wp.pl \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.