From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41852: 27.0.50; text-scale commands don't scale header of tabulated-list-mode Date: Fri, 30 Oct 2020 21:01:02 +0200 Message-ID: <83ft5va68h.fsf@gnu.org> References: <955fe4fe-a64d-b7c6-fe31-7efd810f97a5@ims.co.at> <83mu553e0x.fsf@gnu.org> <953c6df9-59b4-8b57-0be3-600d147fe9c7@ims.co.at> <83y2k2pabb.fsf@gnu.org> <83wnzmnioj.fsf@gnu.org> <83lfg1nfv1.fsf@gnu.org> <83d01dnegn.fsf@gnu.org> <2ae49edc-098f-9ace-595d-9e29bf3d2c8b@gmx.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27436"; mail-complaints-to="usenet@ciao.gmane.io" Cc: thomas.hisch@ims.co.at, stefan@marxist.se, 41852@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 30 20:02:21 2020 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 1kYZfJ-00071X-5x for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 20:02:21 +0100 Original-Received: from localhost ([::1]:60492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYZfH-00048F-Bq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 15:02:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYZf0-000482-LG for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 15:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48211) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYZf0-0003h3-Au for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 15:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYZf0-0004b0-7x for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 15:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Oct 2020 19:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41852 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 41852-submit@debbugs.gnu.org id=B41852.160408448817622 (code B ref 41852); Fri, 30 Oct 2020 19:02:02 +0000 Original-Received: (at 41852) by debbugs.gnu.org; 30 Oct 2020 19:01:28 +0000 Original-Received: from localhost ([127.0.0.1]:59757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYZeS-0004aA-AI for submit@debbugs.gnu.org; Fri, 30 Oct 2020 15:01:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYZeR-0004Zx-8H for 41852@debbugs.gnu.org; Fri, 30 Oct 2020 15:01:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50430) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYZeK-0003a8-T9; Fri, 30 Oct 2020 15:01:20 -0400 Original-Received: from [176.228.60.248] (port=2310 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kYZeK-0006ZZ-2f; Fri, 30 Oct 2020 15:01:20 -0400 In-Reply-To: (message from martin rudalics on Fri, 30 Oct 2020 18:37:35 +0100) 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:192180 Archived-At: > Cc: thomas.hisch@ims.co.at, 41852@debbugs.gnu.org > From: martin rudalics > Date: Fri, 30 Oct 2020 18:37:35 +0100 > > >> Note that maybe 'text-scale-mode-header-line' should be also watched by > >> 'set-buffer-redisplay'. > > > > I tried adding `text-scale-remap-header-line-face' to the list of > > variables that are fed to `add-variable-watcher' at the end of frame.el. > > That doesn't work, unfortunately. > > > > I believe that since the remapping is done on a Lisp level, > > `text-scale-mode' isn't called even with a variable watcher. Is there a > > way to work around that? Or am I doing it wrong? > > I'm not sure whether it's needed at all, Eli knows better. I suppose it > should work out of the box because setting the header line format > already triggers 'set-buffer-redisplay' and the additional setting of > 'text-scale-mode-header-line' will be covered by it. We might have a > problem when these two are set in separate steps. The way to check whether some variable needs to be watched is described in a comment near the end of frame.el.