From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Bingham, Jay" Newsgroups: gmane.emacs.help Subject: Possible bugs in dired-sort-menu-remote-p Date: Thu, 20 Jan 2005 11:15:25 -0600 Message-ID: <72A87F7160C0994D8C5A36E2FDC227F50D189E2A@txnexc01.americas.cpqcorp.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1106241969 10822 80.91.229.6 (20 Jan 2005 17:26:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2005 17:26:09 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 20 18:26:00 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 1Crfuh-0004qS-00 for ; Thu, 20 Jan 2005 18:16:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Crg6g-00030w-VV for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Jan 2005 12:28:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Crg6U-00030a-W7 for help-gnu-emacs@gnu.org; Thu, 20 Jan 2005 12:28:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Crg6T-0002zs-GC for help-gnu-emacs@gnu.org; Thu, 20 Jan 2005 12:28:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Crg6T-0002zi-E1 for help-gnu-emacs@gnu.org; Thu, 20 Jan 2005 12:28:17 -0500 Original-Received: from [156.153.255.246] (helo=palrel11.hp.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Crfu6-0007Fr-Lk for help-gnu-emacs@gnu.org; Thu, 20 Jan 2005 12:15:30 -0500 Original-Received: from cacexg13.americas.cpqcorp.net (cacexg13.americas.cpqcorp.net [16.92.1.76]) by palrel11.hp.com (Postfix) with ESMTP id CD6F730FF2 for ; Thu, 20 Jan 2005 09:15:26 -0800 (PST) Original-Received: from txnexc01.americas.cpqcorp.net ([16.74.7.21]) by cacexg13.americas.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 20 Jan 2005 09:15:26 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.6980.32 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Possible bugs in dired-sort-menu-remote-p Thread-Index: AcT/E6GMNyoqcbFcQmifg521K6HPdw== Original-To: X-OriginalArrivalTime: 20 Jan 2005 17:15:26.0727 (UTC) FILETIME=[A265F970:01C4FF13] 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:23512 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23512 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. ************************************************************************ **********] -_ 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-