unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: eliz@is.elta.co.il, emacs-devel@gnu.org
Subject: Re: x-autoselect-window
Date: Mon, 18 Feb 2002 23:36:50 -0700 (MST)	[thread overview]
Message-ID: <200202190636.g1J6ao115605@santafe.santafe.edu> (raw)
In-Reply-To: <86wuxdp61b.fsf@gerd.dnsq.org> (gerd.moellmann@t-online.de)

    I guess my other mail explains that.  The select-window happens
    in code that interrupts the ``main thread'' at an arbitrary point.
    I wished Emacs would crash when something like that is tried ):-).

We could set that up easily enough.  Fselect_window and some other
places can check interrupt_input_blocked and abort if that is nonzero.
We could make a macro to do that.

Gerd, I see you created a variable handling_signal and made Feval
abort if that is nonzero.  Was there a reason you used handling_signal
rather than interrupt_input_blocked?  interrupt_input_blocked can be
nonzero outside of signal handling in code where reading events should
be deferred, but I think it is just as wrong to call eval or switch
windows in those places.

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-02-19  6:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-16 15:54 x-autoselect-window Eli Zaretskii
2002-02-16 17:36 ` x-autoselect-window Gerd Moellmann
2002-02-16 17:57   ` x-autoselect-window Eli Zaretskii
2002-02-16 18:25     ` x-autoselect-window Gerd Moellmann
2002-02-16 19:10       ` x-autoselect-window Eli Zaretskii
2002-02-16 19:42         ` x-autoselect-window Gerd Moellmann
2002-02-19  6:36           ` Richard Stallman [this message]
2002-02-19  9:49             ` x-autoselect-window Gerd Moellmann
2002-02-20 22:12               ` x-autoselect-window Richard Stallman
2002-02-16 18:14 ` x-autoselect-window Pavel Janík
2002-02-16 19:16   ` x-autoselect-window Gerd Moellmann
2002-02-16 20:03     ` x-autoselect-window Eli Zaretskii
2002-02-16 20:36       ` x-autoselect-window Gerd Moellmann
2002-02-16 19:25   ` x-autoselect-window Eli Zaretskii
2002-02-17 16:49 ` x-autoselect-window 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=200202190636.g1J6ao115605@santafe.santafe.edu \
    --to=rms@gnu.org \
    --cc=eliz@is.elta.co.il \
    --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).