From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Chris Bernard Newsgroups: gmane.emacs.bugs Subject: bug#55630: 27.2; Jump-to-register restoring frame config doesn't honor MacOS dark theme Date: Tue, 24 May 2022 22:18:26 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001a263e05dfce5e2f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27567"; mail-complaints-to="usenet@ciao.gmane.io" To: 55630@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 25 16:12:58 2022 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 1ntrkw-0006r8-0e for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 16:12:58 +0200 Original-Received: from localhost ([::1]:34270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntrku-0005zk-J5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 10:12:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntrcI-00036E-Ar for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 10:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntrcI-00071n-0l for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 10:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ntrcH-0008KP-Om for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 10:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chris Bernard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 May 2022 14:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55630 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165348741031937 (code B ref -1); Wed, 25 May 2022 14:04:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 May 2022 14:03:30 +0000 Original-Received: from localhost ([127.0.0.1]:56133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntrbm-0008J2-1l for submit@debbugs.gnu.org; Wed, 25 May 2022 10:03:30 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:59350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntiTr-0006bH-N3 for submit@debbugs.gnu.org; Wed, 25 May 2022 00:18:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntiTr-0006vl-Gm for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 00:18:43 -0400 Original-Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:39660) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntiTp-0000de-0s for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 00:18:43 -0400 Original-Received: by mail-pg1-x530.google.com with SMTP id t28so10333083pga.6 for ; Tue, 24 May 2022 21:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=kUEhtJLH0X+tNhk6X7JgmavBxXF5I+WzxH4cV2+e5Zk=; b=YI6FnI/TUUSIE03mdZVzAMt2IgWRLMByiHkE7WiI3W1z4nTAl+ioUleGCskZf65S8E jWKoviCoWVDhwNTlAnjgqgtCmkSNcP9Acu5OfGbA6BIl2N2sSwCVOBbH0QrxlUqiXHKO v0C/58daJRuyTkh2H/O3bunN3qHTafXDin9QfsygiGhyrcd4DATNI95WK4g3TSq80j7d lBP5y5BnRcZvfKB88IQOvblA37sDnsrd78VldtwAB3yMR5HySOpEBHBflKco0lzEnd7L XxfqdHHqfW7hxVrcLb8X6vxr9ut4uYiiRt4PM8ZFTveJQ4HlfxrZ0DMGNhT5jmjnwj5M 8hGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kUEhtJLH0X+tNhk6X7JgmavBxXF5I+WzxH4cV2+e5Zk=; b=kntiywQctGey9CEbXa4Ad5TO8qVW7qOoFktkZbqYCT7FRqGH4ZlTSGaDcEgfphek0x aYCH8Wkvr71B/mfuLd4umFaygjmSN/PrHP/RY7Ey+8zIhV1FGtVMnbUdODpVYvvyJt7v bQIW1taLX4EiDg+3jz+adNvT4a/dHrBoX2YQB+D5cPe/5nEt2t43PiFMY0pi8KYOBgd+ fi1LDzohShAJbofC56mIcZKfh6ZuAlt+J3BypX/ru70b4V4S+UTVWQVHeJTqfdV8HOwL F/hXDey5ijnwf6PjjhgAbCLyu/TCEhssHYKRWN932yc76rP6q5fUr+VgIsMvu7OFhLVU sBsg== X-Gm-Message-State: AOAM532VBQpQbFUH2H+4V18yFOt8Uwb/6P+8YqXPwc6npqPmANHixlsV hadzvNwIIuv0Ip4SKE0oH22GjMpy2YuJkJWQZdrg36zGwbA= X-Google-Smtp-Source: ABdhPJyG1+TGxVli1oGjfDEZo6eT5//aaWu9TI3kUW4WDlg6yzLmmxazPqwnfxzoC5RawKDtl/T1StQAONvb/A27OuU= X-Received: by 2002:a62:ed0b:0:b0:505:7675:1119 with SMTP id u11-20020a62ed0b000000b0050576751119mr32396880pfh.4.1653452318580; Tue, 24 May 2022 21:18:38 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=cebernard@gmail.com; helo=mail-pg1-x530.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 25 May 2022 10:03:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:233063 Archived-At: --0000000000001a263e05dfce5e2f Content-Type: text/plain; charset="UTF-8" Summary: When I save a frameset config to a register and then restore that registered frameset, the bar(s) at the top of the MacOS windows (emacs frame(s)) are light despite the MacOS theme being set to dark. (Thanks for taking a look!) To reproduce: 0. On MacOS 12.3, use the 'brew' package manager to install emacs with '$ brew cask install emacs'. 1. Set OS appearance to 'Dark' (System Preferences > General > Appearance > Dark) 2. Open the emacs app. Notice the OS window bar at the top is dark colored, like all the other Mac app windows, as expected. 3. In emacs, C-x r f a (save the frameset) 4. Then in emacs, C-x r j a (restore the saved frameset) 5. Notice the problem: now the OS window bar at the top (top of emacs frame) is light colored when it should still be dark colored. In GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2021-11-18 built on builder10-14.lan Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.3 Recent messages: Composing main Info directory...done Quit funcall-interactively: Beginning of buffer [7 times] Mark set Mark saved where search started [2 times] C-? is undefined Quit [3 times] C-x r j runs the command jump-to-register Quit Making completion list... Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: projectile-mode: t winner-mode: t yas-global-mode: t yas-minor-mode: t override-global-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr help-fns radix-tree jka-compr magit-utils crm misearch multi-isearch emacsbug message rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader init key-bindings config alchemist alchemist-macroexpand alchemist-company alchemist-help alchemist-complete company-dabbrev-code company-dabbrev alchemist-refcard alchemist-phoenix alchemist-compile alchemist-iex alchemist-message alchemist-hooks alchemist-hex alchemist-mix alchemist-info alchemist-goto alchemist-scope alchemist-eval alchemist-interact alchemist-server alchemist-execute alchemist-report alchemist-test-mode alchemist-project alchemist-file alchemist-key alchemist-utils s elixir-mode elixir-format pkg-info url-http url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 url-cookie url-domsuf url-util url-gw nsm rmc puny lisp-mnt epl elixir-smie smie company pcase flymake-conf flymake-proc flymake warnings moccur-conf moccur-edit color-moccur project-list ido-conf ido org-conf org-clock org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities time-date noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs color-conf color-theme-ceb-dark color-theme wid-edit cl sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils reporter projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs thingatpt winner exec-path-from-shell unfill yasnippet-snippets yasnippet erlang etags fileloop generator xref project tempo comint ansi-color ring align edmacro dired-subtree dired-hacks-utils dired dired-loaddefs dash cl-extra help-mode delight diminish functions kmacro use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf paren cus-start cus-load info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 478350 26028) (symbols 48 28272 1) (strings 32 137496 10746) (string-bytes 1 3628543) (vectors 16 38570) (vector-slots 8 465337 49918) (floats 8 221 173) (intervals 56 4743 0) (buffers 1000 13)) --0000000000001a263e05dfce5e2f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0
Summary: When I save a frameset config to a regi= ster and then restore
that registered frameset, the bar(s) at the top of= the MacOS windows (emacs frame(s))
are light despite the MacOS theme be= ing set to dark. (Thanks for taking a look!)

