unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Why can only view at most TWO windows?
@ 2008-12-08 19:02 seberino
  2008-12-08 19:07 ` Charles Sebold
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: seberino @ 2008-12-08 19:02 UTC (permalink / raw)
  To: help-gnu-emacs

It seems one can open multiple windows but only TWO will be visible at
a time.  Is there any way to change that?

Chris


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Why can only view at most TWO windows?
  2008-12-08 19:02 Why can only view at most TWO windows? seberino
@ 2008-12-08 19:07 ` Charles Sebold
  2008-12-08 19:09   ` Charles Sebold
  2008-12-08 19:44 ` Ian Eure
       [not found] ` <mailman.2252.1228765492.26697.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 10+ messages in thread
From: Charles Sebold @ 2008-12-08 19:07 UTC (permalink / raw)
  To: help-gnu-emacs

On 8 Dec 2008, seberino@spawar.navy.mil wrote:

> It seems one can open multiple windows but only TWO will be visible at
> a time.  Is there any way to change that?

First, I guess we'd want to make sure of whether you mean windows or
frames.  Emacs' nomenclature is a little unusual on that point.

,----[ (info "(emacs)Frames") ]
| When using a graphical display, you can create multiple windows at the
| system in a single Emacs session.  Each system-level window that
| belongs to Emacs displays a "frame" which can contain one or several
| Emacs windows.  A frame initially contains a single general-purpose
| Emacs window which you can subdivide vertically or horizontally into
| smaller windows.  A frame normally contains its own echo area and
| minibuffer, but you can make frames that don't have these--they use the
| echo area and minibuffer of another frame.
| 
|    To avoid confusion, we reserve the word "window" for the
| subdivisions that Emacs implements, and never use it to refer to a
| frame.
`----

I know that I can open more than two frames or windows, and do it
frequently.

Can you tell us what you do to try to open more than one?
-- 
Charles Sebold                                     8th of December, 2008
 GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) | Gnus v5.11 | org-mode 6.14
 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Why can only view at most TWO windows?
  2008-12-08 19:07 ` Charles Sebold
@ 2008-12-08 19:09   ` Charles Sebold
  0 siblings, 0 replies; 10+ messages in thread
From: Charles Sebold @ 2008-12-08 19:09 UTC (permalink / raw)
  To: help-gnu-emacs

On 8 Dec 2008, Charles Sebold wrote:

> First, I guess we'd want to make sure of whether you mean windows or
> frames.  Emacs' nomenclature is a little unusual on that point.

Sorry, I hadn't read your other post yet.

Does the Elisp manual reference below help?

(info "(elisp)Selecting Windows")
-- 
Charles Sebold                                     8th of December, 2008
 GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) | Gnus v5.11 | org-mode 6.14
 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Why can only view at most TWO windows?
  2008-12-08 19:02 Why can only view at most TWO windows? seberino
  2008-12-08 19:07 ` Charles Sebold
@ 2008-12-08 19:44 ` Ian Eure
       [not found] ` <mailman.2252.1228765492.26697.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 10+ messages in thread
From: Ian Eure @ 2008-12-08 19:44 UTC (permalink / raw)
  To: seberino; +Cc: help-gnu-emacs

On Dec 8, 2008, at 11:02 AM, seberino@spawar.navy.mil wrote:

> It seems one can open multiple windows but only TWO will be visible at
> a time.  Is there any way to change that?
>
You must be doing something wrong, you can view as many windows as you  
want.

Try:
C-x 2 - split-window-vertically
C-x 3 - split-window-horizontally

  - Ian




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Why can only view at most TWO windows?
       [not found] ` <mailman.2252.1228765492.26697.help-gnu-emacs@gnu.org>
@ 2008-12-09  6:35   ` seberino
  2008-12-09  9:44     ` Lennart Borgman
       [not found]     ` <mailman.2296.1228815867.26697.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 10+ messages in thread
From: seberino @ 2008-12-09  6:35 UTC (permalink / raw)
  To: help-gnu-emacs

On Dec 8, 11:44 am, Ian Eure <i...@digg.com> wrote:

> Try:
> C-x 2 - split-window-vertically
> C-x 3 - split-window-horizontally
>
>   - Ian

That works.....doing switch-to-buffer-other-window multiple times does
not.

cs


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Why can only view at most TWO windows?
  2008-12-09  6:35   ` seberino
@ 2008-12-09  9:44     ` Lennart Borgman
       [not found]     ` <mailman.2296.1228815867.26697.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 10+ messages in thread
From: Lennart Borgman @ 2008-12-09  9:44 UTC (permalink / raw)
  To: seberino@spawar.navy.mil; +Cc: help-gnu-emacs

