9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: yy <yiyu.jgl@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Acme column layout box and buttons
Date: Mon, 27 Apr 2009 14:48:41 +0200	[thread overview]
Message-ID: <a81fe9be0904270548v6d60aa2eqcd8df5171c5e6e11@mail.gmail.com> (raw)
In-Reply-To: <vf2ec6xngq.ln2@news.homelinux.net>

2009/4/27 Balwinder S Dheeman <bsd.SANSPAM@cto.homelinux.net>:
> That's a lot of good actions attached to all the three buttons for
> handling vertical layouts. How about adding similar actions to all the
> three buttons for managing horizontal layouts to a column /layout box/.
>

I had a patched version of acme to do this. It is not such a trivial
thing as it looks like, but it is not difficult. However, it doesn't
work so good in practice as in theory. I found disturbing that after
pressing the right button the column was moved to the first place, and
doing it without moving the column was a mess because of the mouse
events (at the end I think I just moved the column to the first place
and then back to its previous position). Other problem I had was that
I didn't have very clear what to do with the middle button (taking the
maximum space and having small columns is not a practical thing). On
the other hands, growing columns with the left button is an easier
thing (once you decide all your heuristics).
Anyway, it was my first look into acme code and there probably are
better ways to do it.
What did you have in mind?


--
- yiyus || JGL .



  parent reply	other threads:[~2009-04-27 12:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-27 11:51 Balwinder S Dheeman
2009-04-27 12:00 ` erik quanstrom
2009-04-27 12:48 ` yy [this message]
2009-04-28  9:19   ` Balwinder S Dheeman
2009-04-27 13:23 ` hiro

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=a81fe9be0904270548v6d60aa2eqcd8df5171c5e6e11@mail.gmail.com \
    --to=yiyu.jgl@gmail.com \
    --cc=9fans@9fans.net \
    /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.
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 NNTP newsgroup(s).