all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#2413: file-directory-p reports incorrect value for ftp root files
@ 2009-02-20 19:05 Gabe Black
  0 siblings, 0 replies; 3+ messages in thread
From: Gabe Black @ 2009-02-20 19:05 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 3068 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 7321 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#2413: file-directory-p reports incorrect value for ftp root files
@ 2009-02-24 17:56 Chong Yidong
  2011-07-10  1:54 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2009-02-24 17:56 UTC (permalink / raw)
  To: Gabe Black; +Cc: 2413

> 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?






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#2413: file-directory-p reports incorrect value for ftp root files
  2009-02-24 17:56 Chong Yidong
@ 2011-07-10  1:54 ` Glenn Morris
  0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2011-07-10  1:54 UTC (permalink / raw)
  To: 2413-done


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?





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-10  1:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-20 19:05 bug#2413: file-directory-p reports incorrect value for ftp root files Gabe Black
  -- strict thread matches above, loose matches on Subject: below --
2009-02-24 17:56 Chong Yidong
2011-07-10  1:54 ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.