From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Thomas Hisch Newsgroups: gmane.emacs.bugs Subject: bug#41852: 27.0.50; text-scale commands don't scale header of tabulated-list-mode Date: Sun, 14 Jun 2020 18:25:26 +0200 Message-ID: <953c6df9-59b4-8b57-0be3-600d147fe9c7@ims.co.at> References: <955fe4fe-a64d-b7c6-fe31-7efd810f97a5@ims.co.at> <83mu553e0x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="58330"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: 41852@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 14 18:26: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 1jkVSV-000F5W-0G for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jun 2020 18:26:11 +0200 Original-Received: from localhost ([::1]:41212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkVST-00068A-VD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jun 2020 12:26:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkVSM-000660-HM for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2020 12:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jkVSM-0005op-7h for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2020 12:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jkVSM-0002RH-4w for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2020 12:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Hisch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jun 2020 16:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41852 X-GNU-PR-Package: emacs Original-Received: via spool by 41852-submit@debbugs.gnu.org id=B41852.15921519529361 (code B ref 41852); Sun, 14 Jun 2020 16:26:02 +0000 Original-Received: (at 41852) by debbugs.gnu.org; 14 Jun 2020 16:25:52 +0000 Original-Received: from localhost ([127.0.0.1]:44383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkVSC-0002Qu-Hr for submit@debbugs.gnu.org; Sun, 14 Jun 2020 12:25:52 -0400 Original-Received: from mail.ims.co.at ([81.92.245.88]:63712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkVSA-0002Qh-V2 for 41852@debbugs.gnu.org; Sun, 14 Jun 2020 12:25:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ims.co.at; s=ims; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=JlKzLzGZRI+v/au5V3KgITldusLPh+27FeLOHwF61jU=; b=hVaZl5HZhLi8NSbNa7u5i9T3khZ2mAhqXPs1UrHlHytYWuE87RE217x0 LGPLuBHXIem82uQ/90mAdumkyCeJgy9gnMYXBj+nrLeJMOd9nijkJP8J5 FWkIYCvGGLDl7P17DG1fQ54qD3sTv46NXEBYQrGznPzsLsZPFzOi6m592 o=; IronPort-SDR: ODrx+G9j6iw0w6Rm6Ombds8HZ0flxFvURg1cDdiX/F8x83xYwZykdIACrawHtmbhE+d/qiYGCP pRqb6hBy+PUQ== X-IronPort-AV: E=Sophos;i="5.73,511,1583190000"; d="scan'208";a="415896" In-Reply-To: <83mu553e0x.fsf@gnu.org> Content-Language: en-US X-Originating-IP: [77.118.155.136] X-ClientProxiedBy: srv-xchg-01.ims.co.at (10.120.20.61) To srv-xchg-01.ims.co.at (10.120.20.61) 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:181951 Archived-At: On 6/14/20 4:42 PM, Eli Zaretskii wrote: >> From: Thomas Hisch >> Date: Sun, 14 Jun 2020 15:36:23 +0200 >> >> If the text is scaled (using `text-scale-increase`) in a >> `tabulated-list-mode` buffer, the text of the header is not scaled, >> which leads to a messed up (row data doesn't align with header row) buff= er. > > text-scale-increase affects only the default face and faces that > inherit from it. It isn't supposed to affect any other face, such as > the mode-line, the header-line, etc. Thx for mentioning header line. I've just noticed that tabulated-list-mode supports using a header that doesn't rely on `header-line-format`. This feature (setq tabulated-list-use-header-line nil) also doesn't work as expected. I can see that the header row is rescaled now when `text-scale-increase` is called, but the row data still looks a bit messed up (cols are not aligned) after calling `text-scale-increase` multiple times. The issue can be easily seen by calling `text-scale-increase` in the *Packages* buffer. Maybe `tabulate-list-mode` calculates the positions of the beginning of each column only once. > > So you are actually asking for a new feature of the > tabulated-list-mode, whereby it defines "C-x +" etc. to produce effect > specific to that mode. > Yes it would be nice if text-scale-increase would properly rescale the header-line, especially since (setq tabulated-list-use-header-line t) is the default. BR Thomas Diese E-Mail enth=C3=A4lt vertrauliche und/oder rechtlich gesch=C3=BCtzte I= nformationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail i= rrt=C3=BCmlich erhalten haben, informieren Sie bitte sofort den Absender un= d vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte We= itergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you = are not the intended recipient (or have received this e-mail in error) plea= se notify the sender immediately and destroy this e-mail. Any unauthorized = copying, disclosure or distribution of the material in this e-mail is stric= tly prohibited. IMS Nanofabrication GmbH FN: 208021 p, FB-Gericht: Wien; Sitz: Schreygasse = 3, 1020, Vienna (Austria),Tel. +43 1 214 48 94; E-Mail: imsoffice@ims.co.at= ; DVR-Nr: 0374369; www.ims.co.at