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: Wed, 25 May 2022 19:39:41 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002a9eab05dfe0443d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3873"; 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 Thu May 26 03:41:15 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 1nu2V0-0000ro-QI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 May 2022 03:41:14 +0200 Original-Received: from localhost ([::1]:45862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nu2Uz-0004o0-Gh for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 21:41:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nu2Uo-0004mJ-N3 for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 21:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nu2Uo-0008VS-EY for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 21:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nu2Uo-0007O7-2b for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 21:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chris Bernard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 May 2022 01:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 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.165352920428300 (code B ref -1); Thu, 26 May 2022 01:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 May 2022 01:40:04 +0000 Original-Received: from localhost ([127.0.0.1]:56729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nu2Tq-0007M1-81 for submit@debbugs.gnu.org; Wed, 25 May 2022 21:40:03 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:53092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nu2To-0007LS-3V for submit@debbugs.gnu.org; Wed, 25 May 2022 21:40:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nu2Tn-0004Ic-TN for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 21:39:59 -0400 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:33523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nu2Ti-00087L-Vq for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 21:39:57 -0400 Original-Received: by mail-pj1-x1032.google.com with SMTP id fw21-20020a17090b129500b001df9f62edd6so5116726pjb.0 for ; Wed, 25 May 2022 18:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=W4bpLk99dTMkkX2kA5HzHfx/E4ehC5WzeOMcRIwnhDo=; b=gBbMx+EKmE1LyatNnk3WCdTcCXuw2+FivU0IUbr0LLeRgzo7NcHZPK6TtvtMM1tQDG yBmar3W22KgEYu4WMCathVQmvCzpphd4A/NcqxJoJIuNJawZVOw74M2/NEC1cY3Db52P AONvJ6TuCiqoAq6Dk3ldtaZBaCGgtRQXOUL0BhyD3pUz9VoSci4G8IIj7cGE0ZFc26wg ayUoUALfpKfMYILyEnn4Ji+URoloIZZPNM6OYPjYlWGnz+p2Hu6LYgW5K/VwR0GgLuHo LQTvgARfW6+XtTOAvlwq/rDzgIKOeIXCuJ16WgT/IP20HFYFW6gQdLPxBqk/cnVpqqao 8Jmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=W4bpLk99dTMkkX2kA5HzHfx/E4ehC5WzeOMcRIwnhDo=; b=lTzUE5Q6u8yzB/kJyoDZayCL0ZyheJNVfpdvfxGxMHSenQeCJmWYGaKJK4liXixEHk 65ZlprALJZKiKYoIedb6BPuYIp9o4IKMxrOayX2C6hWS/60ShnZt1/fE2VQykGPLs18I I1vkMnkMVZcvHbA0DphjewTxxbqvWAqcpeNppBUUI5pmRT5CC8I2ef7t+HZvhjvieYqs Dkj2AaNjADFc1koYA3ZTKcdIN7S6vUQgrQXdKNwcP36+Q8sIG1g1pAffFAJ9zRlsNa8y nD0VkTVKsjz4Mzuz1VzrsVXo+OB3tci+yZy+sV0bmnwK/Vj5yQWRL2EFpAwNVwmhDK80 G4EA== X-Gm-Message-State: AOAM5308hPacc50gipLAEH+myX5G0JhWCqg41iTeeVRd6m1LPeo5JM84 8fjbXoIFC71ydYyuElcuEsyOPG6mIkksbe1FECw0WFrY9ZE= X-Google-Smtp-Source: ABdhPJzHRwM313YDi3TKph3f8Sb8MD8rXL97oYdigN2e4rVNfkQ7yIvGERPQ5LLEw9Cfe4+YW8Gqyj3LHP8medGYjkg= X-Received: by 2002:a17:902:8687:b0:161:f0ac:723a with SMTP id g7-20020a170902868700b00161f0ac723amr29253951plo.128.1653529192864; Wed, 25 May 2022 18:39:52 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=cebernard@gmail.com; helo=mail-pj1-x1032.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-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:233086 Archived-At: --0000000000002a9eab05dfe0443d Content-Type: text/plain; charset="UTF-8" Update to this bug (#55630) It's fixed for me by simply upgrading emacs to 28.1 Sorry! I should have upgraded emacs first. You can close this. On Tue, May 24, 2022 at 10:18 PM Chris Bernard wrote: > > 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)) > --0000000000002a9eab05dfe0443d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Update to this bug (#55630)

It's fixed for me by simply upgrading emacs to = 28.1

