From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#39649: 27.0.60; tab-line doesn't scroll Date: Thu, 27 Feb 2020 01:33:00 +0200 Organization: LINKOV.NET Message-ID: <87imjshqkz.fsf@mail.linkov.net> References: <87lfp0lsun.fsf@mail.linkov.net> <87imk3a5sa.fsf@mail.linkov.net> <87h7zn4d99.fsf@mail.linkov.net> <87r1yoopgp.fsf@mail.linkov.net> <87d0a8bu5c.fsf@gmail.com> <87y2sup4c2.fsf@mail.linkov.net> <87h7zg7vjx.fsf@mail.linkov.net> <87pne2ilur.fsf@mail.linkov.net> <871rqhj5x2.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="119018"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 39649@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o?= Guerra To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 27 00:34:17 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 1j76C0-000Us7-Pv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Feb 2020 00:34:16 +0100 Original-Received: from localhost ([::1]:51626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j76Bz-00052t-HN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Feb 2020 18:34:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54301) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j76Bn-00052T-IW for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2020 18:34:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j76Bm-0003RG-Jp for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2020 18:34:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51973) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j76Bm-0003R2-Gu for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2020 18:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j76Bm-0004Ku-DY for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2020 18:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Feb 2020 23:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39649 X-GNU-PR-Package: emacs Original-Received: via spool by 39649-submit@debbugs.gnu.org id=B39649.158276003116651 (code B ref 39649); Wed, 26 Feb 2020 23:34:02 +0000 Original-Received: (at 39649) by debbugs.gnu.org; 26 Feb 2020 23:33:51 +0000 Original-Received: from localhost ([127.0.0.1]:57946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j76Bb-0004KU-45 for submit@debbugs.gnu.org; Wed, 26 Feb 2020 18:33:51 -0500 Original-Received: from bongo.elm.relay.mailchannels.net ([23.83.212.21]:49050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j76BY-0004KJ-QC for 39649@debbugs.gnu.org; Wed, 26 Feb 2020 18:33:49 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9E1D340087E; Wed, 26 Feb 2020 23:33:47 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a11.g.dreamhost.com (100-96-0-15.trex.outbound.svc.cluster.local [100.96.0.15]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 817A74008B0; Wed, 26 Feb 2020 23:33:46 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a11.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Wed, 26 Feb 2020 23:33:46 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Grain-Average: 667c414000faa866_1582760026767_12295250 X-MC-Loop-Signature: 1582760026766:1025279425 X-MC-Ingress-Time: 1582760026766 Original-Received: from pdx1-sub0-mail-a11.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a11.g.dreamhost.com (Postfix) with ESMTP id 9E1A588400; Wed, 26 Feb 2020 15:33:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=dqTHWkCgOld1fQ1qlhz8WkBVZ8w=; b= CzpYZGBQstLPp4SoHhRfN84q+ZT0ee3+8gjOcuVIJftgKArgt9d8oOynDHwbiTGd Za3+vrzm/4Oh86U52ZbQNcBdaXpqw32KIdoXOyVAAcyZsWq1KQeSu6mUdcPYTxY3 fLgI8W0lajpWx+fYgQxQxQrcMWfrzTjVR/zgL9hCcz0= Original-Received: from mail.jurta.org (m91-129-103-27.cust.tele2.ee [91.129.103.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a11.g.dreamhost.com (Postfix) with ESMTPSA id AEFBD8852D; Wed, 26 Feb 2020 15:33:42 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a11 In-Reply-To: <871rqhj5x2.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 27 Feb 2020 01:16:25 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrleehgddufecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtfedrvdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrddvjedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:176519 Archived-At: > I suspect that the problem comes from the tab-line fontified differently > by core and when fontified manually in the buffer. Eli, could you explain why there no wrapper around the C function display_mode_element exposed to Lisp. The closest function is format-mode-line but still its formatting is different from what display_mode_element really displays in the tab-line. Steps to reproduce the problem: 1. emacs -Q 2. M-x global-tab-line-mode 3. C-x b test1 4. M-: (insert (format-mode-line (tab-line-format))) 5. Note how the tab uses the face tab-line-tab with released-button box style, but the tab-line doesn't use the face tab-line 6. C-x b test2 7. M-: (insert (format-mode-line (tab-line-format) 'tab-line)) 8. Note how the the tab-line now uses the face tab-line, but this face overrides the faces of individual tabs that should have the face tab-line-tab with released-button box style. I can't find a function that would insert to the current buffer a string formatted exactly as the tab-line displayed above the window.