From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: gerd.moellmann@t-online.de (Gerd Moellmann) Newsgroups: gmane.emacs.devel Subject: Re: x-autoselect-window Date: 16 Feb 2002 20:16:33 +0100 Message-ID: <86vgcxck4u.fsf@gerd.dnsq.org> References: <2427-Sat16Feb2002175432+0200-eliz@is.elta.co.il> Reply-To: gerd@gnu.org NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable X-Trace: quimby2.netfonds.no 1013887857 17914 195.204.10.66 (16 Feb 2002 19:30:57 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 16 Feb 2002 19:30:57 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16cAXw-0004eq-00 for ; Sat, 16 Feb 2002 20:30:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16cALa-0007CJ-00; Sat, 16 Feb 2002 14:18:10 -0500 Original-Received: from mailout04.sul.t-online.com ([194.25.134.18]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16cAKs-0007Bl-00 for ; Sat, 16 Feb 2002 14:17:26 -0500 Original-Received: from fwd10.sul.t-online.de by mailout04.sul.t-online.com with smtp id 16cAK3-0001af-01; Sat, 16 Feb 2002 20:16:35 +0100 Original-Received: from gerd.dnsq.org (520015515780-0001@[217.230.100.242]) by fwd10.sul.t-online.com with esmtp id 16cAK2-1M1GV6C; Sat, 16 Feb 2002 20:16:34 +0100 Original-Received: (from gerd@localhost) by gerd.dnsq.org (8.11.6/8.11.4) id g1GJGXt02641; Sat, 16 Feb 2002 20:16:33 +0100 (CET) (envelope-from gerd@gnu.org) X-Authentication-Warning: gerd.dnsq.org: gerd set sender to gerd@gnu.org using -f Original-To: Eli Zaretskii In-Reply-To: Original-Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 X-Sender: 520015515780-0001@t-dialin.net Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1213 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1213 Pavel@janik.cz (Pavel Jan=EDk) 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