GNU bug report logs -
#62427
tab-bar-new-tab-to now handles cases with multiple side-windows
Previous Next
Full log
Message #82 received at 62427 <at> debbugs.gnu.org (full text, mbox):
>> Thanks, installed on emacs-29 branch, and closing the bug.
>
> From the docstring of 'tab-bar-new-tab-choice':
>
> If the value is the symbol `window', then keep the selected
> window as a single window on the new tab, and keep all its
> window parameters except `window-atom' and `window-side'.
> ===========
>
> So still need to remove `window-side' in this case:
>
> diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
> index 61e177c051d..42fc5a23990 100644
> --- a/lisp/tab-bar.el
> +++ b/lisp/tab-bar.el
> @@ -1588,7 +1588,9 @@ tab-bar-new-tab-to
> (delete-other-windows)
> (if (eq tab-bar-new-tab-choice 'window)
> ;; Create new unique window from remaining window
> - (window-state-put (window-state-get))
> + (progn
> + (set-window-parameter nil 'window-side nil)
> + (window-state-put (window-state-get)))
> ;; Create a new window to get rid of old window parameters
> ;; (e.g. prev/next buffers) of old window.
> (split-window) (delete-window))))
Now installed on emacs-29 branch.
This bug report was last modified 2 years and 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.