unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: y-or-n-p-with-timeout
Date: Sat, 6 Nov 2004 18:24:57 +0100	[thread overview]
Message-ID: <C803A2CD-3018-11D9-9180-000D93505B76@swipnet.se> (raw)
In-Reply-To: <E1CQSLR-0002dQ-Cj@fencepost.gnu.org>

> 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 <rms@gnu.org>
> To: storm@cua.dk (Kim F. Storm)
> Date: Sat, 06 Nov 2004 00:22:41 -0500
> Cc: jan.h.d@swipnet.se, mituharu@math.s.chiba-u.ac.jp, 
> emacs-devel@gnu.org
> 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	other threads:[~2004-11-06 17:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-06 15:19 y-or-n-p-with-timeout Richard Stallman
2004-11-06 17:24 ` Jan D. [this message]
2004-11-07 18:04   ` y-or-n-p-with-timeout Richard Stallman
2004-11-06 18:14 ` y-or-n-p-with-timeout Alex Schroeder
2004-11-08 14:49   ` y-or-n-p-with-timeout Stefan
2004-11-09 11:14     ` y-or-n-p-with-timeout Richard Stallman
2004-11-09 23:16       ` y-or-n-p-with-timeout Luc Teirlinck
2004-11-11  3:14         ` y-or-n-p-with-timeout Richard Stallman
2004-11-11  9:20           ` y-or-n-p-with-timeout Jan D.
2004-11-12  7:05             ` y-or-n-p-with-timeout Richard Stallman
2004-11-08 19:58   ` y-or-n-p-with-timeout Matthew Mundell
2004-11-09 21:29     ` y-or-n-p-with-timeout Richard Stallman
2004-11-09 22:51       ` y-or-n-p-with-timeout Matthew Mundell
2004-11-11  3:14         ` y-or-n-p-with-timeout Richard Stallman
2004-11-12 17:04           ` y-or-n-p-with-timeout Matthew Mundell
2004-11-13 16:37             ` y-or-n-p-with-timeout Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C803A2CD-3018-11D9-9180-000D93505B76@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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