GNU bug report logs - #58866
tab-line tab order is not preserved by desktop when customizing tab-line-tabs-function

Previous Next

Package: emacs;

Reported by: João Guerra <joca.bt <at> gmail.com>

Date: Sat, 29 Oct 2022 13:08:02 UTC

Severity: normal

Tags: notabug

Fixed in version 29.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: João Guerra <joca.bt <at> gmail.com>
Cc: 58866 <at> debbugs.gnu.org
Subject: Re: bug#58866: tab-line tab order is not preserved by desktop when
 customizing tab-line-tabs-function
Date: Sat, 29 Oct 2022 20:48:34 +0300
tags 58866 notabug
close 58866 29.0.50
thanks

> desktop is restoring the tab-line tab order on application reload when
> using the default tab-line-tabs-function. When using a custom
> tab-line-tabs-function the order is not being preserved. (I suspect it
> could be due to how I want my tabs to behave.)
>
> Is desktop supposed to preserve the tab order for user customizations?

Desktop preserves the window buffer order, so the order for the default
tab-line-tabs-function is preserved in consequence.

Since you customized tab-line-tabs-function to another order
in 'old-tabs', you need also to save your variable 'old-tabs' in
your desktop.  Please look in desktop.el what hooks can you use
to serialize your variable with buffer objects to save it with
buffer names as strings.




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

Previous Next


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