From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: select-frame-set-input-focus fails to raise the frame Date: Fri, 15 Dec 2017 18:10:28 +0200 Message-ID: <831sjwt1jf.fsf@gnu.org> References: <20171213204737.GA1621@breton.holly.idiocy.org> <20171213222634.GA2144@breton.holly.idiocy.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1513354275 18122 195.159.176.226 (15 Dec 2017 16:11:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2017 16:11:15 +0000 (UTC) Cc: alan@idiocy.org, emacs-devel@gnu.org To: rswgnu@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 15 17:11:11 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePsZp-0004Lr-UA for ged-emacs-devel@m.gmane.org; Fri, 15 Dec 2017 17:11:10 +0100 Original-Received: from localhost ([::1]:47378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePsZw-00050i-TR for ged-emacs-devel@m.gmane.org; Fri, 15 Dec 2017 11:11:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePsZH-00050c-2Z for emacs-devel@gnu.org; Fri, 15 Dec 2017 11:10:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePsZD-0005dx-SE for emacs-devel@gnu.org; Fri, 15 Dec 2017 11:10:35 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePsZD-0005dk-Op; Fri, 15 Dec 2017 11:10:31 -0500 Original-Received: from [176.228.60.248] (port=1374 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ePsZC-0003VP-UI; Fri, 15 Dec 2017 11:10:31 -0500 In-reply-to: (message from Robert Weiner on Fri, 15 Dec 2017 10:53:59 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221101 Archived-At: > From: Robert Weiner > Date: Fri, 15 Dec 2017 10:53:59 -0500 > Cc: emacs-devel > > Although from the function doc strings, it seems a force-window-update > followed by a (sit-for 0) should force redisplay of the chosen window, it did > not (see the test2 function in the prior message). Is that a bug? How do you know Emacs didn't redisplay the window? "Force redisplay" doesn't necessarily mean you will see on display what you think you should see, it just means Emacs will consider that window for redisplay. Whether that causes Emacs to show what you think it should is another matter entirely: the display engine has its own ideas what part(s) of the window need to be redrawn, if any. I actually don't understand the idea of your test2 function: can you tell what you intended to see happen, and why?