GNU bug report logs - #47369
28.0.50; Current tab name is not correct after tab-rename

Previous Next

Package: emacs;

Reported by: Gerry Agbobada <gagbobada <at> gmail.com>

Date: Wed, 24 Mar 2021 23:28:01 UTC

Severity: normal

Tags: fixed

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47369 in the body.
You can then email your comments to 47369 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#47369; Package emacs. (Wed, 24 Mar 2021 23:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gerry Agbobada <gagbobada <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 24 Mar 2021 23:28:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gerry Agbobada <gagbobada <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; Current tab name is not correct after tab-rename
Date: Thu, 25 Mar 2021 00:28:06 +0100
In a graphical Emacs, run this file named 'tab-name.el'
#+BEGIN_SRC elisp
(tab-new)
(tab-rename "second tab")
(tab-next)
(tab-rename "first tab")
;; Expecting "first tab" here. Instead got "tab-name.el"
(alist-get 'name (tab-bar--current-tab))
#+END_SRC

I'm currently using flatwhatson's guix recipe for
emacs-pgtk-native-comp, that might explain the information in the bug
report. For the record, I couldn't reproduce it on 27.1, and
'emacs-next' recipe wasn't recent enough to provide a meaningful test
against current master, sorry.


In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.24, cairo version 1.16.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12010000
System Description: Arch Linux

Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash
 SHELL=/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash
 --prefix=/gnu/store/k9zby8j7y86pa86l13kkjm7md63b3g03-emacs-native-comp-28.0.50-144.7ba816e
 --enable-fast-install --with-native-compilation --with-modules
 --with-cairo --disable-build-details'

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

Important settings:
  value of $EMACSLOADPATH:
/home/gagbo/.guix-profile/share/emacs/site-lisp:/home/gagbo/.guix-profile/share/emacs/28.0.50/lisp:/home/gagbo/.guix-profile/share/emacs/site-lisp:/home/gagbo/.guix-profile/share/emacs/28.0.50/lisp
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix

Major mode: ELisp/d

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail
rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs
password-cache json map text-property-search time-date mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
vterm-autoloads guix-emacs comp comp-cstr warnings subr-x rx cl-seq
cl-macs cl-extra help-mode seq byte-opt gv cl-loaddefs cl-lib bytecomp
byte-compile cconv iso-transl tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode register page
tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar
mouse jit-lock font-lock syntax font-core term/tty-colors frame
minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite charscript charprop case-table epa-hook jka-cmpr-hook help
simple abbrev obarray cl-preloaded nadvice button loaddefs faces
cus-face macroexp files window text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty
make-network-process nativecomp emacs)

Memory information:
((conses 16 68523 5439)
 (symbols 48 7828 1)
 (strings 32 22581 4699)
 (string-bytes 1 781032)
 (vectors 16 16218)
 (vector-slots 8 217679 14633)
 (floats 8 27 39)
 (intervals 56 321 6)
 (buffers 992 14))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47369; Package emacs. (Thu, 25 Mar 2021 00:56:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gabriel <gabriel376 <at> hotmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#47369: 28.0.50; Current tab name is not correct after
 tab-rename
Date: Wed, 24 Mar 2021 21:54:59 -0300
I could not reproduce this bug using 'emacs -q' from master branch built
today (c678b137ab), without native-comp.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47369; Package emacs. (Thu, 25 Mar 2021 08:07:01 GMT) Full text and rfc822 format available.

Message #11 received at 47369 <at> debbugs.gnu.org (full text, mbox):

From: Gerry Agbobada <gagbobada <at> gmail.com>
To: 47369 <at> debbugs.gnu.org
Date: Thu, 25 Mar 2021 09:08:21 +0100
Hello,

Thanks for quickly checking. I'm assuming the problem must come from
elsewhere then. I'll keep looking.

Regards,
Gerry




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47369; Package emacs. (Thu, 25 Mar 2021 09:58:02 GMT) Full text and rfc822 format available.

Message #14 received at 47369 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Gerry Agbobada <gagbobada <at> gmail.com>
Cc: 47369 <at> debbugs.gnu.org
Subject: Re: bug#47369: 28.0.50; Current tab name is not correct after
 tab-rename
Date: Thu, 25 Mar 2021 11:36:59 +0200
tags 47369 fixed
close 47369 28.0.50
thanks

For a short time between March 16 - March 22
tab-bar--current-tab had a different behavior.
But after discovering that this internal function
is used by external packages, it was reverted back
to previous behavior.




Added tag(s) fixed. Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Thu, 25 Mar 2021 09:58:03 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.0.50, send any further explanations to 47369 <at> debbugs.gnu.org and Gerry Agbobada <gagbobada <at> gmail.com> Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Thu, 25 Mar 2021 09:58:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47369; Package emacs. (Thu, 25 Mar 2021 15:47:01 GMT) Full text and rfc822 format available.

Message #21 received at 47369 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Gerry Agbobada <gagbobada <at> gmail.com>
Cc: 47369 <at> debbugs.gnu.org
Subject: Re: bug#47369: 28.0.50; Current tab name is not correct after
 tab-rename
Date: Thu, 25 Mar 2021 15:46:16 +0000
Gerry Agbobada <gagbobada <at> gmail.com> writes:

> In a graphical Emacs, run this file named 'tab-name.el'
>
> #+BEGIN_SRC elisp
> (tab-new)
> (tab-rename "second tab")
> (tab-next)
> (tab-rename "first tab")
> ;; Expecting "first tab" here. Instead got "tab-name.el"
> (alist-get 'name (tab-bar--current-tab))
> #+END_SRC

Hi Gerry,

I just merged master into feature/native-comp (c6c7b30e4b) and I can't
reproduce this anymore, I can only guess this was fixed into master and
now the fix is in native-comp too.

Could you give it a try?

Thanks

  Andrea




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 23 Apr 2021 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 341 days ago.

Previous Next


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