help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Possible bugs in dired-sort-menu-remote-p


From: James Davidson
Subject: Re: Possible bugs in dired-sort-menu-remote-p
Date: Sun, 23 Jan 2005 18:55:20 -0800
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

On 1/20/05 9:15 AM, Bingham, Jay wrote:
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.
************************************************************************
**********]


I haven't looked at your particular problem, but dired-sort-menu-remote-p is defined in dired-sort-menu, a package written by Francis Wright:

http://centaur.maths.qmw.ac.uk/Emacs/

That's probably where you got it from.

-Jim

reply via email to

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