From: Gabe Black <Gabe.Black@ni.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#2413: file-directory-p reports incorrect value for ftp root files
Date: Fri, 20 Feb 2009 13:05:34 -0600 [thread overview]
Message-ID: <OFECCAD4BF.7BF5B5AB-ON86257563.0068CB6C-86257563.0068E0BA@ni.com> (raw)
[-- 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 --]
next reply other threads:[~2009-02-20 19:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-20 19:05 Gabe Black [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-24 17:56 bug#2413: file-directory-p reports incorrect value for ftp root files Chong Yidong
2011-07-10 1:54 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OFECCAD4BF.7BF5B5AB-ON86257563.0068CB6C-86257563.0068E0BA@ni.com \
--to=gabe.black@ni.com \
--cc=2413@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.