From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kin Cho Newsgroups: gmane.emacs.help Subject: the real file-attributes function Date: 24 Oct 2002 16:52:07 -0700 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <7ibs5j1jko.fsf@neoscale.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035503891 25478 80.91.224.249 (24 Oct 2002 23:58:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2002 23:58:11 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 184rrb-0006ca-00 for ; Fri, 25 Oct 2002 01:58:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 184rpw-000573-00; Thu, 24 Oct 2002 19:56:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!12.24.46.66!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 12.24.46.66 Original-X-Trace: fu-berlin.de 1035503530 30099599 12.24.46.66 (16 [151019]) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:106360 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2910 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2910 Hi, I want to use the real file-attributes, not the ange-ftp overloaded one. In other words, how do I stop this: (file-attributes "/ftp.geocities.com:/") from opening a ftp connection? I see this line in (put 'file-attributes 'ange-ftp 'ange-ftp-file-attributes) in ange-ftp.el so I tried: (put 'file-attributes 'ange-ftp 'file-attributes) but this causes infinite recursion when I eval (file-attributes "/ftp.geocities.com:/") Thanks. -kin