From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Y. E." via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50491: 28.0.50; load-theme in early-init does not fully loads/enables expected faces Date: Thu, 09 Sep 2021 22:19:06 +0300 Message-ID: Reply-To: "Y. E." Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28499"; mail-complaints-to="usenet@ciao.gmane.io" To: 50491@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 09 21:36:13 2021 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 1mOPqG-00078f-EC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 21:36:12 +0200 Original-Received: from localhost ([::1]:39192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOPqE-00074z-Cd for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 15:36:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOPq6-00074Z-Nn for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 15:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52984) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOPq6-000719-GP for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 15:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOPq6-00063Y-1z for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 15:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Y. E." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Sep 2021 19:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50491 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.163121610223197 (code B ref -1); Thu, 09 Sep 2021 19:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Sep 2021 19:35:02 +0000 Original-Received: from localhost ([127.0.0.1]:36297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOPp7-00061t-FX for submit@debbugs.gnu.org; Thu, 09 Sep 2021 15:35:02 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOPZq-0005du-4U for submit@debbugs.gnu.org; Thu, 09 Sep 2021 15:19:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOPZp-0007Zg-VQ for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 15:19:13 -0400 Original-Received: from out2.migadu.com ([2001:41d0:2:aacc::]:57394) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOPZn-0003bE-3L for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 15:19:13 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ego.team; s=key1; t=1631215147; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=gWNuqFiN+7hsPH8bq/LHen2gl/cw45EXyuOl8c2C9/k=; b=E4VKrVJTwbiUHfjnnyOYoZx7haYPFlXALLPT9X+qk9e7bmA0kE9TmceeQLZKrpFDoeoV+W 7+FvcGqqGC/fLl93c1nCtPP/mXO/U9OwPmeKXcxpDqC6uNnDYvdQ66pFbOpEY1WKPupFEd o3EgohWBQ2mrm3nrer9KlnM6/UYEx9A= X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: yuga@ego.team Received-SPF: pass client-ip=2001:41d0:2:aacc::; envelope-from=yet@ego.team; helo=out2.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 09 Sep 2021 15:35:00 -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:213946 Archived-At: Hello, I've been using (load-theme 'misterioso t) in early-init.el successfully up until around one month ago. After that, I had to start calling load-theme for the second time in init.el to fix appearance of wrong faces. **How to Reproduce** 1. Backup `~/.emacs.d/'. 2. Create `~/.emacs.d/early-init.el' with `(load-theme 'misterioso t)' in it. 3. Start Emacs. 4. Run `M-x list-faces-display`. 5. Make new frame `C-x 5 2'. 6. Run `M-x list-faces-display' in the second frame. 7. Compare `*Faces*' buffer contents in the first and the second frames. - The correct 'misterioso theme faces are shown in the second buffer. - For example, compare `completions-common-part'. Then go back to the first frame and run/evaluate `(load-theme 'misterioso)'. The faces are going to be fixed in the first frame after that. It _seems_ to me the issue _might be_ caused by the interference of the "user theme" mentioned in `(emacs) 49.1.8 Creating Custom Themes'. [This insinuation was caused by seeing `user' theme as one of the options on `M-x enable-theme' with `fido-mode' enabled, which, supposedly, might be a bug on its own.] Thank you. In GNU Emacs 28.0.50 (build 11, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G9216)) of 2021-09-05 built on local Repository revision: 3d0276e98bd2e31c45592def9f53da031a1ae277 Repository branch: master Configured using: 'configure LDFLAGS=-L/usr/local/opt/flex/lib CPPFLAGS=-I/usr/local/opt/flex/include' Configured features: ACL GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG THREADS TIFF TOOLKIT_SCROLL_BARS ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: flyspell-mode: t windmove-mode: t global-goto-address-mode: t goto-address-mode: t company-mode: t icomplete-mode: t fido-mode: t savehist-mode: t desktop-save-mode: t delete-selection-mode: t global-hi-lock-mode: t hi-lock-mode: t electric-pair-mode: t show-paren-mode: t global-auto-revert-mode: t tooltip-mode: t global-eldoc-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-save-visited-mode: t Load-path shadows: None found. Features: (shadow sort display-fill-column-indicator mail-extr emacsbug flymake-proc flymake compile warnings flyspell ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt cl-extra help-mode speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex iso8601 ol-bbdb ol-w3m windmove cus-edit cus-load wid-edit bookmark pp vc-git diff-mode vc-dispatcher goto-addr thingatpt ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-element avl-tree generator whitespace company-dabbrev-code company-dabbrev company pcase smtpmail sendmail rmailout rmailmm message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util text-property-search mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 rmailsum rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities time-date noutline outline easy-mmode 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 icomplete ido savehist minibuf-eldef desktop frameset ispell rx epg rfc6068 epg-config delsel hi-lock elec-pair paren autorevert filenotify edmacro kmacro info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap 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 misterioso-theme iso-transl 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 easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 273685 17345) (symbols 48 26762 3) (strings 32 94932 6500) (string-bytes 1 3122713) (vectors 16 49630) (vector-slots 8 526459 11142) (floats 8 307 553) (intervals 56 469 88) (buffers 992 13))