Subject: Re: bug#79291: bug when using frameset register + tab-bar

From: Eli Zaretskii <[email-masked]>
Date: Sun, 24 Aug 2025 21:07:40 +0300

> Cc: [email-masked]
> From: Juri Linkov <[email-masked]>
> Date: Sun, 24 Aug 2025 20:39:13 +0300
> 
> > 01) emacs -Q (commit ab577467e4feb681246a8d28afde729c6040dfc7)
> > 02) 'M-x tab-bar-mode'
> > 03) split some windows with 'C-x 2' and 'C-x 3'
> > 04) save frameset to register with 'C-x r f a'
> > 05) change window layout with 'C-x 1' and 'C-x <left>'
> > 06) create some tabs with 'C-x t 2' and 'C-x t 2'
> > 07) restore frameset with 'C-x r j a'
> > 08) BUG: it shows 03 tabs, must should show only 1
> 
> I don't understand where is bug?  Why should it show 1 tab?
> 
> > 09) close other tabs with 'C-x t 1'
> > 10) change window layout with 'C-x 1' and 'C-x <left>'
> > 11) restore frameset with 'C-x r j a'
> > 12) BUG: it shows 03 tabs, must should show only 1
> 
> We need to clarify the semantics of 'C-x r f':
> what it's expected for it to do with tabs?

Theoretically, tabs are not part of a frameset, so I think the
expectations here are incorrect.