unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* timeout doesnt seem to work in sentinel
@ 2002-12-13 23:16 Jonas Järneström
  0 siblings, 0 replies; only message in thread
From: Jonas Järneström @ 2002-12-13 23:16 UTC (permalink / raw)


In GNU Emacs 20.7.1 (sparc-sun-solaris2.8, X toolkit)
 of Tue Jan 16 2001 on sunray8.era-a.ericsson.se
configured using `configure  --prefix=/usr/bag/emacs/20.7 --datadir=/usr/bag/emacs/share'

In a process sentinel I have a chunk like this which never timeouts:
  (setq result   
(y-or-n-p-with-timeout 
        (format "Update %s to %s ? " old-label new-rev) 
cs-auto-update-query-timeout 'timeout))

While y-or-n-p-with-timeout is waiting, there are other subprocesses
exiting waiting to run their sentinels. Is it this that creates the
problem or can't I use timers in a sentinel at all?

Would it help to write my own version of y-or-n-p-with-timeout
with a sit-for or sleep-for squeezed in somewhere?

Thanks,

Jonas Järneström

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-13 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-13 23:16 timeout doesnt seem to work in sentinel Jonas Järneström

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).