From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32932: 27.0.50; render bugs on macOS Mojave Date: Thu, 08 Nov 2018 18:51:37 +0200 Message-ID: <83tvkrbjhi.fsf@gnu.org> References: <20181103203635.GB41015@breton.holly.idiocy.org> <83muqpeuw0.fsf@gnu.org> <20181104132404.GA58336@breton.holly.idiocy.org> <20181104201148.GA70884@breton.holly.idiocy.org> <20181105185516.GA71125@breton.holly.idiocy.org> <20181108152117.GA98842@breton.holly.idiocy.org> <83va57bmzq.fsf@gnu.org> <20181108161715.GA99392@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1541695871 15626 195.159.176.226 (8 Nov 2018 16:51:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2018 16:51:11 +0000 (UTC) Cc: boris@d12frosted.io, 32932@debbugs.gnu.org, aaronjensen@gmail.com To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 08 17:51:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1gKnWM-0003uz-IH for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2018 17:51:06 +0100 Original-Received: from localhost ([::1]:57926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKnYT-00028A-01 for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2018 11:53:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKnYH-00026q-Sc for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 11:53:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKnYE-0002hz-He for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 11:53:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37621) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKnYE-0002hm-DM for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 11:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gKnYE-0002QU-7y for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 11:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Nov 2018 16:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32932-submit@debbugs.gnu.org id=B32932.15416959339266 (code B ref 32932); Thu, 08 Nov 2018 16:53:02 +0000 Original-Received: (at 32932) by debbugs.gnu.org; 8 Nov 2018 16:52:13 +0000 Original-Received: from localhost ([127.0.0.1]:41879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKnXR-0002PN-K5 for submit@debbugs.gnu.org; Thu, 08 Nov 2018 11:52:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKnXO-0002PA-4U for 32932@debbugs.gnu.org; Thu, 08 Nov 2018 11:52:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKnXI-0001XX-2X for 32932@debbugs.gnu.org; Thu, 08 Nov 2018 11:52:04 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKnXD-0001Oo-Qo; Thu, 08 Nov 2018 11:51:59 -0500 Original-Received: from [176.228.60.248] (port=4531 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gKnXD-0007Qb-4w; Thu, 08 Nov 2018 11:51:59 -0500 In-reply-to: <20181108161715.GA99392@breton.holly.idiocy.org> (message from Alan Third on Thu, 8 Nov 2018 16:17:15 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152173 Archived-At: > Date: Thu, 8 Nov 2018 16:17:15 +0000 > From: Alan Third > Cc: aaronjensen@gmail.com, 32932@debbugs.gnu.org, boris@d12frosted.io > > > What exactly do you mean by WHENEVER REQUESTED? As opposed to what > > alternative? > > At the moment expose_frame doesn’t draw anything if the frame or > window has been marked as garbaged AFAIR, that's a mere optimization, so if you want expose_frame to go ahead and redraw on NS regardless of the frame's garbaged flag, it's fine with me. > (there may be other circumstances too). The only other case is when the frame's face cache is empty, in which case you won't be able to draw anything anyway. There's a no-op return in expose_window, but I think its condition cannot happen nowadays, it's a relic from when expose_frame could be entered asynchronously from a signal handler. > If expose_frame could draw the rectangle as it was before the > frame/window was marked garbaged, that would also solve the problem. Not sure what this means: you can only draw what's in the glyph matrices, what was there before the garbaged flag was set is gone for good.