[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gtk tabs in emacs, new branch.
From: |
Juri Linkov |
Subject: |
Re: Gtk tabs in emacs, new branch. |
Date: |
Tue, 13 Apr 2010 02:45:31 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
> And emacs has panes of content - windows...
Let's clear this up: content is in buffers, panes of content are windows.
There are two ways to switch content in the window according to the
tab-bar click:
1. Update content of the buffer in the selected window.
In this case, the same buffer gets erased and new content
inserted into it with the same mode.
2. Switch the buffer in the selected window where the tab-bar
belongs to the buffer's window. This has one constraint: all related
buffers should be in the mode that provides the same tab-bar.
> Cnsider the GIMP's tab docks - You can have a layers window, channels
> window and paths window (not the gimp terminology, they actually call each
> window a "tab") docked into a tab group or a brushes window, layers window
> and palette window. Or whatever. And rearrange them as you see fit.
I don't think it's right to call these things "windows". A "window" in Emacs
is the physical area of the screen in which a buffer is displayed. So they
are rather a layers buffer, channels buffer and paths buffer.
Another variant is to call them "window-subtrees", i.e. as part of the
window-tree in window configurations. This makes sense too: a layers
window-subtree, channels window-subtree and paths window-subtree.
This variant supposes there is a way to create a special window that
holds the tab-bar, prepare its window-subtrees and assign them to the
tab-bar's actions.
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: Gtk tabs in emacs, new branch., (continued)
- Re: Gtk tabs in emacs, new branch., Stefan Monnier, 2010/04/13
- Re: Gtk tabs in emacs, new branch., Jan Djärv, 2010/04/13
- Re: Gtk tabs in emacs, new branch., Stefan Monnier, 2010/04/13
- Re: Gtk tabs in emacs, new branch., Jan Djärv, 2010/04/13
- Text in Gtk tool bar. (Was: Gtk tabs in emacs, new branch.), Jan Djärv, 2010/04/21
- Re: Text in Gtk tool bar. (Was: Gtk tabs in emacs, new branch.), Juri Linkov, 2010/04/23
- Re: Text in Gtk tool bar. (Was: Gtk tabs in emacs, new branch.), Jan D., 2010/04/23
- Re: Text in Gtk tool bar. (Was: Gtk tabs in emacs, new branch.), Juri Linkov, 2010/04/23
- Re: Text in Gtk tool bar. (Was: Gtk tabs in emacs, new branch.), Jan Djärv, 2010/04/23
- RE: Gtk tabs in emacs, new branch., Drew Adams, 2010/04/11
- Re: Gtk tabs in emacs, new branch.,
Juri Linkov <=
- Re: Gtk tabs in emacs, new branch., Stephen J. Turnbull, 2010/04/12
- Re: Gtk tabs in emacs, new branch., Jan Djärv, 2010/04/13
- Re: Gtk tabs in emacs, new branch., Eli Zaretskii, 2010/04/13
- Re: Gtk tabs in emacs, new branch., Jan Djärv, 2010/04/13
- Re: Gtk tabs in emacs, new branch., Eli Zaretskii, 2010/04/13
- Re: Gtk tabs in emacs, new branch., Jan Djärv, 2010/04/10
- Re: Gtk tabs in emacs, new branch., Stefan Monnier, 2010/04/10
- Re: Gtk tabs in emacs, new branch., Chong Yidong, 2010/04/10
- Re: Gtk tabs in emacs, new branch., Stefan Monnier, 2010/04/10
- Re: Gtk tabs in emacs, new branch., Jan Djärv, 2010/04/10