emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Functions transpose/rotate/flip windows


From: Juri Linkov
Subject: Re: Functions transpose/rotate/flip windows
Date: Sat, 11 Jan 2025 19:18:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)

>> The only functional issue I ran into is that rotate-windows and
>> rotate-windows-back seem to leave the wrong window selected (the
>> selection does not follow the rotation).
>
> I tend to agree with you.  Pranshu: I think this is the first defcustom
> we need here - something like 'rotate-windows-keep-selected' or so.

With 'window-swap-states' the selection follows the window contents,
so 'rotate-windows' should do the same by default with a new defcustom.

>> -;;; window-x.el --- extended window commands  -*- lexical-binding: t; -*-
>> +;;; window-x.el --- Extra window organization commands  -*- 
>> lexical-binding: t; -*-
>
> I don't like either of these - maybe Juri has a better idea.

It will lose the relation to window organization
after we will move more features to window-x.el such as
window-context functions.  Regarding "extended" or "extra",
this depends what does the -x suffix mean in other -x.el files.
Ok, here are some:

  ;;; dired-x.el --- extra Dired functionality
  ;;; files-x.el --- extended file handling commands



reply via email to

[Prev in Thread] Current Thread [Next in Thread]