all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: gerd.moellmann@t-online.de (Gerd Moellmann)
Cc: emacs-devel@gnu.org
Subject: Re: x-autoselect-window
Date: 16 Feb 2002 20:16:33 +0100	[thread overview]
Message-ID: <86vgcxck4u.fsf@gerd.dnsq.org> (raw)
In-Reply-To: <m3d6z5jnul.fsf@Janik.cz>

Pavel@janik.cz (Pavel Janík) writes:

> I do not see this, because I use blink-cursor-mode, but when I set it to
> default values, I see that problem too. I will see if Gerd's advice help
> here (thank you Gerd).

Please don't bother to check.  I just looked at the code, and I know
what's wrong: Fselect_window is called asynchonously from
note_mouse_movement via XTread_socket, which is not safe.  (Actually
I wonder why this hasn't lead to an abort somewhere, or a crash).

One way to implement this feature is to generate an input_event which
is handled in keyboard.c by selecting the window.


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


  reply	other threads:[~2002-02-16 19:16 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           ` x-autoselect-window Richard Stallman
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   ` Gerd Moellmann [this message]
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

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

  git send-email \
    --in-reply-to=86vgcxck4u.fsf@gerd.dnsq.org \
    --to=gerd.moellmann@t-online.de \
    --cc=emacs-devel@gnu.org \
    --cc=gerd@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 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.