GNU bug report logs - #2413
file-directory-p reports incorrect value for ftp root files

Previous Next

Package: emacs;

Reported by: Gabe Black <Gabe.Black <at> ni.com>

Date: Fri, 20 Feb 2009 19:15:03 UTC

Severity: normal

Tags: moreinfo, unreproducible

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2413 in the body.
You can then email your comments to 2413 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2413; Package emacs. (Fri, 20 Feb 2009 19:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gabe Black <Gabe.Black <at> ni.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 20 Feb 2009 19:15:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Gabe Black <Gabe.Black <at> ni.com>
To: bug-gnu-emacs <at> gnu.org
Subject: file-directory-p reports incorrect value for ftp root files
Date: Fri, 20 Feb 2009 13:05:34 -0600
[Message part 1 (text/plain, inline)]
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 <at> 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
[Message part 2 (text/html, inline)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2413; Package emacs. (Tue, 24 Feb 2009 18:05:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 24 Feb 2009 18:05:05 GMT) Full text and rfc822 format available.

Message #10 received at 2413 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Gabe Black <Gabe.Black <at> ni.com>
Cc: 2413 <at> debbugs.gnu.org
Subject: file-directory-p reports incorrect value for ftp root files
Date: Tue, 24 Feb 2009 12:56:34 -0500
> 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 <at> 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 <at> 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?




Tags added: unreproducible, moreinfo Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Sun, 15 Mar 2009 16:10:07 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sun, 10 Jul 2011 01:55:02 GMT) Full text and rfc822 format available.

Notification sent to Gabe Black <Gabe.Black <at> ni.com>:
bug acknowledged by developer. (Sun, 10 Jul 2011 01:55:02 GMT) Full text and rfc822 format available.

Message #17 received at 2413-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 2413-done <at> debbugs.gnu.org
Subject: Re: bug#2413: file-directory-p reports incorrect value for ftp root
	files
Date: Sat, 09 Jul 2011 21:54:15 -0400
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?




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 07 Aug 2011 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.