GNU bug report logs - #37685
27.0.50; Value of tab-bar-close/new-button calculated incorrectly

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Alex Branham <alex.branham@HIDDEN>; dated Wed, 9 Oct 2019 20:34:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 37685 <at> debbugs.gnu.org:


Received: (at 37685) by debbugs.gnu.org; 15 Oct 2019 19:47:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 15 15:47:57 2019
Received: from localhost ([127.0.0.1]:44908 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iKSnU-0005Dx-5w
	for submit <at> debbugs.gnu.org; Tue, 15 Oct 2019 15:47:56 -0400
Received: from bonobo.birch.relay.mailchannels.net ([23.83.209.22]:36352)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1iKSnR-0005Dm-0G
 for 37685 <at> debbugs.gnu.org; Tue, 15 Oct 2019 15:47:54 -0400
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id EC4446A28D1;
 Tue, 15 Oct 2019 19:47:48 +0000 (UTC)
Received: from pdx1-sub0-mail-a54.g.dreamhost.com
 (100-96-91-110.trex.outbound.svc.cluster.local [100.96.91.110])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 51BDD6A282A;
 Tue, 15 Oct 2019 19:47:48 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from pdx1-sub0-mail-a54.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); Tue, 15 Oct 2019 19:47:48 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jurta@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Little-Scare: 7f69e943242f1104_1571168868546_949762428
X-MC-Loop-Signature: 1571168868545:520816698
X-MC-Ingress-Time: 1571168868545
Received: from pdx1-sub0-mail-a54.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTP id EBCF38081C;
 Tue, 15 Oct 2019 12:47:46 -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:content-transfer-encoding; s=linkov.net; bh=Z11moD
 qD795swMB5baEY9DTO7b0=; b=WYUddrjzDcNYWTOvTeIbOsm4PpxKBhaaQR6nZM
 tPmj8mbgJQguN0tzKK3fNopf/yUtD3GoV2FWm9s0+J2vwXwvh/hxaMjJhWnEAiap
 a8Se/DNMiv92GVKSGF5ko5OyXPsDK1FSsQlLWWgeRZv/HiK6AqEGqNt90NZ0Rsax
 IvdyA=
Received: from mail.jurta.org (m91-129-98-153.cust.tele2.ee [91.129.98.153])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jurta@HIDDEN)
 by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTPSA id 715A2806C1;
 Tue, 15 Oct 2019 12:47:44 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a54
From: Juri Linkov <juri@HIDDEN>
To: Alex Branham <alex.branham@HIDDEN>
Subject: Re: bug#37685: 27.0.50; Value of tab-bar-close/new-button
 calculated incorrectly
Organization: LINKOV.NET
References: <8736g1acc6.fsf@HIDDEN>
Date: Tue, 15 Oct 2019 22:45:52 +0300
In-Reply-To: <8736g1acc6.fsf@HIDDEN> (Alex Branham's message of "Wed, 09
 Oct 2019 16:33:13 -0400")
Message-ID: <878spnndzv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 37685
Cc: 37685 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> It appears that the values of both tab-bar-close-button and
> tab-bar-new-button get calculated incorrectly somehow. Instead of using
> data-directory (which is
> "/nix/store/jg7i2xsp7lzas52cc3c6i0fv6hjx8rp1-emacs-27.0.50/share/emacs/=
27.0.50/etc/"
> for me), they use "/build/source/etc/images/tabs/". This results in the
> buttons close/open buttons showing and many thousands of messages about
> it.
>
> Re-evaluating the default expression once Emacs starts fixes the issue.
>
> Recent messages:
> Cannot find image file =E2=80=98/build/source/etc/images/tabs/close.xpm=
=E2=80=99
> Cannot find image file =E2=80=98/build/source/etc/images/tabs/new.xpm=E2=
=80=99
> Cannot find image file =E2=80=98/build/source/etc/images/tabs/close.xpm=
=E2=80=99
> Cannot find image file =E2=80=98/build/source/etc/images/tabs/new.xpm=E2=
=80=99
> Cannot find image file =E2=80=98/build/source/etc/images/tabs/close.xpm=
=E2=80=99
> Cannot find image file =E2=80=98/build/source/etc/images/tabs/new.xpm=E2=
=80=99
> Cannot find image file =E2=80=98/build/source/etc/images/tabs/close.xpm=
=E2=80=99 [2 times]
> Cannot find image file =E2=80=98/build/source/etc/images/tabs/new.xpm=E2=
=80=99
> Cannot find image file =E2=80=98/build/source/etc/images/tabs/close.xpm=
=E2=80=99 [2 times]
> Cannot find image file =E2=80=98/build/source/etc/images/tabs/new.xpm=E2=
=80=99

Like Eli suggested to compute the value at run time the first time
the tab bar is activated, this was changed accordingly.
Please see if this is really fixed for you.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#37685; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Oct 2019 20:33:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 09 16:33:22 2019
Received: from localhost ([127.0.0.1]:54189 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iIIe9-0003TU-Nz
	for submit <at> debbugs.gnu.org; Wed, 09 Oct 2019 16:33:22 -0400
Received: from lists.gnu.org ([209.51.188.17]:54222)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alex.branham@HIDDEN>) id 1iIIe7-0003TM-Po
 for submit <at> debbugs.gnu.org; Wed, 09 Oct 2019 16:33:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36362)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <alex.branham@HIDDEN>) id 1iIIe6-000126-1m
 for bug-gnu-emacs@HIDDEN; Wed, 09 Oct 2019 16:33:19 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <alex.branham@HIDDEN>) id 1iIIe4-0004Pe-SB
 for bug-gnu-emacs@HIDDEN; Wed, 09 Oct 2019 16:33:17 -0400
Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:39981)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <alex.branham@HIDDEN>)
 id 1iIIe4-0004PX-MT
 for bug-gnu-emacs@HIDDEN; Wed, 09 Oct 2019 16:33:16 -0400