Sorry! I should have upgraded emacs firs= t. You can close this.

On Tue, May 24, 2022 at 10:18 PM Chris Bernard &l= t;cebernard@gmail.com> wrote:=
=C2=A0
Summary: When I save a frameset config to a register and then r= estore
that registered frameset, the bar(s) at the top of the MacOS wind= ows (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
'$ bre= w cask install emacs'.

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

2. Ope= n the emacs app. Notice the OS window bar at the top is dark colored, like<= br>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(resto= re 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= ))
=C2=A0of 2021-11-18 built on builder10-14.lan
Windowing system dis= tributor 'Apple', version 10.3.2113
System Description: =C2=A0ma= cOS 12.3

Recent messages:
Composing main Info directory...doneQuit
funcall-interactively: Beginning of buffer [7 times]
Mark setMark saved where search started [2 times]
C-? is undefined
Quit [3 = times]
C-x r j runs the command jump-to-register
Quit
Making compl= etion list...

Configured using:
=C2=A0'configure --with-ns &#= 39;--enable-locallisppath=3D/Library/Application
=C2=A0Support/Emacs/${v= ersion}/site-lisp:/Library/Application
=C2=A0Support/Emacs/site-lisp'= ; --with-modules'

Configured features:
NOTIFY KQUEUE ACL GNUT= LS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
THREADS JSON PDUMPER GMP<= br>
Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 = locale-coding-system: utf-8-unix

Major mode: Text

Minor modes= in effect:
=C2=A0 projectile-mode: t
=C2=A0 winner-mode: t
=C2=A0= yas-global-mode: t
=C2=A0 yas-minor-mode: t
=C2=A0 override-global-m= ode: t
=C2=A0 show-paren-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 glo= bal-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-m= ode: 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-composition-mode: t<= br>=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-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
mis= earch 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 c= onfig alchemist alchemist-macroexpand alchemist-company
alchemist-help a= lchemist-complete company-dabbrev-code company-dabbrev
alchemist-refcard= alchemist-phoenix alchemist-compile alchemist-iex
alchemist-message alc= hemist-hooks alchemist-hex alchemist-mix
alchemist-info alchemist-goto a= lchemist-scope alchemist-eval
alchemist-interact alchemist-server alchem= ist-execute alchemist-report
alchemist-test-mode alchemist-project alche= mist-file alchemist-key
alchemist-utils s elixir-mode elixir-format pkg-= info url-http url
url-proxy url-privacy url-expand url-methods url-histo= ry mailcap
url-auth mail-parse rfc2231 url-cookie url-domsuf url-util ur= l-gw nsm
rmc puny lisp-mnt epl elixir-smie smie company pcase flymake-co= nf
flymake-proc flymake warnings moccur-conf moccur-edit color-moccurproject-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-pcompl= ete 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-com= pat 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 se= ndmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils reporter= projectile grep compile ibuf-ext ibuffer
ibuffer-loaddefs thingatpt win= ner exec-path-from-shell unfill
yasnippet-snippets yasnippet erlang etag= s fileloop generator xref
project tempo comint ansi-color ring align edm= acro dired-subtree
dired-hacks-utils dired dired-loaddefs dash cl-extra = help-mode delight
diminish functions kmacro use-package use-package-ensu= re
use-package-delight use-package-diminish use-package-bind-key bind-ke= y
easy-mmode use-package-core finder-inf paren cus-start cus-load infopackage easymenu browse-url url-handlers url-parse auth-source cl-seq
= eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
u= rl-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
t= ooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwhee= l term/ns-win ns-win ucs-normalize mule-util term/common-win
tool-bar dn= d 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 geor= gian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean ja= panese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethi= opic indian cyrillic chinese
composite charscript charprop case-table ep= a-hook jka-cmpr-hook help
simple abbrev obarray cl-preloaded nadvice loa= ddefs button faces
cus-face macroexp files text-properties overlay sha1 = md5 base64 format
env code-pages mule custom widget hashtable-print-read= able backquote
threads kqueue cocoa ns multi-tty make-network-process em= acs)

Memory information:
((conses 16 478350 26028)
=C2=A0(symb= ols 48 28272 1)
=C2=A0(strings 32 137496 10746)
=C2=A0(string-bytes 1= 3628543)
=C2=A0(vectors 16 38570)
=C2=A0(vector-slots 8 465337 49918= )
=C2=A0(floats 8 221 173)
=C2=A0(intervals 56 4743 0)
=C2=A0(buff= ers 1000 13))
--0000000000002a9eab05dfe0443d--