From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: the real file-attributes function Date: Fri, 25 Oct 2002 00:24:45 GMT Organization: Genuity, Woburn, MA Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <7ibs5j1jko.fsf@neoscale.com> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1035505744 30824 80.91.224.249 (25 Oct 2002 00:29:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2002 00:29:04 +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 184sLW-00080z-00 for ; Fri, 25 Oct 2002 02:29:02 +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 184sIt-0003LN-00; Thu, 24 Oct 2002 20:26:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never X-Newsreader: trn 4.0-test72 (19 April 1999) Originator: barmar@genuity.net (Barry Margolin) Original-Lines: 28 Original-X-Trace: /KHlxN3FSKHB92eCwvlLHgPUtmA9gMyc+MGySAai7Jjd77tDpTsY8CegbR5OFhXxhJY55dOMo/VY!ir03wH+CjXWan18OlEipEbRD6ITM5KwoAOdLfawANeMld7hPg1sIoK48q08MMU79GXW6+VwEms5i!2odujf7QQcTbZQ== Original-X-Complaints-To: abuse@gte.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Original-NNTP-Posting-Date: Fri, 25 Oct 2002 00:24:45 GMT Original-Distribution: world Original-Xref: shelby.stanford.edu gnu.emacs.help:106362 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:2912 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2912 In article <7ibs5j1jko.fsf@neoscale.com>, Kin Cho wrote: >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:/") (remprop 'file-attributes 'ange-ftp) -- Barry Margolin, barmar@genuity.net Genuity, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.