unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Chris Moore" <dooglus@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: tramp error (wrong-type-argument arrayp tramp-default-remote-path)
Date: Tue, 21 Aug 2007 10:51:20 +0200	[thread overview]
Message-ID: <a9691ee20708210151i7c74c8aej85d9848ac3736e84@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2942 bytes --]

In GNU Emacs 22.1.50.8 (i686-pc-linux-gnu, GTK+ Version 2.10.11)
 of 2007-08-21 on trpaslik
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
configured using `configure  '--with-gtk' '--prefix' '/usr/local'
'--with-xpm' '--with-jpeg' '--with-png' '--with-gif''

I'm trying to run:
  (dired "/user@hosting6.123-reg.co.uk:/")
but I'm getting a backtrace.

It seems that the "Remove all ~/foo directories from dirlist" code in
tramp.el is trying to determine whether the symbol tramp-default-remote-path
begins with a ~ character.  It doesn't seem to realise that not all the
elements of dirlist will be strings.

Debugger entered--Lisp error: (wrong-type-argument arrayp
tramp-default-remote-path)
  aref(tramp-default-remote-path 0)
  (char-equal 126 (aref d 0))
  (if (char-equal 126 (aref d 0)) nil (setq newdl (cons d newdl)))
  (unless (char-equal 126 (aref d 0)) (setq newdl (cons d newdl)))
  (while dirlist (setq d (car dirlist)) (setq dirlist (cdr dirlist)) (unless
(char-equal 126 ...) (setq newdl ...)))
  (let (newdl d) (while dirlist (setq d ...) (setq dirlist ...) (unless ...
...)) (setq dirlist (nreverse newdl)))
  (progn (let (newdl d) (while dirlist ... ... ...) (setq dirlist ...)))
  (if ignore-tilde (progn (let ... ... ...)))
  (when ignore-tilde (let (newdl d) (while dirlist ... ... ...) (setq
dirlist ...)))
  (if result nil (when ignore-tilde (let ... ... ...)) (tramp-send-command
vec (format ... progname progname progname ...)) (goto-char (point-max))
(when (search-backward "tramp_executable " nil t) (skip-chars-forward "^ ")
(skip-chars-forward " ") (setq result ...)))
  (unless result (when ignore-tilde (let ... ... ...)) (tramp-send-command
vec (format ... progname progname progname ...)) (goto-char (point-max))
(when (search-backward "tramp_executable " nil t) (skip-chars-forward "^ ")
(skip-chars-forward " ") (setq result ...)))
  (let (result) (unless ignore-path (tramp-send-command vec ...) (goto-char
...) (if ... ...)) (unless result (when ignore-tilde ...)
(tramp-send-command vec ...) (goto-char ...) (when ... ... ... ...)) result)
  (save-current-buffer (set-buffer (tramp-get-buffer vec)) (let (result)
(unless ignore-path ... ... ...) (unless result ... ... ... ...) result))
  (with-current-buffer (tramp-get-buffer vec) (let (result) (unless
ignore-path ... ... ...) (unless result ... ... ... ...) result))
  tramp-find-executable(["scp" "user" "hosting6.123-reg.co.uk" "/"] "ls"
(tramp-default-remote-path "/usr/sbin" "/usr/local/bin" "/local/bin"
"/local/freeware/bin" "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin"
"/usr/contrib/bin") t t)



Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

[-- Attachment #1.2: Type: text/html, Size: 3586 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

             reply	other threads:[~2007-08-21  8:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-21  8:51 Chris Moore [this message]
2007-08-22  5:58 ` tramp error (wrong-type-argument arrayp tramp-default-remote-path) Michael Albinus

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a9691ee20708210151i7c74c8aej85d9848ac3736e84@mail.gmail.com \
    --to=dooglus@gmail.com \
    --cc=emacs-pretest-bug@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).