unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: James Davidson <jim.davidson@sun.com>
Subject: Re: Possible bugs in dired-sort-menu-remote-p
Date: Sun, 23 Jan 2005 18:55:20 -0800	[thread overview]
Message-ID: <ct1o2p$gv3$1@news1nwk.SFbay.Sun.COM> (raw)
In-Reply-To: <mailman.14322.1106242100.27204.help-gnu-emacs@gnu.org>

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	other threads:[~2005-01-24  2:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.14322.1106242100.27204.help-gnu-emacs@gnu.org>
2005-01-24  2:55 ` James Davidson [this message]
2005-01-20 17:15 Possible bugs in dired-sort-menu-remote-p Bingham, Jay

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='ct1o2p$gv3$1@news1nwk.SFbay.Sun.COM' \
    --to=jim.davidson@sun.com \
    /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.
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).