From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ashish SHUKLA Newsgroups: gmane.emacs.bugs Subject: bug#39883: 28.0.50; macOS blank frame Date: Sun, 12 Apr 2020 11:54:53 +0530 Message-ID: References: <20200329181351.GA80513@breton.holly.idiocy.org> <3CA96F9B-66CF-4D3C-92F5-AC06334D50B2@lostca.se> <4e2737dfdc33b25c5158bcbfdc91e3b3@lostca.se> <20200331165235.GB81462@breton.holly.idiocy.org> <9e1f0f34-ec8e-b399-8344-5f1aeb03dfaf@lostca.se> <20200401185307.GB83597@breton.holly.idiocy.org> <07ff9665-2dc5-7071-14b5-6357b7a705c9@lostca.se> <20200411132925.GA77949@breton.holly.idiocy.org> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="31265"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39883@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 12 08:25:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jNW3M-000806-MM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Apr 2020 08:25:12 +0200 Original-Received: from localhost ([::1]:59240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNW3L-0007FC-PM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Apr 2020 02:25:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59857) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNW3E-0007F5-5F for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 02:25:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNW3C-0007sk-NJ for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 02:25:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45764) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNW3C-0007sg-JG for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 02:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jNW3C-0004JG-Cq for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 02:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ashish SHUKLA Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Apr 2020 06:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39883 X-GNU-PR-Package: emacs Original-Received: via spool by 39883-submit@debbugs.gnu.org id=B39883.158667270016555 (code B ref 39883); Sun, 12 Apr 2020 06:25:02 +0000 Original-Received: (at 39883) by debbugs.gnu.org; 12 Apr 2020 06:25:00 +0000 Original-Received: from localhost ([127.0.0.1]:57310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNW3A-0004Ix-5F for submit@debbugs.gnu.org; Sun, 12 Apr 2020 02:25:00 -0400 Original-Received: from aloka.lostca.se ([178.63.46.202]:43258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNW37-0004Io-Tp for 39883@debbugs.gnu.org; Sun, 12 Apr 2020 02:24:59 -0400 Original-Received: from aloka.lostca.se (aloka [127.0.0.1]) by aloka.lostca.se (Postfix) with ESMTP id 48B2E13704; Sun, 12 Apr 2020 06:24:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=lostca.se; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=howrah; bh=kmfAnRyEvR+shHtWOo3LBEva67M=; b=jmOjHXugiK9Rwu7j9A7ZGsslZfbr 5dY5kTz9ihW+DboidUwgQxgEkn7dhXNgDsT+fJbYYAoFuygQnkReowI67HZ1Ai0R LGOrYXuMj/BYhPCn9pQAGlym9zsiOkAwDTJMFUMhUGZ49w14/VZGDIn66iLR9J00 +Y+eU4wz1Afrggs= Original-Received: from [172.16.0.15] (unknown [120.57.113.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aloka.lostca.se (Postfix) with ESMTPSA id A8D5613703; Sun, 12 Apr 2020 06:24:55 +0000 (UTC) In-Reply-To: <20200411132925.GA77949@breton.holly.idiocy.org> X-Mailer: Apple Mail (2.3608.80.23.2.2) 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178221 Archived-At: On Apr 11, 2020, at 18:59, Alan Third wrote: >=20 > On Thu, Apr 02, 2020 at 11:49:45AM +0530, Ashish SHUKLA wrote: >> On 4/2/20 12:23 AM, Alan Third wrote: >>>=20 >>> It=E2=80=99s quite possible we=E2=80=99ll need to provide some sort = of option to force >>> this, or to do run=E2=80=90time feature detection. I don=E2=80=99t = much fancy trying >>> to code up the runtime detection for this feature, but if we need it >>> we need it. >>=20 >> That definitely seems more foolproof. Let me know if you like me to = test >> your diff. >=20 > Can you please try the attached patches? The fix for this is built on > the one for fixing frame resizing. Ultimately they should both end up > on master, so I didn=E2=80=99t want to make separate branches and have = to > rework them later. >=20 > You may have to set this CFLAG to enable the changes: >=20 > -DMAC_OS_X_VERSION_MAX_ALLOWED=3D101500 > --=20 > Alan Third > = <0001-Allow-dynamic-choice-of-drawing-path-on-NS-bug-39883.patch> Hi Without setting CFLAGS following error occurred: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D CC image.o CC json.o CC nsterm.o CC nsfns.o CC nsmenu.o CC nsselect.o CC nsimage.o CC macfont.o CC terminfo.o CC lastfile.o nsterm.m:6300:21: error: use of undeclared identifier 'drawingBuffer' CGContextRelease (drawingBuffer); ^ 1 error generated. make[1]: *** [Makefile:404: nsterm.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory = '/private/tmp/nix-build-emacs-git-20200412.0.drv-0/source/src' make: *** [Makefile:424: src] Error 2 builder for = '/nix/store/ipkfwl0i5xq2006g1j04nsh510y8snvn-emacs-git-20200412.0.drv' = failed with exit code 2 cannot build derivation = '/nix/store/0rq2gm9527ynz2f97xmlx4wpk5hpkly7-emacs-git-with-packages-20200= 412.0.drv': 1 dependencies couldn't be built cannot build derivation = '/nix/store/qkiy84nhzmzkkpkz9ayh6fivy1lp8s9j-hm_.configzsh.zshrc.drv': 1 = dependencies couldn't be built cannot build derivation = '/nix/store/qz9gbgh031nlih9knmcbh8dk8g7c85q1-home-manager-files.drv': 1 = dependencies couldn't be built =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D With CFLAGS set: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1 warning generated. CC lastfile.o In file included from :360: :4:9: warning: 'MAC_OS_X_VERSION_MAX_ALLOWED' macro = redefined [-Wmacro-redefined] #define MAC_OS_X_VERSION_MAX_ALLOWED 101500 ^ :3:9: note: previous definition is here #define MAC_OS_X_VERSION_MAX_ALLOWED 101200 ^ nsterm.m:1148:8: error: use of undeclared identifier 'self' if ([self wantsUpdateLayer]) ^ nsterm.m:1185:8: error: use of undeclared identifier 'self' if ([self wantsUpdateLayer]) ^ nsterm.m:1234:12: error: use of undeclared identifier 'self' if ([self wantsUpdateLayer]) ^ 1 warning generated. nsterm.m:1294:8: error: use of undeclared identifier 'self' if ([self wantsUpdateLayer]) 111 ^ warning warning warning generated generated generated1. . . 1 warning generated warning. generated. 1 warning generated. 1 warning and 4 errors generated. make[1]: *** [Makefile:404: nsterm.o] Error 1 make[1]: Leaving directory = '/private/tmp/nix-build-emacs-git-20200412.0.drv-0/source/src' make: *** [Makefile:424: src] Error 2 builder for = '/nix/store/xf0x6mcjm6v4wn5zy0hnaicln7ipl9xc-emacs-git-20200412.0.drv' = failed with exit code 2 cannot build derivation = '/nix/store/hxcxbsby3vyf9apiq3zn9qvbjznz9bs5-emacs-git-with-packages-20200= 412.0.drv': 1 dependencies couldn't be built =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The warning message "'MAC_OS_X_VERSION_MAX_ALLOWED' macro redefined=E2=80=9D= was emitted during compilation of every file. FTR, I tested it with 43282a67[1]. References: [1] = https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D43282a67726302752= 59dbc7560913c07f72eb06e Thanks! -- Ashish | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 =E2=80=9CSometimes even to live is an act of courage.=E2=80=9D (Seneca)