I have Emacs 21.2 and 21.3 installed on my PC running Win2k and have
been using ange-ftp for quite a while. Yesterday when I started a new
version of Emacs and tried to use ange-ftp it would not work, the
message that I got was:
dired-sort-menu-remote-p: Args out of range: 1, 5
I tried it with both versions of Emacs, the same message is displayed.
I have tried several different remote machines and received similar
messages:
dired-sort-menu-remote-p: Args out of range: 1, 14
dired-sort-menu-remote-p: Args out of range: 1, 5
dired-sort-menu-remote-p: Args out of range: 1, 29
The second number is the length of the name of the remote system.
Further testing reveals that this occurs when dired-sort-menu-remote-p
is invoked for a remote directory before it is invoked for a local
directory. Furthermore when an initial invocation for a remote
directory is followed by an invocation for a local directory then an
invocation for a remote directory the "Args out of range" message is not
displayed but the directory is not displayed correctly either.
I have tried to locate the source for dired-sort-menu-remote-p function
but cannot find where it is defined. The only information that I can
find when I do a C-h f dired-sort-menu-remote-p is this:
[***********************************************************************
***********
dired-sort-menu-remote-p is a compiled Lisp function.
(dired-sort-menu-remote-p)
Return the host name for a remote ange-ftp directory or nil if local.
************************************************************************
**********]