From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#32932: 27.0.50; render bugs on macOS Mojave Date: Thu, 8 Nov 2018 16:17:15 +0000 Message-ID: <20181108161715.GA99392@breton.holly.idiocy.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> 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 1541694809 18878 195.159.176.226 (8 Nov 2018 16:33:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2018 16:33:29 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) Cc: boris@d12frosted.io, 32932@debbugs.gnu.org, aaronjensen@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 08 17:33:24 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 1gKnFC-0004lN-WB for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2018 17:33:23 +0100 Original-Received: from localhost ([::1]:57823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKnHI-00026M-V0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2018 11:35:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKn0Q-0006Am-3W for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 11:18:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKn0M-0000VM-5l for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 11:18:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37597) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKn0M-0000V8-0B for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 11:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gKn0L-0001Ys-QC for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 11:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Nov 2018 16:18:01 +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.15416938495963 (code B ref 32932); Thu, 08 Nov 2018 16:18:01 +0000 Original-Received: (at 32932) by debbugs.gnu.org; 8 Nov 2018 16:17:29 +0000 Original-Received: from localhost ([127.0.0.1]:41855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKmzp-0001Y7-Ea for submit@debbugs.gnu.org; Thu, 08 Nov 2018 11:17:29 -0500 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:46809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKmzn-0001Xt-Av for 32932@debbugs.gnu.org; Thu, 08 Nov 2018 11:17:27 -0500 Original-Received: by mail-wr1-f54.google.com with SMTP id 74-v6so21850914wrb.13 for <32932@debbugs.gnu.org>; Thu, 08 Nov 2018 08:17:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=lUrdf7i6p6IS4Olg+LSR/0RYqpb9Sldk2gwQO43PP6U=; b=qPeQ8C/bGSdvbjcU8qfkE5rKG5wa7GJEe8FTI3q/y7B1nVfk//n1bj0e2LtnMb0Zjj y8shLMerDfpCr3V8vOGS2bTnUoZACEQ/VArgXXTkDLAwCTbF6lsSYrzm0aI76/hyX3cu LRuxkpjY/BxHI1qWT99thGWtA0uPmlhfdTceDJx+NTUMWjsOjxrydQWX+LufClx4Q2fx xwCT6Q5u6FTHMid07hplRr0QMXeP93ceQwWKSJlqKOV7cIsVUCrhMeaQQWvZia7ywOPp 69cMdPXmxxql49/e3EDl2HAWNTwDj1rvA/X7ne/5ci9pLbDRGiMkRLw0YyFAo2L9nsTT UQHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=lUrdf7i6p6IS4Olg+LSR/0RYqpb9Sldk2gwQO43PP6U=; b=F7yjZI+dnOsn1RswwiD7eyQwUEF0sJpI54ABJvP8kDycuRr2ITDu2jRGfFm917ijwI pA8AxUaUIdByxP1DKscvHHCJ1CrLEWvn8KG3QQ8mwbxlNJKkc9mURBQFk9Agz7kt5yZd h82zifdIHvBZheGlX83i1I7vu84C3+Dvj+iS/c4SohtCt4YS3xGykVXjJysj+mpEshlZ OseqiLb8M6BlvPDFA6vns4lJGlj/1fzTCEIbRKeAddlQ1PmpyFkkCS6nXpKATRPPdZOI rCy9/mg7gmr8Ny1ikJ9RV0hewRfE1PzqELLjLO4xlpTA8RAokecobLMmXajFJRj/u8fD fgFw== X-Gm-Message-State: AGRZ1gK+TBbIxUWz8NXANbQZ6Hw2h5XxdcZsQnpBJP07qfN4DquMU2ac MbrYI/vFyVvRKC5J7+Tn7A4= X-Google-Smtp-Source: AJdET5c7i2IDl8PksuJIpQ58lr4ynEL9POsz9wKBzcBe/7zzP+4VZSVDSvHahACItNNjUAH6DT3RTQ== X-Received: by 2002:a5d:6a0e:: with SMTP id m14-v6mr4844049wru.76.1541693841294; Thu, 08 Nov 2018 08:17:21 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-8cfe-35d9-62a3-d426.holly.idiocy.org. [2001:8b0:3f8:8129:8cfe:35d9:62a3:d426]) by smtp.gmail.com with ESMTPSA id p16-v6sm6217334wro.29.2018.11.08.08.17.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Nov 2018 08:17:17 -0800 (PST) Content-Disposition: inline In-Reply-To: <83va57bmzq.fsf@gnu.org> 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:152170 Archived-At: On Thu, Nov 08, 2018 at 05:35:53PM +0200, Eli Zaretskii wrote: > > Date: Thu, 8 Nov 2018 15:21:17 +0000 > > From: Alan Third > > Cc: Eli Zaretskii , 32932@debbugs.gnu.org, > > boris@d12frosted.io > > > > We could try and force Emacs to bend to the NS way by forcing > > expose_frame and friends to draw WHENEVER REQUESTED, but I don’t know > > how practical that is, and it would mean making changes in xdisp.c > > which may be unwelcome. > > 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 (there may be other circumstances too). Unfortunately this results in areas being cleared and not being redrawn as Cocoa/GNUstep assume it is always possible to redraw anything at any time. It would be fine if there was a way to say to Cocoa/GNUstep to just ignore that dirty rectangle for now, but there doesn’t seem to be, so it clears the rectangle, asks expose_frame to draw it, but it doesn’t, then marks the dirty rectangle as clean and continues. If I could suppress the clearing action that would solve the problem. If expose_frame could draw the rectangle as it was before the frame/window was marked garbaged, that would also solve the problem. I don’t believe the former is possible, and I don’t know if the latter is possible. -- Alan Third