From unknown Sun Jun 22 11:32:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2413 <2413@debbugs.gnu.org> To: bug#2413 <2413@debbugs.gnu.org> Subject: Status: file-directory-p reports incorrect value for ftp root files Reply-To: bug#2413 <2413@debbugs.gnu.org> Date: Sun, 22 Jun 2025 18:32:43 +0000 retitle 2413 file-directory-p reports incorrect value for ftp root files reassign 2413 emacs submitter 2413 Gabe Black severity 2413 normal tag 2413 moreinfo unreproducible thanks From Gabe.Black@ni.com Fri Feb 20 11:05:45 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Feb 2009 19:05:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,MULTALT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KJ5fI1016841 for ; Fri, 20 Feb 2009 11:05:42 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Laagu-0001jK-UB for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 14:05:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Laagq-0001hi-Mu for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 14:05:40 -0500 Received: from [199.232.76.173] (port=39640 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Laagq-0001hW-AY for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 14:05:36 -0500 Received: from mailserv99-us.natinst.com ([130.164.14.246]:36990) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Laagp-00071N-NN for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 14:05:36 -0500 Received: from postoffice2.natinst.com (mailserv99-usa [130.164.14.246]) by mailserv99-us.natinst.com (Postfix) with ESMTP id 504535CF0F for ; Fri, 20 Feb 2009 13:05:34 -0600 (CST) Received: from nb-hsrp-1326.natinst.com (130.164.14.197) by mailserv99-us.natinst.com (F-Secure/fsigk_smtp/488/mailserv99-us.natinst.com); Fri, 20 Feb 2009 13:05:33 -0600 (CST) X-Virus-Status: clean(F-Secure/fsigk_smtp/488/mailserv99-us.natinst.com) To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Subject: file-directory-p reports incorrect value for ftp root files X-KeepSent: ECCAD4BF:7BF5B5AB-86257563:0068CB6C; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.2 August 07, 2008 Message-ID: From: Gabe Black Date: Fri, 20 Feb 2009 13:05:34 -0600 X-MIMETrack: Serialize by Router on PostOffice2/AUS/M/NIC(Release 8.0.2|August 07, 2008) at 02/20/2009 01:05:34 PM, Serialize complete at 02/20/2009 01:05:34 PM Content-Type: multipart/alternative; boundary="=_alternative 0068E0BA86257563_=" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) This is a multipart message in MIME format. --=_alternative 0068E0BA86257563_= Content-Type: text/plain; charset="US-ASCII" I have a file on a ftp location 10.0.42.141 called ph_exec. In emacs 22.2.1 this code works correctly. (setq ange-ftp-dumb-unix-host-regexp ".*") (file-directory-p "/anonymous@10.0.42.141:/ph_exec.exe") however in 22.3.1 it does not work and incorrectly reports ph_exec as being a directory In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Apropos Minor modes in effect: shell-dirtrack-mode: t encoded-kbd-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: l o a d l i a n g e - f t C-x b C-x C-e C-x C-e C-x C-e C-g C-g q C-g C-g q C-e C-x C-e M-x v e r s o p m i o n M-x a n g e l a d d u 1 0 . 0 . 4 2 . 1 4 1 C-x C-e M-x a n g e n s 1 0 . 0 . 4 2 . 1 4 1 C-x C-e M-x a n g r e r e C-x C-e M-x v e r s o p m i o n ( s e t q SPC t r a m p - d e f a u l t - m e t h o d SPC " f t p " ) C-a C-SPC M-w C-x C-s C-g C-g C-g C-x C-e C-e C-x C-g C-g C-x C-e C-x b M-x a n g e m C-g M-x a p r b u g M-x r e p o r t - e m Recent messages: Mark activated Quit [3 times] "ftp" Quit t Making completion list... Quit Loading apropos...done Type C-x 4 C-o RET to restore the other window. Loading emacsbug...done Thanks, Gabe Black | National Instruments | System Software | 512.683.8761 --=_alternative 0068E0BA86257563_= Content-Type: text/html; charset="US-ASCII"
I have a file on a ftp location 10.0.42.141 called ph_exec.  In emacs 22.2.1 this code works correctly.

(setq ange-ftp-dumb-unix-host-regexp ".*")
(file-directory-p "/anonymous@10.0.42.141:/ph_exec.exe")

however in 22.3.1 it does not work and incorrectly reports ph_exec as being a directory


In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
 of 2008-09-06 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Apropos

Minor modes in effect:
  shell-dirtrack-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