To reproduce:

0.= On MacOS 12.3, use the 'brew' package manager to install emacs wit= h
'$ brew cask install emacs'.

1. Set OS appearance to &= #39;Dark' (System Preferences > General >
Appearance > Dark= )

2. Open the emacs app. Notice the OS window bar at the top is dark= colored, like
all the other Mac app windows, as expected.

3. In = emacs, C-x r f a =C2=A0(save the frameset)

4. Then in emacs, C-x r j= a =C2=A0(restore the saved frameset)

5. Notice the problem: now the= OS window bar at the top (top of emacs
frame) is light colored when it = should still be dark colored.


In GNU Emac= s 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14= .6 (Build 18G95))
=C2=A0of 2021-11-18 built on builder10-14.lan
Windo= wing system distributor 'Apple', version 10.3.2113
System Descri= ption: =C2=A0macOS 12.3

Recent messages:
Composing main Info dire= ctory...done
Quit
funcall-interactively: Beginning of buffer [7 times= ]
Mark set
Mark saved where search started [2 times]
C-? is undefi= ned
Quit [3 times]
C-x r j runs the command jump-to-register
Quit<= br>Making completion list...

Configured using:
=C2=A0'configu= re --with-ns '--enable-locallisppath=3D/Library/Application
=C2=A0Su= pport/Emacs/${version}/site-lisp:/Library/Application
=C2=A0Support/Emac= s/site-lisp' --with-modules'

