From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#41852: 27.0.50; text-scale commands don't scale header of tabulated-list-mode Date: Fri, 13 Nov 2020 16:00:23 +0300 Message-ID: References: <2ae49edc-098f-9ace-595d-9e29bf3d2c8b@gmx.at> <83h7qba6jb.fsf@gnu.org> <835z6ra11u.fsf@gnu.org> <83blgigx3z.fsf@gnu.org> <837dr6gu05.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40103"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: thomas.hisch@ims.co.at, 41852@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 13 15:02:40 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 1kdZex-000AKH-E5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Nov 2020 15:02:39 +0100 Original-Received: from localhost ([::1]:36626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdZew-00053I-9P for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Nov 2020 09:02:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdZeM-0004iB-53 for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2020 09:02:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35741) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdZeL-0001Mh-PL for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2020 09:02:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdZeL-0001fJ-Mi for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2020 09:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Nov 2020 14:02: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.16052760746343 (code B ref 41852); Fri, 13 Nov 2020 14:02:01 +0000 Original-Received: (at 41852) by debbugs.gnu.org; 13 Nov 2020 14:01:14 +0000 Original-Received: from localhost ([127.0.0.1]:47287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdZdZ-0001eE-FK for submit@debbugs.gnu.org; Fri, 13 Nov 2020 09:01:14 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:56873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdZdU-0001dp-1D for 41852@debbugs.gnu.org; Fri, 13 Nov 2020 09:01:12 -0500 Original-Received: from localhost ([::ffff:41.202.241.56]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C0003.000000005FAE91A2.00006D5C; Fri, 13 Nov 2020 14:01:05 +0000 Content-Disposition: inline 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:193232 Archived-At: I am aware of problem that header in tabulated-list-mode did not enlarge. I have tried patching the current git but get problems. Please send me the full tabulated-list.el that I can try it. Loading file /home/data1/protected/Programming/Software/emacs/lisp/emacs-lisp/tabulated-list.el failed to provide feature ‘tabulated-list’ make[1]: *** [Makefile:817: bootstrap-emacs.pdmp] Error 255 make[1]: Leaving directory '/home/data1/protected/Programming/Software/emacs/src' make: *** [Makefile:424: src] Error 2 [~/Programming/Software/emacs] For your note I am using tabulated-list-mode with somewhat enlarged faces from default. I would like to test that enhancement. (define-derived-mode hyperscope-mode tabulated-list-mode "Hyperscope" "Major Hyperscope mode" (hyperscope-text-scale-adjust 'hyperscope-mode) (setq tabulated-list-format [("ID" 8 t :right-align t) ("Hyperlink" 70 t) ("Type" 10 t)]) (setq tabulated-list-padding 1) ;; (setq tabulated-list-sort-key (cons "ID" nil)) (tabulated-list-init-header)) (defun hyperscope-text-scale-adjust (symbol) (let ((adjust nil)) ;; TODO customize to turn off or on (if (and adjust (eql symbol 'hyperscope-mode)) (text-scale-adjust 2) (if (and adjust (eql symbol 'hyperscope-text-view-mode)) (text-scale-adjust 1) (if (and adjust (eql symbol 'hyperscope-org-view-mode)) (text-scale-adjust 1))))))