From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ali Pang Newsgroups: gmane.emacs.help Subject: Timeout for reading file across network Date: Thu, 2 Sep 2010 06:43:22 -0700 (PDT) Message-ID: <29604481.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283436450 26751 80.91.229.12 (2 Sep 2010 14:07:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2010 14:07:30 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 02 16:07:28 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrARq-0008Nu-2q for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Sep 2010 16:07:26 +0200 Original-Received: from localhost ([127.0.0.1]:34507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrARp-0003yw-7Z for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Sep 2010 10:07:25 -0400 Original-Received: from [140.186.70.92] (port=49877 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrAQQ-0003ll-J7 for Help-gnu-emacs@gnu.org; Thu, 02 Sep 2010 10:06:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrA4a-0002Hd-5w for Help-gnu-emacs@gnu.org; Thu, 02 Sep 2010 09:43:25 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:59404) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrA4a-0002H4-0F for Help-gnu-emacs@gnu.org; Thu, 02 Sep 2010 09:43:24 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OrA4Y-0007xi-L8 for Help-gnu-emacs@gnu.org; Thu, 02 Sep 2010 06:43:22 -0700 X-Nabble-From: ali_pang@hotmail.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74855 Archived-At: Hi, I'd like to load my .emacs from a remote location if possible. The problem is I'm on windows, and the time-out before recognizing that the file is unavailable is ridiculously long (minutes). Thus if the file is unavailable, emacs blocks for a long time at startup. I've tried basically doing (if (with-timeout (4) (file-exists-p remote-.emacs)) (load remote-.emacs)) but I guess with-timeout does not do what I want. Any ideas about what I could use instead? -- View this message in context: http://old.nabble.com/Timeout-for-reading-file-across-network-tp29604481p29604481.html Sent from the Emacs - Help mailing list archive at Nabble.com.