GNU bug report logs - #64451
30.0.50; split-root-window-right ignores side windows

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Mon, 3 Jul 2023 23:39:02 UTC

Severity: normal

Found in version 30.0.50

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>, Aaron Jensen <aaronjensen <at> gmail.com>
Cc: 64451 <at> debbugs.gnu.org
Subject: Re: bug#64451: 30.0.50; split-root-window-right ignores side windows
Date: Fri, 7 Jul 2023 15:57:12 +0200
[Message part 1 (text/plain, inline)]
>> (display-buffer "*scratch*" '(display-buffer-in-side-window . ((side . right))))
>> M-x split-root-window-right
>>
>> I would expect the new window to be to the left of the side window (I
>> know this is counter-intuitive to splititng the root window, but it's
>> also intuitive given the nature of side windows...)
>>
>> I don't know if this is intentional. I also don't know if it's a
>> regression as it's not behavior I remember seeing until fairly recently.
>
> Martin, any comments?

There are two bugs.  The first one is that splitting a root window with
side windows is always an error unless a new side window on another side
should be made.  This should be fixed by the attached patch.

The second bug is that the 'split-root-window-...' functions probably
should split 'window-main-window' on that frame instead.  I'd rather
leave the fix for that to the people who wrote those functions.

martin
[split-window.diff (text/x-patch, attachment)]

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

Previous Next


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