From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#59184: 29.0.50; customization of faces has to be re-done for each new frame Date: Thu, 10 Nov 2022 14:17:34 -0500 Message-ID: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10777"; mail-complaints-to="usenet@ciao.gmane.io" To: 59184@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 10 20:18:25 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 1otD4D-0002Zy-4O for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Nov 2022 20:18:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otD3s-0000pq-N2; Thu, 10 Nov 2022 14:18:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otD3r-0000pW-LR for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2022 14:18:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otD3q-0006nz-Jx for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2022 14:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1otD3q-0001J0-1H for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2022 14:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Nov 2022 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59184 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.16681078654994 (code B ref -1); Thu, 10 Nov 2022 19:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Nov 2022 19:17:45 +0000 Original-Received: from localhost ([127.0.0.1]:44408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otD3Y-0001IT-Lu for submit@debbugs.gnu.org; Thu, 10 Nov 2022 14:17:45 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:41368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otD3W-0001IK-0C for submit@debbugs.gnu.org; Thu, 10 Nov 2022 14:17:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otD3V-0000oI-Fb for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2022 14:17:41 -0500 Original-Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otD3S-0006Lb-S7; Thu, 10 Nov 2022 14:17:41 -0500 Original-Received: by mail-qv1-xf35.google.com with SMTP id o8so2099354qvw.5; Thu, 10 Nov 2022 11:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:reply-to:return-receipt-to:subject:to :from:sender:from:to:cc:subject:date:message-id:reply-to; bh=lUGmnkxRanD3KMUF/0F4pDexNFeyEytsdnveCLPHT0Q=; b=UY17ltbSph6rC5NP44Bijl5XGE9OCx+cGOZ7rT1ag8d9rmZkWFfhtlMCdPtdx/p4ay M+w2XG/YPXTqRbcXCSfo+YZ3KrM6nAcE5gWUzMa9WA3ytgXT6aDfMlfpAwJdsH0RjiC9 cDHr0i/MFs/1LMxUpuHaj29HYXoF9eJ7HqAGFseEbmvn2jTZYskQQMJtKZiXsaXMPBIb 4VTXEeP5HbeAYdd1BoP1krDD78ZShJwdU5O11LWqXkcjav4NxIA8FDMo0J9O9nw4lCaq 5bqyPlyGuNxYgoM0EMJAK1h6ReoY1JjCFItHxvYcgNbpdKXdXBGtgxJ/7ME7LTMu1HIi 44UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:reply-to:return-receipt-to:subject:to :from:sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lUGmnkxRanD3KMUF/0F4pDexNFeyEytsdnveCLPHT0Q=; b=ORu7YZDcWU4Zc9GrYMxri/LGajpq9E875mjfmTxZbL/JqKYQgTEdNYjxlOz1+AmF+I uTaIVGPN4NF192VCj+5ZDu6rx8bKJQTljT5OgCXHvoERGNI9FtxJV4yMXRhsSIv6se0X 9drbqql/+JReACfI0nIk4ItbCI4dKRohkRXm5NNtYcyvH8zqU0ISLZVgxyBkMgxleI1n 3UwLaw6baLDHt6PJquxoxQY8G1V9+TShUx5IU+bwjiHYQdRxg+z14RZ9YvnV/Zctcay4 ETIRUGB+TRy32t8mkezxfQrPk9LbtDHB4TJbzVwKp4pg8q99R6qWU8/qbiqZbnrT4PKW dsPg== X-Gm-Message-State: ACrzQf0wEH1NwwOfXex/N+M/lO0uJ8bQIIcsf7ehNieUEO+3B+3OCbF2 uv+kxJyqKoA4qcWaIeayVD/Mf+aCzA== X-Google-Smtp-Source: AMsMyM7sqQywDfh+4aFUFOs0TPb/lMcOi78nOLGEJ+8CKx3lTvD1joRUkUKT6TbRP8R3Xm5C0Xd/zA== X-Received: by 2002:a05:6214:cac:b0:4bb:5477:c24d with SMTP id s12-20020a0562140cac00b004bb5477c24dmr60652521qvs.116.1668107856167; Thu, 10 Nov 2022 11:17:36 -0800 (PST) Original-Received: from 3c22fb11fdab.ant.amazon.com ([15.248.0.40]) by smtp.gmail.com with ESMTPSA id ay13-20020a05620a178d00b006b929a56a2bsm110982qkb.3.2022.11.10.11.17.35 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Nov 2022 11:17:35 -0800 (PST) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Received-SPF: pass client-ip=2607:f8b0:4864:20::f35; envelope-from=sam.steingold@gmail.com; helo=mail-qv1-xf35.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247540 Archived-At: Save the following into test.el --8<---------------cut here---------------start------------->8--- (custom-set-variables '(custom-enabled-themes '(modus-vivendi))) (custom-set-faces '(fringe ((((class color) (background dark)) (:background "gold"))))) --8<---------------cut here---------------end--------------->8--- and run `emacs -Q -l test.el` The screen is dark (because of the dark theme) and the fringes are gold (because of the face customization). Now C-x 5 2 (make-frame-command) creates a new frame which is also dark, as expected, but the fringes a no longer gold - they are dark gray as per the theme. If I re-evaluate the `custom-set-faces' form in the original frame (where the fringes are already gold), the fringes in the new frame become gold also. However, a new `make-frame-command' creates a frame with gray fringes. This does _not_ happen without `custom-enabled-themes'. Apparently, the theme overrides my customizations. I hope this is not intentional: "50.1.7 Custom Themes" says: > Any customizations that you make through the customization buffer > take precedence over theme settings Thank you. -Sam. In GNU Emacs 29.0.50 (build 2, x86_64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.1 (Build 21G217)) of 2022-11-07 built on 3c22fb11fdab.ant.amazon.com Repository revision: d04433b96215d7d3387573f19cc315de86f2341a Repository branch: master Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6.1 Configured using: 'configure --with-imagemagick --with-mailutils --with-ns PKG_CONFIG_PATH=' Configured features: ACL GIF GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM ZLIB Important settings: value of $LANG: C locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: pyvenv-mode: t flyspell-mode: t display-fill-column-indicator-mode: t shell-dirtrack-mode: t global-edit-server-edit-mode: t winner-mode: t which-function-mode: t url-handler-mode: t desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t auto-fill-function: yas--auto-fill transient-mark-mode: (only) auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow emacsbug quail edmacro kmacro nndoc inf-lisp tabify url-http url-gw url-cache url-auth clhs smtpmail rot13 bbdb-message mailalias cookie1 markdown-mode cal-move org-element avl-tree ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view filenotify jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol org-keys oc org-compat org-macs org-loaddefs cal-x cal-china cal-bahai cal-islam holidays holiday-loaddefs bbdb-anniv cal-iso cal-hebrew lunar cal-julian solar cal-dst appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs flow-fill descr-text dash company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-template company-cmake company-bbdb yasnippet-snippets yasnippet flymake-proc flymake company-capf company elpy elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util elpy-shell elpy-profile elpy-django s elpy-refactor ido hideshow grep etags fileloop generator xref python project compat compat-macs view dired-aux package log-edit noutline outline mhtml-mode css-mode eww xdg url-queue thingatpt mm-url color js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode facemenu mm-archive sort smiley gnus-cite textsec uni-scripts idna-mapping uni-confusable textsec-check gnus-bcklg qp gnus-async gnus-dup mail-extr gnus-ml hl-line disp-table spam spam-stat gnus-uu yenc nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig utf-7 gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg dom browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util bbdb-gnus gnutls network-stream nsm nntp gnus-group gnus-undo cl-print tramp-cmds gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message sendmail mailcap yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums gmm-utils mailheader gnus-win misearch multi-isearch bug-reference shortdoc help-fns radix-tree apropos dabbrev skeleton smerge-mode diff vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view pcvs-util vc-dir ewoc vc add-log vc-hg vc-bzr tramp-cache time-stamp tramp-sh tramp tramp-loaddefs trampver tramp-integration cus-start files-x tramp-compat rx parse-time iso8601 ls-lisp format-spec remember cl-extra sh-script smie executable flyspell ispell display-fill-column-indicator tex-mode compile shell pcomplete comint ansi-osc ansi-color vc-git diff-mode easy-mmode vc-dispatcher midnight dired dired-loaddefs cus-edit pp warnings icons gnus nnheader gnus-util text-property-search time-date mail-utils range mm-util mail-prsvr wid-edit bbdb-mua bbdb-com crm mailabbrev bbdb bbdb-site timezone modus-vivendi-theme modus-themes pcase edit-server advice server winner ring which-func imenu edebug debug backtrace help-mode find-func url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars help-at-pt desktop frameset cl-loaddefs cl-lib cus-load info fb2-reader-autoloads async-autoloads f-autoloads ein-autoloads bbdb-autoloads yaml-mode-autoloads dash-autoloads with-editor-autoloads yasnippet-snippets-autoloads compat-autoloads markdown-mode-autoloads websearch-autoloads elpy-autoloads s-autoloads company-autoloads polymode-autoloads edit-server-autoloads request-autoloads rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 850919 173155) (symbols 48 55886 11) (strings 32 356317 55890) (string-bytes 1 8996090) (vectors 16 120399) (vector-slots 8 2935659 221812) (floats 8 1387 1239) (intervals 56 26070 5188) (buffers 984 70)) -- Sam Steingold (https://aphar.dreamwidth.org/) on darwin Ns 10.3.2113 https://lastingimpactpsychology.com https://steingoldpsychology.com https://mideasttruth.com https://thereligionofpeace.com https://jihadwatch.org Never succeed from the first try - if you do, nobody will think it was hard.