From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#68880: 30.0.50; [pgtk] Theme customization is not applied by custom-theme-set-faces until theme is re-enabled Date: Fri, 2 Feb 2024 01:14:12 +0200 Message-ID: <9786c405-9f83-41d0-b218-16f1d0171ce7@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9183"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 68880@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 02 00:15:17 2024 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 1rVgH5-00027O-4E for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Feb 2024 00:15:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVgGu-0002CT-8a; Thu, 01 Feb 2024 18:15: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 1rVgGk-0002Bg-Gr for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 18:14:56 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rVgGi-0005Py-GC for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 18:14:53 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rVgGs-0001FA-Cy for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 18:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Feb 2024 23:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68880 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.17068292914738 (code B ref -1); Thu, 01 Feb 2024 23:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Feb 2024 23:14:51 +0000 Original-Received: from localhost ([127.0.0.1]:43317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVgGh-0001EM-Du for submit@debbugs.gnu.org; Thu, 01 Feb 2024 18:14:51 -0500 Original-Received: from lists.gnu.org ([2001:470:142::17]:55288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVgGa-0001Dw-Nf for submit@debbugs.gnu.org; Thu, 01 Feb 2024 18:14:49 -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 1rVgGK-00029N-4y for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 18:14:28 -0500 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVgGD-0005LZ-6D for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 18:14:27 -0500 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id 0B6833200A95 for ; Thu, 1 Feb 2024 18:14:15 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 01 Feb 2024 18:14:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm2; t=1706829255; x=1706915655; bh=pGMX5BUSKm TJKoNvGUkIAdnVqHotuj3V8O8WXokteAQ=; b=SzXh6pfT232fah27PKPVnYCL1i tlbufvskLVgFF4dMiUCZVKjiWWZCxOUXaofXgM7/55Cq4DkQ7DFFKrQn0xGcj0F0 6QaC0UYAS70FboFou7H5Mv7Zy3o0NEhhcZNdHc/Pl91jASAm8uWmaFdzXDD7i0FW sDYx1MU2TPWYiM01+ylYpjP8GZKaHDvLW7qRfjZEwgDL3ymxiC/WF66CTq+ss1Oc 0TlNnAT81W3uNF1qkiBz8jDQ0wFvKhPTF0JAzSdpc5M9a5xf+7WAy1DWeYKUSxof ievReQF7cZr3mxyvHjz4HhnbMlubDrQtQ6LiZdjtNEoHDoMe0yMjo0dF2mcQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1706829255; x=1706915655; bh=pGMX5BUSKmTJKoNvGUkIAdnVqHot uj3V8O8WXokteAQ=; b=dbC+sA4iu3AZO8PiUSc2oj5posrWsaOrho1dc2HrnQUa +2/+e0fdPOFmCMcFpEEUT5yhITfAOr28/7YBlmo2cb6jgBuOczpSNuV9DAqqMf7k RSRnstzCzNAzGVpuAwqtZrmTbqAIjXchxos9AKqSYYFOnzPpM/5AzitS+G644+Pc kuIU1A82w0t+Zed7k1etAij4/vaVoHzJKD4JawFjVgXWaQb6rgtjGsRlyRMjJtkv JE/eugim2LkkPJs2ketiOEULu54ZrTrtM+LV8uNVaiEovs3IpwcxxVy3zqNnBumD RPZTYyDzKQuocEQljjUq7dj+NAnjQATCfY+PSSMtYQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeduvdcutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepkfffgggfvffuhfgtgfesthejredttddvje enucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdgu vghvqeenucggtffrrghtthgvrhhnpefhteevuefhvdduuefhvefhueekieetkeelveethf egvdeffeegtdffieeftefhjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 1 Feb 2024 18:14:14 -0500 (EST) Content-Language: en-US Received-SPF: pass client-ip=64.147.123.24; envelope-from=dmitry@gutov.dev; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 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_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01, URIBL_SBL_A=0.1 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279309 Archived-At: To reproduce, put this into .emacs: (add-hook 'after-init-hook (lambda () (load-theme 'adwaita t) (custom-theme-set-faces 'adwaita '(font-lock-comment-face ((t (:foreground "yellow"))))))) Then run emacs -Q. When the PGTK port is used, the comment face's foreground won't be yellow. With other ports (e.g. GTK3 or Lucid), it is. The use of after-init-hook itself it not crucial - you can just as well enable the theme using 'M-x load-theme' and then evaluate the custom-theme-set-faces form. There is some text on the splash screen with font-lock-comment-face applied, so you should see the effect right away. In GNU Emacs 30.0.50 (build 333, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2024-02-02 built on potemkin Repository revision: 71b5d5a9799a37948b2e8cca125a59e2bfb71e96 Repository branch: master System Description: Ubuntu 23.10 Configured using: 'configure --with-pgtk' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB