all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: just-the-text Emacs frame
Date: Fri, 03 Jun 2011 15:56:20 -0500	[thread overview]
Message-ID: <87pqmud47f.fsf@lifelogs.com> (raw)
In-Reply-To: yx2ipsokmu2.fsf@mohsen.1.banan.byname.net

On Thu, 02 Jun 2011 13:19:49 -0700 Mohsen BANAN <list-general@mohsen.1.banan.byname.net> wrote: 

MB> Gnus provides a facility for structuring a frame
MB> into multiple windows based on horizontal/vertical
MB> box specifications.
...
MB>   (gnus-add-configuration
MB>    '(summary
MB>      (horizontal 1.0
MB> 		 (vertical 0.6 (summary 1.0 point))
MB> 		 (vertical 1.0 (group 1.0)))))

Oh right, so it's a tree of H and V splits.

MB> So, I am proposing that similarly an emacs-panel can be
MB> devided into emacs-tiles.

OK.

MB>     - Specify 7 emacs-tiles. (6 squares 1 rectangle
MB>       in that picture.)
MB>     - Specify lay out and sizes of the tiles within the
MB>       panel. Based on something similar to gnus-add-configuration.
MB>     - Specify the emacs-panel's overall size ... and
MB>       make it contain the 7 emacs-tiles.

MB> The horizontal/vertical dividers for the tiles
MB> could be as simple as lines (thin dividers -- not scroll bars).

There is no need for dividers.  Just set the background to a different
color and give each tile a little padding or margin.

MB> I have a preference for the "active" abstraction for the entire tile
MB> to be optionally deligated to the panel manager as opposed to always
MB> being a property of the text inside of the tile.

Maybe we can write a tiling panel manager, then, which can run inside
any buffer and tile any content using the configurations you showed.
That would be generally useful, not just for mobile devices.

MB> My motivation is to facilitate getting things started towards Emacs
MB> Mobile. The maping between the container of a set of tiles into a
MB> panel can be at frame or window level. May be we need a separate
MB> abstraction name for the container of a set of tiles.

It would be simplest to call tiles by name (symbol or string) and nest
them inside frames (always using just one buffer per frame).  So you'd
define a tile with margin, padding, etc. properties:

