[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windo
From: |
Juri Linkov |
Subject: |
bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows |
Date: |
Mon, 15 May 2023 20:32:28 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>> 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.
- bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows,
Juri Linkov <=
- bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows, Juri Linkov, 2023/05/16
- bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows, Juri Linkov, 2023/05/16
- bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows, martin rudalics, 2023/05/17
- bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows, Juri Linkov, 2023/05/17
- bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows, martin rudalics, 2023/05/18
- bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows, Juri Linkov, 2023/05/18
- bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows, martin rudalics, 2023/05/19
- bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows, Juri Linkov, 2023/05/19
bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows, Eli Zaretskii, 2023/05/16