emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ange-ftp errors out for some directories


From: lawrence mitchell
Subject: Re: ange-ftp errors out for some directories
Date: Tue, 08 Jul 2003 13:01:02 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50

Richard Stallman wrote:

>     | Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>     |   string-match("b" nil)
>     |   
> dired-insert-directory("/ftp:homepages.demon.co.uk:/vol2/demon.co.uk/v/e/g/vegetable/"
>  "-al" nil nil t)

> Please try running dired-insert-directory interpreted, and show me
> the backtrace you get.

| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
|   string-match("b" nil)
|   (not (string-match "b" dired-actual-switches))
|   (if (not (string-match "b" dired-actual-switches)) (save-excursion (setq 
end ...) (goto-char opoint) (while ... ...) (goto-char opoint) (while ... ...) 
(set-marker end nil)))
|   (let ((opoint ...) (process-environment ...) end) (if (or 
dired-use-ls-dired ...) (setq switches ...)) (if file-list (dolist ... ...) 
(insert-directory dir switches wildcard ...)) (if (not ...) (save-excursion ... 
... ... ... ... ...)) (dired-insert-set-properties opoint (point)) (unless 
(save-excursion ... ...) (let ... ...)) (save-excursion (goto-char opoint) (if 
... ...) (when wildcard ...)))
|   
dired-insert-directory("/ftp:homepages.demon.co.uk:/vol2/demon.co.uk/v/e/g/vegetable/"
 "-al" nil nil t)
|   dired-readin-insert()
|   dired-readin()
|   
dired-internal-noselect("/ftp:homepages.demon.co.uk:/vol2/demon.co.uk/v/e/g/vegetable/"
 nil)
|   
dired-noselect(#("/ftp:homepages.demon.co.uk:/vol2/demon.co.uk/v/e/g/vegetable/"
 0 27 nil 27 60 (inhibit-line-move-field-capture t field output rear-nonsticky 
t) 60 61 nil))
|   run-hook-with-args-until-success(dired-noselect 
#("/ftp:homepages.demon.co.uk:/vol2/demon.co.uk/v/e/g/vegetable/" 0 27 nil 27 
60 (inhibit-line-move-field-capture t field output rear-nonsticky t) 60 61 nil))
|   find-file-noselect("/ftp:homepages.demon.co.uk:~/" nil nil t)
|   find-file("/ftp:homepages.demon.co.uk:~/" t)
|   call-interactively(find-file)

It appears that, for some reason, dired-actual-switches fails to
be set.  However, I can't make head or tail of the loops
ange-ftp goes through to get the directory listing.

FWIW, this error only occurs when I try and access a directory
whose parent I cannot read.  That is, I only get the error if I
hit the (file-error nil) part of the new definition of
ANGE-FTP-FILE-SYMLINK-P.

-- 
lawrence mitchell <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]