l o a d <tab> l i <tab> <return> a n g e - f <tab>
t <backspace> <return> C-x b <return> C-x C-e <up>
C-x C-e <down> C-x C-e C-g C-g <f1> q C-g C-g q C-e
C-x C-e <down-mouse-1> <mouse-1> M-x v e r s o p m
<return> <backspace> <backspace> <backspace> i o n
<return> M-x a n g e <tab> l <tab> <tab> <backspace>
<tab> a d <tab> d u <tab> <return> 1 0 . 0 . 4 2 .
1 4 1 <return> C-x C-e M-x a n g e <tab> <tab> n s
<tab> <return> 1 0 . 0 . 4 2 . 1 4 1 <return> C-x C-e
M-x a n <tab> g <tab> r e <tab> r e <tab> <return>
C-x C-e M-x v e r s o p m <return> <backspace> <backspace>
<backspace> i o n <return> <down-mouse-1> <mouse-1>
<return> ( s e t q SPC t r a m p - d e f a u l t -
m e t h o d SPC " f t p " ) <up> C-a C-SPC <down> <down>
<down> M-w C-x C-s C-g C-g C-g <up> C-x C-e <down>
C-e C-x C-g C-g C-x C-e <down> <down-mouse-1> <mouse-1>
C-x b <return> <next> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <down-mouse-1> <mouse-1>
M-x a n g <backspace> <backspace> <backspace> e m <tab>
C-g M-x a p r <tab> <return> b u g <return> <help-echo>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> <wheel-down>
<double-wheel-down> <wheel-down> <double-wheel-down>
<wheel-down> <double-wheel-down> <wheel-down> <wheel-down>
<double-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <wheel-down> <wheel-down> <double-wheel-down>
<wheel-down> <wheel-down> <double-wheel-down> <help-echo>
<down-mouse-1> <mouse-2> <help-echo> <help-echo> <help-echo>
<down-mouse-1> <mouse-1> M-x r e p o r t - e m <tab>
<return>

Recent messages:
Mark activated
Quit [3 times]
"ftp"
Quit
t
Making completion list...
Quit
Loading apropos...done
Type C-x 4 C-o RET to restore the other window.  
Loading emacsbug...done

Thanks,
Gabe Black | National Instruments | System Software | 512.683.8761 --=_alternative 0068E0BA86257563_=-- From cyd@stupidchicken.com Tue Feb 24 09:55:37 2009 Received: (at 2413) by emacsbugs.donarmstrong.com; 24 Feb 2009 17:55:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1OHtY3R000974 for <2413@emacsbugs.donarmstrong.com>; Tue, 24 Feb 2009 09:55:35 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 6D67D57E1FC; Tue, 24 Feb 2009 12:56:34 -0500 (EST) From: Chong Yidong To: Gabe Black Cc: 2413@debbugs.gnu.org Subject: file-directory-p reports incorrect value for ftp root files Date: Tue, 24 Feb 2009 12:56:34 -0500 Message-ID: <87prh7hg6l.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > I have a file on a ftp location 10.0.42.141 called ph_exec. In emacs > 22.2.1 this code works correctly. > > (setq ange-ftp-dumb-unix-host-regexp ".*") > (file-directory-p "/anonymous@10.0.42.141:/ph_exec.exe") > > however in 22.3.1 it does not work and incorrectly reports ph_exec as > being a directory I was unable to log in to 10.0.42.141 to reproduce this bug. However, (file-directory-p "/anonymous@ftp.kernel.org:/pub/README") works properly (i.e., it returns nil). I recently fixed a bug in ange-ftp.el which may be related to this, so could you check whether the problem persists with latest CVS? From cyd@stupidchicken.com Sun Mar 15 09:06:30 2009 Received: (at control) by emacsbugs.donarmstrong.com; 15 Mar 2009 16:06:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2FG6RBr005879 for ; Sun, 15 Mar 2009 09:06:29 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id A311957E21C; Sun, 15 Mar 2009 12:07:46 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: tag bugs Date: Sun, 15 Mar 2009 12:07:46 -0400 Message-ID: <87d4cidb1p.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii tags 2413 unreproducible, moreinfo tags 2434 unreproducible, moreinfo close 970 thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 21:54:24 2011 Received: (at 2413-done) by debbugs.gnu.org; 10 Jul 2011 01:54:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfjE0-0001r2-D3 for submit@debbugs.gnu.org; Sat, 09 Jul 2011 21:54:24 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfjDx-0001qp-R3 for 2413-done@debbugs.gnu.org; Sat, 09 Jul 2011 21:54:22 -0400 Received: from localhost ([127.0.0.1]:60703) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfjDs-0005kg-6i; Sat, 09 Jul 2011 21:54:16 -0400 From: Glenn Morris To: 2413-done@debbugs.gnu.org Subject: Re: bug#2413: file-directory-p reports incorrect value for ftp root files References: <87prh7hg6l.fsf@cyd.mit.edu> X-Spook: NORAD blackjack Legion of Doom diwn militia digicash X-Ran: m"ko8wJv87kR#c"oyQe]Q&SF#toNu{pf]QXAe(D%,6Bnu0XQ/Y2qB1G-0O'h+bny7dOBPW X-Hue: white X-Attribution: GM Date: Sat, 09 Jul 2011 21:54:15 -0400 In-Reply-To: <87prh7hg6l.fsf@cyd.mit.edu> (Chong Yidong's message of "Tue, 24 Feb 2009 12:56:34 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 2413-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) This bug is being closed because it is presumed fixed and there was no response to a request for more information. If you still see the problem, reply and it can be reopened. You can view the whole report at http://debbugs.gnu.org/BUGNUMBER Chong Yidong wrote: > works properly (i.e., it returns nil). I recently fixed a bug in > ange-ftp.el which may be related to this, so could you check whether the > problem persists with latest CVS? From unknown Sun Jun 22 11:32:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 07 Aug 2011 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator