From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#41852: 27.0.50; text-scale commands don't scale header of tabulated-list-mode Date: Sat, 31 Oct 2020 09:50:16 -0700 Message-ID: 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> <83h7qba6jb.fsf@gnu.org> <835z6ra11u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37073"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41852@debbugs.gnu.org, thomas.hisch@ims.co.at To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 31 17:51:11 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 1kYu5v-0009Vc-Qf for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 17:51:11 +0100 Original-Received: from localhost ([::1]:52942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYu5u-0006bK-RE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 12:51:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYu5n-0006ZB-GE for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 12:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYu5n-0000Zp-5k for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 12:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYu5l-0006Xb-Q4 for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 12:51:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Oct 2020 16:51:01 +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.160416302525075 (code B ref 41852); Sat, 31 Oct 2020 16:51:01 +0000 Original-Received: (at 41852) by debbugs.gnu.org; 31 Oct 2020 16:50:25 +0000 Original-Received: from localhost ([127.0.0.1]:34428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYu5B-0006WM-HJ for submit@debbugs.gnu.org; Sat, 31 Oct 2020 12:50:25 -0400 Original-Received: from mail-ej1-f48.google.com ([209.85.218.48]:42420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYu58-0006W6-UR for 41852@debbugs.gnu.org; Sat, 31 Oct 2020 12:50:23 -0400 Original-Received: by mail-ej1-f48.google.com with SMTP id i19so1830989ejx.9 for <41852@debbugs.gnu.org>; Sat, 31 Oct 2020 09:50:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=GJhxYstF5yJORIbR5QLQmG5yhNebrF69pnDYiN2Gkmo=; b=YnXAZRoWdzHWGT5yeCKBa/KK+wEAihb2EOgtYTK9niRJYJCGHrnTUTcUJNYDwvxJJt v3K9TW6tvXi5Fy7IZ8hliByKgDs1RGj9ZpbBxLu/uiWjZinQcR59eqjOV/aUgvfQNXQI OP6kEU7nChnvJ0Kf+Lx7ZnHGaplAQFXNqNtrgoBtHau+vLiLKXJt8Le2v0r/tgSku2zA dlAyr7k5Cm5BZjs7MpldJJ+Bu0dKik8gQvn5P8+B4blDeVFnwQ9pF7cjmLPxiL/0ubUY 9TfKBc32hYg6S1hztKKQnNuXtWf5e//IwCy+Nx5XWSf06zoxKR6CfXlHMmiBLHo1UmR+ ZZoQ== X-Gm-Message-State: AOAM531JgoLJJhDqbh1D8my5wJz+VczT4foZs9ebaUHLDARhTaWb4l0p rOHcVV5UgJnjq2IhCqr98DAypcSYyt3tF73Ju7k= X-Google-Smtp-Source: ABdhPJxFlhthe937S++nJqlPWNcF9KpkcZFdeASf7pLF+Qh4TxPVbs69AaXj8nNv/bSPA26oXZDRPXqrdrNoFrMT8Qw= X-Received: by 2002:a17:906:8058:: with SMTP id x24mr8083459ejw.272.1604163017166; Sat, 31 Oct 2020 09:50:17 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 31 Oct 2020 09:50:16 -0700 In-Reply-To: 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:192291 Archived-At: Stefan Kangas writes: > Eli Zaretskii writes: > >> Try using fixed-pitch and variable-pitch instead of mode-line and >> bold. What happens then? And what does that mean for this >> discussion? > > I tried this with my patch, in emacs -Q: > > (progn > (setq-local text-scale-remap-header-line-face t) > (setq-local header-line-format (concat > (propertize "foo" 'face 'fixed-pitch) " " > (propertize "bar" 'face 'variable-pitch)))) > > They also scale. So looking at this, I'm not sure we should even say: "This will also affect any face that inherits from it." It risks confusing more than helping, IMHO. Nor am I so sure we should talk about the 'header-line' face. I think we should say something closer to what Martin suggested, say: *** text-scale-mode can now scale the header line. When the new buffer local variable 'text-scale-remap-header-line-face' is non-nil, 'text-scale-adjust' will also scale the text in the header line when displaying that buffer. This is useful for major modes that arrange their display in a tabular form below the header-line. It is therefore enabled by default in 'tabulated-list-mode' and its derived modes. Note that text scaling never affects text using a face where the :height attribute is set to an absolute value. And then adjust the docstring accordingly.