unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* buffer-window size
@ 2003-11-04 14:02 Johannes Quint
  2003-11-04 14:52 ` Orm Finnendahl
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Quint @ 2003-11-04 14:02 UTC (permalink / raw)


[again a trivial question - sorry, i don't find the right hint in the 
documentation:]
i want to have a startup-setup with a frame, splitted in 2 windows, 
each with a DIFFERENT size.
[working with openmcl, i need a great file-window and a little 
listener-window.]
what are the crucial functions?
thanks for help.
j.quint

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

* Re: buffer-window size
  2003-11-04 14:02 buffer-window size Johannes Quint
@ 2003-11-04 14:52 ` Orm Finnendahl
  0 siblings, 0 replies; 2+ messages in thread
From: Orm Finnendahl @ 2003-11-04 14:52 UTC (permalink / raw)
  Cc: help-gnu-emacs-mailing-list

Am 04. November 2003, 15:02 Uhr (+0100) schrieb Johannes Quint:
> [again a trivial question - sorry, i don't find the right hint in the 
> documentation:]
> i want to have a startup-setup with a frame, splitted in 2 windows, 
> each with a DIFFERENT size.
> [working with openmcl, i need a great file-window and a little 
> listener-window.]
> what are the crucial functions?
> thanks for help.
> j.quint

Look into the info documentation of elisp ("info elisp"):
In the section "Windows->Splitting Windows" it says:

     The following example starts with one window on a screen that is 50
     lines high by 80 columns wide; then the window is split.

          (setq w (selected-window))
               => #<window 8 on windows.texi>
          (window-edges)          ; Edges in order:
               => (0 0 80 50)     ;   left-top-right-bottom
          
          ;; Returns window created
          (setq w2 (split-window w 15))
               => #<window 28 on windows.texi>
          (window-edges w2)
               => (0 15 80 50)    ; Bottom window;
                                  ;   top is line 15
          (window-edges w)
               => (0 0 80 15)     ; Top window

     The screen looks like this:

                   __________
                  |          |  line 0
                  |    w     |
                  |__________|
                  |          |  line 15
                  |    w2    |
                  |__________|
                                line 50
           column 0   column 80


--
Orm

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

end of thread, other threads:[~2003-11-04 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-04 14:02 buffer-window size Johannes Quint
2003-11-04 14:52 ` Orm Finnendahl

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).