unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Timeout for reading file across network
@ 2010-09-02 13:43 Ali Pang
  2010-09-03  0:56 ` PJ Weisberg
  0 siblings, 1 reply; 3+ messages in thread
From: Ali Pang @ 2010-09-02 13:43 UTC (permalink / raw)
  To: Help-gnu-emacs


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.




^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <mailman.3.1283436363.15631.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2010-09-03  0:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-02 13:43 Timeout for reading file across network Ali Pang
2010-09-03  0:56 ` PJ Weisberg
     [not found] <mailman.3.1283436363.15631.help-gnu-emacs@gnu.org>
2010-09-02 20:45 ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).