all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.