Configured features:
NOTIFY = KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
THREADS JS= ON PDUMPER GMP

Important settings:
=C2=A0 value of $LANG: en_US.U= TF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Text
=
Minor modes in effect:
=C2=A0 projectile-mode: t
=C2=A0 winner-mo= de: t
=C2=A0 yas-global-mode: t
=C2=A0 yas-minor-mode: t
=C2=A0 ov= erride-global-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 tooltip-mode: = t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2= =A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode:= t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-com= position-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compressi= on-mode: t
=C2=A0 column-number-mode: t
=C2=A0 line-number-mode: t=C2=A0 transient-mark-mode: t

Load-path shadows:
None found.
=
Features:
(shadow sort mail-extr help-fns radix-tree jka-compr magit= -utils crm
misearch multi-isearch emacsbug message rfc822 mml mml-sec ep= a derived
epg epg-config gnus-util rmail rmail-loaddefs text-property-se= arch
mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader init<= br>key-bindings config alchemist alchemist-macroexpand alchemist-companyalchemist-help alchemist-complete company-dabbrev-code company-dabbrev
= alchemist-refcard alchemist-phoenix alchemist-compile alchemist-iex
alch= emist-message alchemist-hooks alchemist-hex alchemist-mix
alchemist-info= alchemist-goto alchemist-scope alchemist-eval
alchemist-interact alchem= ist-server alchemist-execute alchemist-report
alchemist-test-mode alchem= ist-project alchemist-file alchemist-key
alchemist-utils s elixir-mode e= lixir-format pkg-info url-http url
url-proxy url-privacy url-expand url-= methods url-history mailcap
url-auth mail-parse rfc2231 url-cookie url-d= omsuf url-util url-gw nsm
rmc puny lisp-mnt epl elixir-smie smie company= pcase flymake-conf
flymake-proc flymake warnings moccur-conf moccur-edi= t color-moccur
project-list ido-conf ido org-conf org-clock org ob ob-ta= ngle ob-ref
ob-lob ob-table ob-exp org-macro org-footnote org-src ob-com= int
org-pcomplete pcomplete org-list org-faces org-entities time-datenoutline outline org-version ob-emacs-lisp ob-core ob-eval org-table olorg-keys org-compat advice org-macs org-loaddefs format-spec find-func
= cal-menu calendar cal-loaddefs color-conf color-theme-ceb-dark
color-the= me wid-edit cl sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr ma= il-utils reporter projectile grep compile ibuf-ext ibuffer
ibuffer-loadd= efs thingatpt winner exec-path-from-shell unfill
yasnippet-snippets yasn= ippet erlang etags fileloop generator xref
project tempo comint ansi-col= or ring align edmacro dired-subtree
dired-hacks-utils dired dired-loadde= fs dash cl-extra help-mode delight
diminish functions kmacro use-package= use-package-ensure
use-package-delight use-package-diminish use-package= -bind-key bind-key
easy-mmode use-package-core finder-inf paren cus-star= t cus-load info
package easymenu browse-url url-handlers url-parse auth-= source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache jso= n subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loa= ddefs cl-lib
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-fl= oat-type
mwheel term/ns-win ns-win ucs-normalize mule-util term/common-w= in
tool-bar dnd fontset image regexp-opt fringe tabulated-list replacenewcomment text-mode elisp-mode lisp-mode prog-mode register page
tab-= bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse
jit-lock = font-lock syntax facemenu font-core term/tty-colors frame
minibuffer cl-= generic cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-v= iet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak cz= ech european ethiopic indian cyrillic chinese
composite charscript charp= rop case-table epa-hook jka-cmpr-hook help
simple abbrev obarray cl-prel= oaded nadvice loaddefs button faces
cus-face macroexp files text-propert= ies overlay sha1 md5 base64 format
env code-pages mule custom widget has= htable-print-readable backquote
threads kqueue cocoa ns multi-tty make-n= etwork-process emacs)

Memory information:
((conses 16 478350 2602= 8)
=C2=A0(symbols 48 28272 1)
=C2=A0(strings 32 137496 10746)
=C2= =A0(string-bytes 1 3628543)
=C2=A0(vectors 16 38570)
=C2=A0(vector-sl= ots 8 465337 49918)
=C2=A0(floats 8 221 173)
=C2=A0(intervals 56 4743= 0)
=C2=A0(buffers 1000 13))
--0000000000001a263e05dfce5e2f--