emacs-devel
[Top][All Lists]
Advanced

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

Re: C-x 2 and C-x 3


From: Lluís
Subject: Re: C-x 2 and C-x 3
Date: Wed, 26 Oct 2011 16:32:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Stefan Monnier writes:

>> split-window-like-🀱
>> split-window-like-🁣

> I like that ;-)

> This said, I agree with Michael that it'd be good if the name made it
> clear which window is the new one (I don't care much whether it uses
> "split" or not, but at least "split" makes it clear that something
> existing will be affected, whereas "new" can make it sound like
> existing windows will stay unchanged).

> So maybe split-window-bottom and split-window-right.

Short and clearer.

Just to add some more noise:

     split-window-new-bottom
     split-window-new-right

so that it's clear that the new window will stay at the bottom of the selected
one (and not the other way around).


Looking at 'split-window', its argument names and documentation should be
changed accordingly (right now it's using the horizontal concept). The optimal
would probably be to pass a symbol to a `where-new' argument (e.g., 'bottom,
'right, etc), but that might just be too disruptive on current code (unless some
backwards-compatible argument parsing code was also present).


Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth



reply via email to

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