From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gabe Black Newsgroups: gmane.emacs.bugs Subject: bug#2413: file-directory-p reports incorrect value for ftp root files Date: Fri, 20 Feb 2009 13:05:34 -0600 Message-ID: Reply-To: Gabe Black , 2413@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_alternative 0068E0BA86257563_=" X-Trace: ger.gmane.org 1235198854 27318 80.91.229.12 (21 Feb 2009 06:47:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2009 06:47:34 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 21 07:48:50 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LalfM-0001Jz-Rj for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 07:48:49 +0100 Original-Received: from localhost ([127.0.0.1]:55182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lale1-00087J-OT for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 01:47:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LaayJ-0002z8-NJ for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 14:23:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaayI-0002yv-Qe for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 14:23:39 -0500 Original-Received: from [199.232.76.173] (port=56276 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaayI-0002ys-L4 for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 14:23:38 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40108) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LaayI-0004kW-0P for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 14:23:38 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KJNa6o020610; Fri, 20 Feb 2009 11:23:36 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1KJF3pR018300; Fri, 20 Feb 2009 11:15:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Gabe Black Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 20 Feb 2009 19:15:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2413 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123515674516847 (code B ref -1); Fri, 20 Feb 2009 19:15:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 20 Feb 2009 19:05:45 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) X-KeepSent: ECCAD4BF:7BF5B5AB-86257563:0068CB6C; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.2 August 07, 2008 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 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 20 Feb 2009 14:23:39 -0500 X-Mailman-Approved-At: Sat, 21 Feb 2009 01:45:16 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25532 Archived-At: 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_=--