--- Begin Message ---
Subject: |
tab-bar-new-tab-to now handles cases with multiple side-windows |
Date: |
Fri, 24 Mar 2023 16:07:22 -0500 |
Hello,
I've noticed that when I call #'tab-bar-new-tab while I'm in a
side-window that has siblings, I get an error from
#'window--sides-check, which happens when #'tab-bar-new-tab calls
#'delete-other-windows. Here's an example of my problem:
(progn
(display-buffer-in-side-window (get-buffer-create "*hello*")
'((side . right)
(slot . 1)))
(select-window
(display-buffer-in-side-window (get-buffer-create "*world*")
'((side . right)
(slot . 2))))
(tab-bar-new-tab))
The attached patch fixes this issue. Could it be applied to the emacs-29
branch?
Thanks!
0001-tab-bar-new-tab-to-now-handles-cases-with-multiple-s.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows |
Date: |
Mon, 24 Apr 2023 14:50:38 +0300 |
> From: Juri Linkov <juri@linkov.net>
> Cc: bensonchu457@fastmail.com, 62427@debbugs.gnu.org
> Date: Sun, 23 Apr 2023 19:39:10 +0300
>
> >> >> On a side-note (side-window? haha), I've got a patch that side-steps
> >> >> (hehe) the issue of modifying the 'window-side parameter completely, by
> >> >> binding to window--sides-inhibit-check to t.
> >> >
> >> > Thanks, window--sides-inhibit-check is a good find.
> >> > Let me test it for a while.
> >>
> >> I still can't find a test case that could be fixed by
> >> window--sides-inhibit-check. Your original test case is fixed
> >> because you removed (set-window-parameter nil 'window-side nil).
> >> And the test case in bug#53662 doesn't need this line because
> >> it was fixed by adding (ignore-window-parameters t).
> >>
> >> But maybe there are cases where window--sides-inhibit-check
> >> would help, so we could add it as a precaution.
> >
> > Should I install the last patch, or should I wait for more testing?
>
> The patch works in two known test cases, and no more tests were found,
> so probably it could be installed.
Thanks, installed on emacs-29 branch, and closing the bug.
Benson, any news on your copyright assignment?
--- End Message ---