From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Patch for Emacs X focus issue Date: Tue, 25 Jun 2002 19:32:13 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200206242113.g5OLDguO005787@stubby.bodenonline.com> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1025048009 7748 127.0.0.1 (25 Jun 2002 23:33:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Jun 2002 23:33:29 +0000 (UTC) Cc: emacs-devel@gnu.org, dajo@a-vip.com Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17MzoP-00020r-00 for ; Wed, 26 Jun 2002 01:33:29 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17MzqF-0007Lu-00 for ; Wed, 26 Jun 2002 01:35:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17MzoJ-00009M-00; Tue, 25 Jun 2002 19:33:23 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 3.34 #1 (Debian)) id 17MznB-0008PH-00; Tue, 25 Jun 2002 19:32:13 -0400 Original-To: jan.h.d@swipnet.se In-Reply-To: <200206242113.g5OLDguO005787@stubby.bodenonline.com> (jan.h.d@swipnet.se) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5203 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5203 I think that the input-pending-p problem needs a real fix. These events should be ignored for the sake of input-pending-p even if they are not ignored for some other purposes. Perhaps there should be two different functions for asking whether there is input, one for low-level Emacs purposes and one for high-level purposes. Can you try fixing it that way? A way to fix the "modline face" bug (I noticed now that the cursor also doesn't start blinking) would be to let only Finput_pending_p ignore FOCUS_IN_EVENTS. Is that a way to go? It looks like we both had the same idea.