[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: y-or-n-p-with-timeout

From: Jan D.
Subject: Re: y-or-n-p-with-timeout
Date: Sat, 6 Nov 2004 18:24:57 +0100

The question is whether to make y-or-n-p-with-timeout work correctly
or to declare it obsolete.  We could make it work using some other
timeout mechanism that can't run Lisp code.

Actually, I took this as an OK to revert the change about timer handling in popup_get_selection:

From: Richard Stallman <address@hidden>
To: address@hidden (Kim F. Storm)
Date: Sat, 06 Nov 2004 00:22:41 -0500
Cc: address@hidden, address@hidden, address@hidden
Subject: Re: alarm_signal_handler is called too frequently

    Why is it unsafe to Feval with input blocked?

I thought that this was not handled at all, and wouldn't have a chance
of working right.  But I can't find a reason now why it won't work.

Only Xt-based Emacs (Lucid/Motif/Lesstif) handle y-or-n-p-with-timeout, but I'm sure it can be done for the other X based versions. Mac and W32 also doesn't timeout on y-or-n-p-with-timeout when a dialog is used.

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]