On Tue, Dec 9, 2008 at 7:35 AM, seberino@spawar.navy.mil
<seberino@spawar.navy.mil> wrote:
> On Dec 8, 11:44 am, Ian Eure <i...@digg.com> wrote:
>
>> Try:
>> C-x 2 - split-window-vertically
>> C-x 3 - split-window-horizontally
>>
>>   - Ian
>
> That works.....doing switch-to-buffer-other-window multiple times does
> not.

It is not supposed to split the current window. Do you think the doc
string need to be enhanced?




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Why can only view at most TWO windows?
       [not found]     ` <mailman.2296.1228815867.26697.help-gnu-emacs@gnu.org>
@ 2008-12-10  4:58       ` Barry Margolin
  2008-12-10  6:43         ` seberino
  2008-12-10  6:43         ` seberino
  0 siblings, 2 replies; 10+ messages in thread
From: Barry Margolin @ 2008-12-10  4:58 UTC (permalink / raw)
  To: help-gnu-emacs

In article <mailman.2296.1228815867.26697.help-gnu-emacs@gnu.org>,
 "Lennart Borgman" <lennart.borgman@gmail.com> wrote:

> On Tue, Dec 9, 2008 at 7:35 AM, seberino@spawar.navy.mil
> <seberino@spawar.navy.mil> wrote:
> > On Dec 8, 11:44 am, Ian Eure <i...@digg.com> wrote:
> >
> >> Try:
> >> C-x 2 - split-window-vertically
> >> C-x 3 - split-window-horizontally
> >>
> >>   - Ian
> >
> > That works.....doing switch-to-buffer-other-window multiple times does
> > not.
> 
> It is not supposed to split the current window. Do you think the doc
> string need to be enhanced?

Or the name?  "other-window" seems pretty obvious to me that it will use 
the other window that's already there.  The only time it needs to create 
a new window is when there isn't any "other" window.

Sounds like he wants a function switch-to-buffer-new-window that always 
splits the window.  Take a look at the source code of 
switch-to-buffer-other-window, I think it should be pretty easy to write 
a command that splits the window unconditionally.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Why can only view at most TWO windows?
  2008-12-10  4:58       ` Barry Margolin
@ 2008-12-10  6:43         ` seberino
  2008-12-11  6:38           ` Kevin Rodgers
  2008-12-10  6:43         ` seberino
  1 sibling, 1 reply; 10+ messages in thread
From: seberino @ 2008-12-10  6:43 UTC (permalink / raw)
  To: help-gnu-emacs

On Dec 9, 8:58 pm, Barry Margolin <bar...@alum.mit.edu> wrote:

> Sounds like he wants a function switch-to-buffer-new-window that always
> splits the window.

Yes that's exactly right.

Chris


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Why can only view at most TWO windows?
  2008-12-10  4:58       ` Barry Margolin
  2008-12-10  6:43         ` seberino
@ 2008-12-10  6:43         ` seberino
  1 sibling, 0 replies; 10+ messages in thread
From: seberino @ 2008-12-10  6:43 UTC (permalink / raw)
  To: help-gnu-emacs

On Dec 9, 8:58 pm, Barry Margolin <bar...@alum.mit.edu> wrote:

> Sounds like he wants a function switch-to-buffer-new-window that always
> splits the window.

Yes that's exactly right.

Chris


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Why can only view at most TWO windows?
  2008-12-10  6:43         ` seberino
@ 2008-12-11  6:38           ` Kevin Rodgers
  0 siblings, 0 replies; 10+ messages in thread
From: Kevin Rodgers @ 2008-12-11  6:38 UTC (permalink / raw)
  To: help-gnu-emacs

seberino@spawar.navy.mil wrote:
> On Dec 9, 8:58 pm, Barry Margolin <bar...@alum.mit.edu> wrote:
> 
>> Sounds like he wants a function switch-to-buffer-new-window that always
>> splits the window.
> 
> Yes that's exactly right.

Do you mean:

C-x 2
C-x 4 b

If so, you could bind a convenient key to that, as a keyboard macro
e.g. (global-set-key (kbd "C-c 2") (kbd "C-x 2 C-x 4 b"))

-- 
Kevin Rodgers
Denver, Colorado, USA





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-12-11  6:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-08 19:02 Why can only view at most TWO windows? seberino
2008-12-08 19:07 ` Charles Sebold
2008-12-08 19:09   ` Charles Sebold
2008-12-08 19:44 ` Ian Eure
     [not found] ` <mailman.2252.1228765492.26697.help-gnu-emacs@gnu.org>
2008-12-09  6:35   ` seberino
2008-12-09  9:44     ` Lennart Borgman
     [not found]     ` <mailman.2296.1228815867.26697.help-gnu-emacs@gnu.org>
2008-12-10  4:58       ` Barry Margolin
2008-12-10  6:43         ` seberino
2008-12-11  6:38           ` Kevin Rodgers
2008-12-10  6:43         ` seberino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).