From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pawel Newsgroups: gmane.emacs.help Subject: Re: tramp does not display dired buffers Date: Fri, 19 May 2006 15:52:01 +0200 Message-ID: <17517.52609.292886.487296@gargle.gargle.HOWL> References: <17516.35678.486157.684308@gargle.gargle.HOWL> <87lksyx2bb.fsf@smolny.plus.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1148046932 29074 80.91.229.2 (19 May 2006 13:55:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 May 2006 13:55:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 19 15:55:27 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fh5Rh-00035d-Nk for geh-help-gnu-emacs@m.gmane.org; Fri, 19 May 2006 15:55:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fh5Rh-0004me-0f for geh-help-gnu-emacs@m.gmane.org; Fri, 19 May 2006 09:55:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fh5RV-0004mO-ET for help-gnu-emacs@gnu.org; Fri, 19 May 2006 09:55:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fh5RT-0004lx-2l for help-gnu-emacs@gnu.org; Fri, 19 May 2006 09:55:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fh5RS-0004lu-TS for help-gnu-emacs@gnu.org; Fri, 19 May 2006 09:54:58 -0400 Original-Received: from [212.77.101.1] (helo=smtp.wp.pl) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fh5Um-0001tu-M2 for help-gnu-emacs@gnu.org; Fri, 19 May 2006 09:58:25 -0400 Original-Received: (wp-smtpd smtp.wp.pl 18396 invoked from network); 19 May 2006 15:51:52 +0200 Original-Received: from jupiter.adlex.com (HELO ) (null7@[157.25.157.162]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 19 May 2006 15:51:52 +0200 Original-To: Sebastian Tennant In-Reply-To: <87lksyx2bb.fsf@smolny.plus.com> X-MAILER: KMail/1.7.1 X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO AS1=NO(Body=1 Fuz1=1 Fuz2=1) AS2=NO(0.500000) AS3=NO AS4=NO X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35148 Archived-At: Sebastian Tennant writes: > Quoth Pawel : > > 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... >=20 > Absolutely. It's pretty much tramp's primary function. >=20 > > Do You have any idea what might be the problem. >=20 > Not really :-/ >=20 > (describe-function 'dired-insert-directory) >=20 > dired-insert-directory is a compiled Lisp function in `dired'. > (dired-insert-directory DIR-OR-LIST SWITCHES &optional WILDCARD FU= LL-P) > not documented >=20 > Hmm... not much help. >=20 > When I request the root directory of my remote server (using tramp a= nd > ssh) I receive the following messages in *Messages*: >=20 > 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=3D$HOME/.tramp=5Fhistory; HISTSIZ= E=3D1; 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 listin= gs > 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=5Fencode=5Fwith=5Fm= odule' for sanity > tramp: Checking remote decoding command `tramp=5Fdecode=5Fwith=5Fm= odule' for sanity > tramp: Checking to see if encoding/decoding commands work on remot= e host...done > Reading directory /ssh:sebyte@207.210.xxx.yyy:/...done > tramp: Sending the Perl script `tramp=5Ffile=5Fattributes'...done.= >=20 > How far do you get through this list=3F >=20 > sdt >=20 >=20 >=20 > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs >=20 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-ini= t.el (source)... Loading encoded-kb...done Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-ini= t.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (sourc= e)...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 (so= urce)...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:=20 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:=20 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("=08=C3=81Z`|=C2=87" [beg 7] 2) dired-insert-directory("/ssh:remotehost:/etc/" "-al" nil t) dired-readin-insert("/ssh:remotehost:/etc/") dired-readin("/ssh:remotehost:/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)