From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: recentf-cleanup, file-readable-p & remote files Date: 16 Sep 2003 16:58:25 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <14940442.1063698697392.JavaMail.www@wwinf0603> Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063699276 31466 80.91.224.253 (16 Sep 2003 08:01:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Sep 2003 08:01:16 +0000 (UTC) Cc: harder@ifa.au.dk, emacs-devel , emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Sep 16 10:01:13 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19zAlt-00066F-00 for ; Tue, 16 Sep 2003 10:01:13 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 19zAot-00052Q-00 for ; Tue, 16 Sep 2003 10:04:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19zAlc-0007RV-Ig for emacs-devel@quimby.gnus.org; Tue, 16 Sep 2003 04:00:56 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19zAkn-0007Q7-44 for emacs-devel@gnu.org; Tue, 16 Sep 2003 04:00:05 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19zAkl-0007PN-LX for emacs-devel@gnu.org; Tue, 16 Sep 2003 04:00:03 -0400 Original-Received: from [210.143.35.52] (helo=TYO202.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.22) id 19zAk3-0007AK-2E; Tue, 16 Sep 2003 03:59:19 -0400 Original-Received: from mailgate4.nec.co.jp (mailgate53.nec.co.jp [10.7.69.184]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id h8G7wUM14094; Tue, 16 Sep 2003 16:58:30 +0900 (JST) Original-Received: (from root@localhost) by mailgate4.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id h8G7wSg22299; Tue, 16 Sep 2003 16:58:29 +0900 (JST) Original-Received: from edtmg04.lsi.nec.co.jp ([10.26.17.201]) by mailsv5.nec.co.jp (8.11.7/3.7W-MAILSV-NEC) with ESMTP id h8G7wRh13302; Tue, 16 Sep 2003 16:58:28 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edtmg04.lsi.nec.co.jp (8.9.3p2+3.2W/3.7W_EDC_Ver.1.0) with ESMTP id QAA04648; Tue, 16 Sep 2003 16:58:26 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.12.9/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id h8G7wQbo011201; Tue, 16 Sep 2003 16:58:26 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id C62CF3727; Tue, 16 Sep 2003 16:58:25 +0900 (JST) Original-To: david.ponce@wanadoo.fr System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <14940442.1063698697392.JavaMail.www@wwinf0603> Original-Lines: 13 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16420 gmane.emacs.pretest.bugs:1060 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16420 David PONCE writes: > IMO a better solution would be to allow to disable connection timeout > when calling the `file-readable-p' remote handler (I don't know if > this is feasible). So when not connected, `file-readable-p' will > immediately return nil, without waiting for a remote connection. It makes a lot of sense for `file-readable-p' to return nil for an unreachable file ... :-) Maybe this should just be handled by the appopriate remote file-handler. -Miles -- Fast, small, soon; pick any 2.