unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Possible bugs in dired-sort-menu-remote-p
@ 2005-01-20 17:15 Bingham, Jay
  0 siblings, 0 replies; 2+ messages in thread
From: Bingham, Jay @ 2005-01-20 17:15 UTC (permalink / raw)


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.
************************************************************************
**********]


<Send replies only to the list not to this address>

-_
J_)
C_)ingham
.    Hewlett-Packard
.    Austin, TX
. "Language is the apparel in which your thoughts parade in public.
.  Never clothe them in vulgar and shoddy attire."     -Dr. George W.
Crane-

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Possible bugs in dired-sort-menu-remote-p
       [not found] <mailman.14322.1106242100.27204.help-gnu-emacs@gnu.org>
@ 2005-01-24  2:55 ` James Davidson
  0 siblings, 0 replies; 2+ messages in thread
From: James Davidson @ 2005-01-24  2:55 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-24  2:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.14322.1106242100.27204.help-gnu-emacs@gnu.org>
2005-01-24  2:55 ` Possible bugs in dired-sort-menu-remote-p James Davidson
2005-01-20 17:15 Bingham, Jay

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).