GNU bug report logs - #56791
[PATCH] Add window arg to splitting commands, new commands to split root window

Previous Next

Package: emacs;

Reported by: Hugo Heagren <hugo <at> heagren.com>

Date: Wed, 27 Jul 2022 11:09:02 UTC

Severity: wishlist

Tags: patch

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Hugo Heagren <hugo <at> heagren.com>
Cc: 56791 <at> debbugs.gnu.org
Subject: bug#56791: [PATCH] Add window arg to splitting commands, new commands to split root window
Date: Mon, 05 Sep 2022 20:56:06 +0200
Hugo Heagren <hugo <at> heagren.com> writes:

> So, I have implemented:
> - a new optional argument on `split-window-right' and
>   `split-window-below' specifying /which/ window is to be split. This
>   defaults to the selected window. It also has no effect on the
>   interactive use of these functions, since the prefix argument is
>   still used for the SIZE arg.
> - new commands (implemented using this arg) which split the root window.
> - bound these commands to `C-x 7' and `C-x 9'. This seemed
>   appropriate, considering that these numbers were free, but the other
>   window-splitting commands are bound to numbers in that map.
> - (hopefully?) appropriate documentation changes
>
> Patches are attached. I don't know if Emacs has conventions for how
> large commits should be---mine are very atomic. Hope that works, but I
> could squash them down further and combine the messages if necessary.

Thanks; looks good to me.  I had some merging issues (since the affected
files have changed a bit since this patch series was proposed), so it
was easier for me to squash them before pushing to Emacs 29.




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.