(emacs-panel-tile-add "myfeeds" :margin 3 :text ... :call ...)
(emacs-panel-tile-add 'mychat :padding 2 :update-function ... :call ...)

and then use it in a tiled 3x3 layout:

(emacs-panel-popup-add "status" :tiles '(nil "myfeeds" nil 'mychat)
                                :background "black"
                                :layout-manager '(tile :x 3 :y 3))

Does that API seem OK?  Or do you still think a H/V split tree is needed
and we should support irregular grids?  Remember, they are more powerful
but also harder to use and configure...  So maybe we should start with
simple tiling and add irregular grids later.

On Fri, 03 Jun 2011 08:09:39 -0700 Mohsen BANAN <list-general@mohsen.1.banan.byname.net> wrote: 

MB> So, I am proposing experimentation with the following
MB> hierarchy:

MB>   - Bare-Frames (no mini-buf, no menu, ...)
MB>      - Related Windows
MB>         - Panels (Collection of Tiles)
MB>            - Tiles (Optionally Live and Active)

Yes.  We're at bare frames now, slowly moving towards panels and tiles.
I think a panel should be a frame.  I'm not sure what related windows
are.

MB> Consider use of emacs's calc on a handset.

Your example is useful, but you're jumping too far ahead.  Let's work on
the general panel and tiling functionality first.

Ted




  parent reply	other threads:[~2011-06-03 20:56 UTC|newest]

Thread overview: 131+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25  1:05 Emacs as a desktop environment Ted Zlatanov
2011-05-25  7:31 ` joakim
     [not found] ` <87ei3n1dph.fsf@mid.gehheimdienst.de>
2011-05-25 10:28   ` Ted Zlatanov
2011-05-25 16:45     ` PJ Weisberg
2011-05-25 16:33 ` Ken Raeburn
2011-05-25 17:44   ` Tom Tromey
2011-05-25 19:26   ` Evans Winner
2011-05-25 21:58     ` Lennart Borgman
2011-05-25 22:15       ` David Kastrup
2011-05-25 22:27         ` Lennart Borgman
2011-05-25 23:04       ` Christophe Poncy
2011-05-26  0:18     ` Ken Raeburn
2011-05-26  0:37       ` Stefan Monnier
2011-05-26  5:45       ` Ulrich Mueller
2011-05-27  1:50         ` Stephen J. Turnbull
2011-05-28  0:09           ` Nix
2011-05-28 10:25             ` Thien-Thi Nguyen
2011-05-28 10:44               ` Nix
2011-05-28 16:14                 ` David De La Harpe Golden
2011-05-30  8:34                   ` Julien Danjou
2011-05-25 22:08   ` Nix
2011-05-25 23:57     ` Ken Raeburn
2011-05-26  7:27       ` joakim
2011-05-26  8:33         ` Thierry Volpiatto
2011-05-26 14:16         ` BBDB in the GNU ELPA (was: Emacs as a desktop environment) Ted Zlatanov
2011-05-26 23:12           ` BBDB in the GNU ELPA Glenn Morris
2011-05-27  3:48             ` Stephen J. Turnbull
2011-05-27 12:53             ` Ted Zlatanov
2011-05-28 14:57           ` Bernt Hansen
2011-05-30 12:57             ` Ted Zlatanov
2011-05-30 18:08               ` Glenn Morris
2011-05-30 19:27                 ` Štěpán Němec
2011-05-30 19:42                   ` Glenn Morris
2011-05-31  9:56                     ` Ted Zlatanov
2011-05-25 23:35   ` Emacs as a desktop environment Ted Zlatanov
2011-05-26  1:33     ` Tom Tromey
2011-05-26 15:36     ` PJ Weisberg
2011-05-26 16:29       ` Ted Zlatanov
2011-05-26  0:58 ` Eric M. Ludlam
2011-05-26 15:21   ` Ted Zlatanov
2011-05-26 16:38     ` joakim
2011-05-27 12:50       ` Ted Zlatanov
2011-05-28  8:10         ` joakim
2011-05-28 17:49           ` just-the-text Emacs frame (was: Emacs as a desktop environment) Ted Zlatanov
2011-05-28 20:01             ` Emacs24 Mobile (was: Re: just-the-text Emacs frame (was: Emacs as a desktop environment)) Mohsen BANAN
2011-05-29  1:44               ` Emacs24 Mobile Ted Zlatanov
2011-05-29  2:00                 ` T.V. Raman
2011-05-30 17:11                   ` Lars Magne Ingebrigtsen
2011-05-28 20:18             ` just-the-text Emacs frame Thierry Volpiatto
2011-05-28 22:06               ` Ted Zlatanov
2011-05-29 10:12               ` joakim
2011-06-01 18:01             ` Ted Zlatanov
2011-06-02  2:43               ` Leo
2011-06-02  4:05                 ` Eli Zaretskii
2011-06-02 13:15                   ` Ted Zlatanov
2011-06-02 15:43                     ` Mohsen BANAN
2011-06-02 17:41                       ` Ted Zlatanov
2011-06-02 20:19                         ` Mohsen BANAN
2011-06-02 21:06                           ` Ted Zlatanov
2011-06-03 15:09                             ` Mohsen BANAN
2011-06-03 20:56                           ` Ted Zlatanov [this message]
2011-06-03 22:31                             ` Mohsen BANAN
2011-06-02 18:00                     ` Eli Zaretskii
2011-06-02 18:53                       ` GTK "decorated" and "deletable" properties (was: just-the-text Emacs frame) Ted Zlatanov
2011-06-02 20:49                         ` Eli Zaretskii
2011-06-02 20:59                           ` GTK "decorated" and "deletable" properties Ted Zlatanov
2011-06-03 15:21                             ` Jan Djärv
2011-06-03 16:29                               ` Ted Zlatanov
2011-06-03 16:39                                 ` Eli Zaretskii
2011-06-03 17:39                                   ` Ted Zlatanov
2011-06-03 17:39                                 ` Jan Djärv
2011-06-03 18:09                                   ` Ted Zlatanov
2011-06-10 20:58                                   ` sending X client messages from Emacs (was: GTK "decorated" and "deletable" properties) Ted Zlatanov
2011-06-10 21:27                                     ` sending X client messages from Emacs Chong Yidong
2011-06-10 21:49                                       ` Ted Zlatanov
2011-06-03  2:40                     ` just-the-text Emacs frame Leo
2011-06-03 11:36                       ` Ted Zlatanov
2011-06-03 11:55                         ` Leo
2011-06-03 15:15                           ` Ted Zlatanov
2011-06-04  3:51                             ` Leo
2011-06-04  7:02                               ` Eli Zaretskii
2011-06-03  9:24                     ` Julien Danjou
2011-06-03 11:40                       ` Ted Zlatanov
2011-06-03 13:16                         ` Julien Danjou
2011-06-03 15:11                           ` Ted Zlatanov
2011-06-03 15:27                             ` Julien Danjou
2011-06-03 16:30                             ` Jan Djärv
2011-06-03 17:37                               ` Ted Zlatanov
2011-06-03 18:06                                 ` Jan Djärv
2011-06-03 19:08                                   ` Ted Zlatanov
2011-06-06  8:38                                   ` Julien Danjou
2011-06-06  9:23                                     ` Jan Djärv
2011-06-06  9:34                                       ` Jan Djärv
2011-06-06 10:00                                       ` Julien Danjou
2011-06-06 20:52                                         ` Ted Zlatanov
2011-06-07  8:25                                           ` Julien Danjou
2011-06-10 16:28                                             ` Ted Zlatanov
2011-06-10 17:35                                               ` T.V. Raman
2011-06-10 18:57                                               ` chad
2011-06-10 20:53                                                 ` Ted Zlatanov
2011-06-11  8:04                                               ` Philipp Haselwarter
2011-06-11 10:45                                                 ` Ted Zlatanov
2011-06-07 15:54                                           ` org-src.el begin_src/end_src fontification may have been broken recently (was: just-the-text Emacs frame) Ted Zlatanov
2011-06-07 18:02                                             ` org-src.el begin_src/end_src fontification may have been broken recently Stefan Monnier
2011-06-07 18:17                                               ` Ted Zlatanov
2011-06-07 18:05                                             ` Jambunathan K
2011-06-07 19:02                                               ` Ted Zlatanov
2011-06-10  0:20                                             ` Ted Zlatanov
2011-06-10 16:23                                               ` Ted Zlatanov
2011-06-10 19:51                                                 ` Thierry Volpiatto
2011-06-10 23:00                                                 ` Bastien
2011-06-11 10:41                                                   ` Ted Zlatanov
2011-06-11 10:53                                                     ` Ted Zlatanov
2011-06-11 18:16                                                 ` Julien Danjou
2011-06-12 22:24                                                   ` Ted Zlatanov
2011-06-13  8:05                                                     ` Štěpán Němec
2011-06-13 14:38                                                       ` Eric Schulte
2011-06-13 15:36                                                       ` Ted Zlatanov
2011-06-14  9:41                                                         ` Julien Danjou
2011-06-14 16:08                                                           ` Ted Zlatanov
2011-06-15  8:12                                                             ` Julien Danjou
2011-06-15 14:55                                                               ` Ted Zlatanov
2011-06-20 13:32                                                                 ` Bastien
2011-06-06  8:32                               ` just-the-text Emacs frame Julien Danjou
2011-06-06  9:22                                 ` Jan Djärv
2011-05-26 17:50     ` Emacs as a desktop environment Tom Tromey
2011-06-13 17:36 ` taking over global key events (X, NS, W32) (was: Emacs as a desktop environment) Ted Zlatanov
2011-06-13 18:41   ` taking over global key events (X, NS, W32) joakim
2011-06-13 19:22     ` Mathias Dahl
2011-06-13 20:34       ` Ted Zlatanov
  -- strict thread matches above, loose matches on Subject: below --
2011-06-10 17:38 just-the-text Emacs frame T. V. Raman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqmud47f.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.