unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37685: 27.0.50; Value of tab-bar-close/new-button calculated incorrectly
@ 2019-10-09 20:33 Alex Branham
  2019-10-15 19:45 ` Juri Linkov
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Branham @ 2019-10-09 20:33 UTC (permalink / raw)
  To: 37685

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 ‘/build/source/etc/images/tabs/close.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’ [2 times]
Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’ [2 times]
Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’

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

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#37685: 27.0.50; Value of tab-bar-close/new-button calculated incorrectly
  2019-10-09 20:33 bug#37685: 27.0.50; Value of tab-bar-close/new-button calculated incorrectly Alex Branham
@ 2019-10-15 19:45 ` Juri Linkov
  2019-10-24  1:19   ` Alex Branham
  0 siblings, 1 reply; 3+ messages in thread
From: Juri Linkov @ 2019-10-15 19:45 UTC (permalink / raw)
  To: Alex Branham; +Cc: 37685

> 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 ‘/build/source/etc/images/tabs/close.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’ [2 times]
> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’ [2 times]
> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#37685: 27.0.50; Value of tab-bar-close/new-button calculated incorrectly
  2019-10-15 19:45 ` Juri Linkov
@ 2019-10-24  1:19   ` Alex Branham
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Branham @ 2019-10-24  1:19 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 37685-done

On Tue 15 Oct 2019 at 22:45, Juri Linkov <juri@linkov.net> wrote:

> 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.

Yes, seems to be fixed now. Thanks!





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-24  1:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-09 20:33 bug#37685: 27.0.50; Value of tab-bar-close/new-button calculated incorrectly Alex Branham
2019-10-15 19:45 ` Juri Linkov
2019-10-24  1:19   ` Alex Branham

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).