GNU bug report logs - #9350
23.3; [usability] File menu should contain "split window horizontally C-x 3"

Previous Next

Package: emacs;

Reported by: arne_bab <at> web.de

Date: Tue, 23 Aug 2011 13:58:02 UTC

Severity: minor

Found in version 23.3

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> jurta.org>
Cc: 9350 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#9350: 23.3; File menu should contain "split window horizontally C-x 3"
Date: Sun, 23 Oct 2011 20:59:44 +0200
>> I'd eventually want to rename `split-window' to `new-window' or
>> `make-new-window' and give it a fourth argument - the buffer to show in
>> the new window.
>
> Isn't this semantically equivalent to `switch-to-buffer-other-window'?

No.  `split-window' is low-level.  But you're right in the sense that
calls to it should be replaced by `switch-to-buffer' wherever possible.

> And since this bug report is about menu items, another question:
> after shifting the emphasis from windows/frames to just places where
> to display buffers, wouldn't it make more sense to move window/frame
> related menu items from the "File" menu to the "Buffers" menu?

Conceptually yes.  IIRC some of the buffer switching functions were in
files.el only until recently.  So the presence of window handling
function in the File menu is probably historically motivated.  But menus
are (also) for people who might not even know what buffers, windows or
frames are.  Most of them know what files are.

> This will also balance these menus where the "File" menu is
> currently overpopulated, and the size of the "Buffers" menu
> is limited anyway (later it could be organized into submenus
> grouped by modes etc.)

Doesn't the buffer menu get crowded when there are lots of live buffers?
I can't tell because I have (global-set-key [menu-bar buffer] nil) in my
.emacs for years.

martin




This bug report was last modified 13 years and 275 days ago.

Previous Next


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