unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47369: 28.0.50; Current tab name is not correct after tab-rename
@ 2021-03-24 23:28 Gerry Agbobada
  2021-03-25  0:54 ` Gabriel
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Gerry Agbobada @ 2021-03-24 23:28 UTC (permalink / raw)
  To: 47369

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





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

* bug#47369: 28.0.50; Current tab name is not correct after tab-rename
  2021-03-24 23:28 bug#47369: 28.0.50; Current tab name is not correct after tab-rename Gerry Agbobada
@ 2021-03-25  0:54 ` Gabriel
  2021-03-25  8:08 ` bug#47369: Gerry Agbobada
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Gabriel @ 2021-03-25  0:54 UTC (permalink / raw)
  To: 47369

I could not reproduce this bug using 'emacs -q' from master branch built
today (c678b137ab), without native-comp.





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

* bug#47369:
  2021-03-24 23:28 bug#47369: 28.0.50; Current tab name is not correct after tab-rename Gerry Agbobada
  2021-03-25  0:54 ` Gabriel
@ 2021-03-25  8:08 ` Gerry Agbobada
  2021-03-25  9:36 ` bug#47369: 28.0.50; Current tab name is not correct after tab-rename Juri Linkov
  2021-03-25 15:46 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  3 siblings, 0 replies; 5+ messages in thread
From: Gerry Agbobada @ 2021-03-25  8:08 UTC (permalink / raw)
  To: 47369

Hello,

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

Regards,
Gerry





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

* bug#47369: 28.0.50; Current tab name is not correct after tab-rename
  2021-03-24 23:28 bug#47369: 28.0.50; Current tab name is not correct after tab-rename Gerry Agbobada
  2021-03-25  0:54 ` Gabriel
  2021-03-25  8:08 ` bug#47369: Gerry Agbobada
@ 2021-03-25  9:36 ` Juri Linkov
  2021-03-25 15:46 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  3 siblings, 0 replies; 5+ messages in thread
From: Juri Linkov @ 2021-03-25  9:36 UTC (permalink / raw)
  To: Gerry Agbobada; +Cc: 47369

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.





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

* bug#47369: 28.0.50; Current tab name is not correct after tab-rename
  2021-03-24 23:28 bug#47369: 28.0.50; Current tab name is not correct after tab-rename Gerry Agbobada
                   ` (2 preceding siblings ...)
  2021-03-25  9:36 ` bug#47369: 28.0.50; Current tab name is not correct after tab-rename Juri Linkov
@ 2021-03-25 15:46 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  3 siblings, 0 replies; 5+ messages in thread
From: Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-03-25 15:46 UTC (permalink / raw)
  To: Gerry Agbobada; +Cc: 47369

Gerry Agbobada <gagbobada@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





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

end of thread, other threads:[~2021-03-25 15:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24 23:28 bug#47369: 28.0.50; Current tab name is not correct after tab-rename Gerry Agbobada
2021-03-25  0:54 ` Gabriel
2021-03-25  8:08 ` bug#47369: Gerry Agbobada
2021-03-25  9:36 ` bug#47369: 28.0.50; Current tab name is not correct after tab-rename Juri Linkov
2021-03-25 15:46 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors

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