emacs-devel
[Top][All Lists]
Advanced

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

Re: Window configurations


From: Juri Linkov
Subject: Re: Window configurations
Date: Mon, 17 May 2010 01:49:04 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

> <FRAMESET rows="30%, 55%, 15%">
>   <FRAMESET cols="75%, 25%">
>     <FRAME src="top-window-1">
>     <FRAME src="top-window-2">
>   </FRAMESET>
>   <FRAMESET cols="25%, 75%">
>     <FRAMESET rows="50%, 25%, 25%">
>       <FRAME src="sidebar-1">
>       <FRAME src="sidebar-2">
>       <FRAME src="sidebar-3">
>     </FRAMESET>
>     <FRAME src="edit-area">
>   </FRAMESET>
>   <FRAME src="tool-window">
> </FRAMESET>

We could use something like this to define window configurations because
FRAME is like Emacs window, and FRAMESET is like internal window, e.g.

(window-set (rows 30 55 15)
  (window-set (cols 75 25)
    (window (buffer . "top-window-1"))
    (window (buffer . "top-window-2")))
  (window-set (cols 25 75)
    (window-set (rows 50 25 25)
      (window (buffer . "sidebar-1"))
      (window (buffer . "sidebar-2"))
      (window (buffer . "sidebar-3")))
    (window (buffer . "edit-area")))
  (window (buffer . "tool-window")))

where window-set with rows splits vertically,
and window-set with cols splits horizontally.

-- 
Juri Linkov
http://www.jurta.org/emacs/



reply via email to

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