From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: James Davidson Newsgroups: gmane.emacs.help Subject: Re: Possible bugs in dired-sort-menu-remote-p Date: Sun, 23 Jan 2005 18:55:20 -0800 Organization: Sun Microsystems Corporation Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106535471 17557 80.91.229.6 (24 Jan 2005 02:57:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2005 02:57:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 24 03:57:45 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CsuQD-00089p-00 for ; Mon, 24 Jan 2005 03:57:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CsucO-0005nw-O9 for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Jan 2005 22:10:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed.pnap.net!brmea-news-1.sun.com!news1nwk.sfbay.sun.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 47 Original-NNTP-Posting-Host: vpn-129-150-25-160.sfbay.sun.com Original-X-Trace: news1nwk.SFbay.Sun.COM 1106535321 17379 129.150.25.160 (24 Jan 2005 02:55:21 GMT) Original-X-Complaints-To: usenet@news1nwk.sfbay.sun.com Original-NNTP-Posting-Date: Mon, 24 Jan 2005 02:55:21 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:128078 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23571 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23571 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