From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Tabs Date: Mon, 14 Oct 2019 01:08:55 +0300 Organization: LINKOV.NET Message-ID: <87zhi48fig.fsf@mail.linkov.net> References: <990000647.207452.1567431109138@mail1.libero.it> <871rwy8osi.fsf@mail.linkov.net> <1202539102.243582.1567500548055@mail1.libero.it> <87h85t41cl.fsf@mail.linkov.net> <1215808011.309641.1567585329369@mail1.libero.it> <87k1answzi.fsf@mail.linkov.net> <1448946011.413994.1567719646039@mail1.libero.it> <8736h6v8v8.fsf@mail.linkov.net> <1255500419.255917.1568620575342@mail1.libero.it> <815541529.259638.1568623550774@mail1.libero.it> <87d0g00y61.fsf@mail.linkov.net> <1974399400.832770.1570978188863@mail1.libero.it> <83eezglm4r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="91278"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Angelo Graziosi , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 14 00:10:45 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJm4a-000NcU-Ca for ged-emacs-devel@m.gmane.org; Mon, 14 Oct 2019 00:10:44 +0200 Original-Received: from localhost ([::1]:42792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJm4Z-00027A-7f for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2019 18:10:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49993) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJm42-00024m-UM for emacs-devel@gnu.org; Sun, 13 Oct 2019 18:10:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJm41-00035B-Ka for emacs-devel@gnu.org; Sun, 13 Oct 2019 18:10:10 -0400 Original-Received: from cadetblue.birch.relay.mailchannels.net ([23.83.209.28]:55958) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iJm3z-000337-81; Sun, 13 Oct 2019 18:10:07 -0400 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 33C7E340A5A; Sun, 13 Oct 2019 22:10:05 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a89.g.dreamhost.com (100-96-4-204.trex.outbound.svc.cluster.local [100.96.4.204]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id AB7A4340CB3; Sun, 13 Oct 2019 22:10:04 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a89.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); Sun, 13 Oct 2019 22:10:05 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Troubled-Supply: 2b41a4352272413a_1571004604925_2198393121 X-MC-Loop-Signature: 1571004604925:4090577631 X-MC-Ingress-Time: 1571004604925 Original-Received: from pdx1-sub0-mail-a89.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a89.g.dreamhost.com (Postfix) with ESMTP id 9B2B282F1A; Sun, 13 Oct 2019 15:09:59 -0700 (PDT) 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=2eGcNNuRN4TlQKwGazVhNUHtfdU=; b= Tvi14z9lQ1sMdL7zFaKaGywkAJOBHaFeIqnzdAQJC1+BDRA+fA32vlQzhHKZ+Ar7 RERhCe7mLnHGsKCRfuIea55cJlX6EFkf1JtaJj5YUYhzKeDxte1WwwR/gLCdXr1w y8clj3QYU4HhnuTQA+cBhARD8l2QJ7hSjgdoJG3leHM= Original-Received: from mail.jurta.org (m91-129-105-34.cust.tele2.ee [91.129.105.34]) (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-a89.g.dreamhost.com (Postfix) with ESMTPSA id 1563082F17; Sun, 13 Oct 2019 15:09:57 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a89 In-Reply-To: <83eezglm4r.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 13 Oct 2019 18:07:32 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.209.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240993 Archived-At: >> When I use C-x 6 b ... I see another file in tab (tab-bar-03.png) but >> to switch between the I have to click more times, at least initially, >> and why all those empty box? > > The empty boxes seem to indicate that Emacs is unable to load the > icons for closing and opening tabs, they should be displayed instead > of the empty boxes. If you are running an installed Emacs, perhaps > "make install" have a bug whereby it doesn't install the tab-related > images? The problem is that tab-bar.el is pre-loaded by loadup.el and dumped with the value of data-directory from the source location. So running from the dump file even in the install directory still uses source data-directory. A pre-loaded definition looks like: (defvar tab-bar-new-button (propertize " + " 'display `(image :type xpm :file ,(expand-file-name "images/tabs/new.xpm" data-directory) :margin (2 . 0) :ascent center)) "Button for creating a new tab.") and indeed I checked in the dump file that it contains the expanded source data-directory. I don't know how this case should be handled. Maybe to create the image on the first use of the tab-bar?