Received: by mail-qt1-x82c.google.com with SMTP id m61so5362842qte.7
 for <bug-gnu-emacs@HIDDEN>; Wed, 09 Oct 2019 13:33:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=Wu8h2q7dQAZ9vM1Q/NfQp+JzWIFK+SQKqj7rE4T6Tkk=;
 b=iSU99rBZFzyNEB04OKu7g0vPihZX/he8vfRZQopVgCAzl2HGjvODKiXrffefx0BwH+
 xeyLo1YJWxCslUq/c9Aqa4xqswo3dys25AcJ+7ydunsTJVa6qmy1sTlyCGivZ7nezhuz
 kB042uA1u0bjyVViC8sPUcXHYM1PiPHbVuOfxu2s72CETfAkZtasw/ckltOJkIlwKheK
 ho6EhXJbZh5ClP63ZsSlMaMu5p63hsLlOutIoONzPgOwVCQ82zPPKR3Whxs5VwLBuuoN
 dlAynXBHXrLcbsQuzqekebbpI9C8kD7hlVp+6FL6lTtloJ9m2ZRp5Whz7CHfttL0EQO1
 5uBQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=Wu8h2q7dQAZ9vM1Q/NfQp+JzWIFK+SQKqj7rE4T6Tkk=;
 b=JeTqo2xZS/nK3MDggmwngAPDVaymB+h79RJsaHC8Ng5c44kSFn62OdZQ7g3MDApi3x
 OL2tKN0YfI8p89GcBpXSsOH8O7DX9soAzVMJd+dVMvkly6vzqbCoqgLwhXaBG9kcG4Wf
 ePvtPQ0IHnDIPc3WnuQktkUodnqXiaWobKE3bRyTKaLAraMM1ZShsXeB8mG92dJbPlh8
 YdDQeppm1jD9t09e2A6aMGDb24zZxork/gnLJwFqW3PvsfdWsHfmxc5gnGDARUHOHoJh
 J3ToqC3+smfwXs9BWBKDxm1FPFe0DgaNUEMD76684c5KhOTZfzhUbp0j91SPJGK4WBWL
 b+EA==
X-Gm-Message-State: APjAAAVNvxtR2HN1qHsfFcdVywKAvTO8CC52lFcMlVtN9+OF3C8noxeZ
 qsnwd5JK0DZn6fqioJaEXDvfE52W
X-Google-Smtp-Source: APXvYqxFPBO1czteK8PVyk6FzONGBCJzshg5RyXdTQYWWLZcbXQ02O4tCb0eSWquirmvt+Ow4gZeMQ==
X-Received: by 2002:aed:2bc5:: with SMTP id e63mr5841957qtd.259.1570653195663; 
 Wed, 09 Oct 2019 13:33:15 -0700 (PDT)
Received: from earth (c-73-163-194-78.hsd1.dc.comcast.net. [73.163.194.78])
 by smtp.gmail.com with ESMTPSA id b4sm1491406qkd.121.2019.10.09.13.33.14
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 09 Oct 2019 13:33:14 -0700 (PDT)
From: Alex Branham <alex.branham@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; Value of tab-bar-close/new-button calculated incorrectly
Date: Wed, 09 Oct 2019 16:33:13 -0400
Message-ID: <8736g1acc6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::82c
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

It appears that the values of both tab-bar-close-button and
tab-bar-new-button get calculated incorrectly somehow. Instead of using
data-directory (which is
"/nix/store/jg7i2xsp7lzas52cc3c6i0fv6hjx8rp1-emacs-27.0.50/share/emacs/27.0=
.50/etc/"
for me), they use "/build/source/etc/images/tabs/". This results in the
buttons close/open buttons showing and many thousands of messages about
it.

Re-evaluating the default expression once Emacs starts fixes the issue.

Thanks,
Alex

In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10)
Windowing system distributor 'The X.Org Foundation', version 11.0.12005000
System Description: NixOS 19.09.716.88bbb3c8096 (Loris)

Recent messages:
Cannot find image file =E2=80=98/build/source/etc/images/tabs/close.xpm=E2=
=80=99
Cannot find image file =E2=80=98/build/source/etc/images/tabs/new.xpm=E2=80=
=99
Cannot find image file =E2=80=98/build/source/etc/images/tabs/close.xpm=E2=
=80=99
Cannot find image file =E2=80=98/build/source/etc/images/tabs/new.xpm=E2=80=
=99
Cannot find image file =E2=80=98/build/source/etc/images/tabs/close.xpm=E2=
=80=99
Cannot find image file =E2=80=98/build/source/etc/images/tabs/new.xpm=E2=80=
=99
Cannot find image file =E2=80=98/build/source/etc/images/tabs/close.xpm=E2=
=80=99 [2 times]
Cannot find image file =E2=80=98/build/source/etc/images/tabs/new.xpm=E2=80=
=99
Cannot find image file =E2=80=98/build/source/etc/images/tabs/close.xpm=E2=
=80=99 [2 times]
Cannot find image file =E2=80=98/build/source/etc/images/tabs/new.xpm=E2=80=
=99

Configured using:
 'configure
 --prefix=3D/nix/store/jg7i2xsp7lzas52cc3c6i0fv6hjx8rp1-emacs-27.0.50
 --disable-build-details --with-modules --with-x-toolkit=3Dgtk3 --with-xft
 CFLAGS=3D-DMAC_OS_X_VERSION_MAX_ALLOWED=3D101200'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON
PDUMPER GMP

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix




Acknowledgement sent to Alex Branham <alex.branham@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#37685; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 15 Oct 2019 20:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.