From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: recentf-cleanup, file-readable-p & remote files Date: Thu, 18 Sep 2003 11:14:48 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <14940442.1063698697392.JavaMail.www@wwinf0603> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1063899161 31923 80.91.224.253 (18 Sep 2003 15:32:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2003 15:32:41 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Sep 18 17:32:39 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 1A00lr-0007gZ-00 for ; Thu, 18 Sep 2003 17:32:39 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A00pu-0007IX-01 for ; Thu, 18 Sep 2003 17:36:50 +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 1A00em-0004sg-DP for emacs-devel@quimby.gnus.org; Thu, 18 Sep 2003 11:25:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A00eM-0004sP-5e for emacs-devel@gnu.org; Thu, 18 Sep 2003 11:24:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A00bI-0003zF-RD for emacs-devel@gnu.org; Thu, 18 Sep 2003 11:21:45 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A00ap-0003pi-TS; Thu, 18 Sep 2003 11:21:15 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 1A00Ua-0003Pu-Kl; Thu, 18 Sep 2003 11:14:48 -0400 Original-To: Jesper Harder In-reply-to: (message from Jesper Harder on Wed, 17 Sep 2003 22:12:19 +0200) 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:16463 gmane.emacs.pretest.bugs:1074 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16463 Not connected to the Internet, off-line (if you're using a telephone modem with a per-minute charge, you're usually off-line). How do you tell whether the machine is connected? Perhaps you could call the new function network-interface-list and see if the list contains anything except the loopback device. That is not entirely correct, since you might be connected to a local ethernet which does not have an external connection, or is behind a firewall. But is it good enough?