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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#2413: closed (file-directory-p reports incorrect value for
 ftp root files)
Date: Sun, 10 Jul 2011 01:55:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 09 Jul 2011 21:54:15 -0400
with message-id <xtvcvac33s.fsf <at> fencepost.gnu.org>
and subject line Re: bug#2413: file-directory-p reports incorrect value for ftp root files
has caused the GNU bug report #2413,
regarding file-directory-p reports incorrect value for ftp root files
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
2413: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2413
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
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?


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.