9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@gmx.de
To: mathieu.lonjaret@gmail.com
Cc: 9fans@9fans.net, plan9port-dev@googlegroups.com
Subject: Re: [9fans] tiny rio hack: Delete
Date: Tue,  9 Feb 2010 10:36:19 +0100	[thread overview]
Message-ID: <44ef048646aa5446f41fc8e338b7e2c8@gmx.de> (raw)
In-Reply-To: <d6145101f82fc180fd2b82117006cdc4@iram.fr>

[-- Attachment #1: Type: text/plain, Size: 753 bytes --]

20h did the first pie menu patch that is available on sources as a
real patch so the credit goes to him:

/n/sources/patch/sorry/piemenus-rio

used this for a long time but hidden window items cause the position
of the static items to change destroying the benefit of pie menus
where you can remember the direction of the action and then use it
blindly without scanning the pie.

what i did was write my own piemenu implementation using another
packing algo and adding sub menus to separate the dynamic
items.

/n/sources/contrib/cinap_lenrek/pierio

didnt release it as a patch because i did some other modifications
to rio like focus follows mouse and window cycling by keyboard
so that dir above contains all of this.

--
cinap

[-- Attachment #2: Type: message/rfc822, Size: 9749 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 145 bytes --]

I knew about that patch but I wanted to change the least possible to
the original code.

I think cinap is the one who did the pie menus btw.

[-- Attachment #2.1.2: Type: message/rfc822, Size: 6755 bytes --]

From: michael block <michaelmuffin@gmail.com>
To: plan9port-dev@googlegroups.com, 9fans@9fans.net
Subject: Re: tiny rio hack: Delete
Date: Mon, 8 Feb 2010 18:58:25 -0600
Message-ID: <3df301651002081658j32d4f3e9xb9f9be198153fea8@mail.gmail.com>

> [...] it has happened to me too often to select [delete] by mistake
> and to delete a window afterwards before I realized my mistake.

there is a patch on sources that allows you to change rio's linear menus
into pie menus. this allows you to associate the desired action with a
mouse gesture rather than requiring you to either remember the menu state
or to always look carefully at what you're doing. since i began using pie
menus with rio, my rate of absent-minded window loss has sharply dropped


satisfaction guaranteed. and thank you to whoever wrote the patch

  reply	other threads:[~2010-02-09  9:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-08 23:33 Mathieu Lonjaret
2010-02-09  0:58 ` michael block
2010-02-09  9:09   ` Mathieu Lonjaret
2010-02-09  9:36     ` cinap_lenrek [this message]
2010-02-09 21:59       ` [9fans] " Michaelian Ennis
2010-02-09 22:26         ` Federico G. Benavento

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=44ef048646aa5446f41fc8e338b7e2c8@gmx.de \
    --to=cinap_lenrek@gmx.de \
    --cc=9fans@9fans.net \
    --cc=mathieu.lonjaret@gmail.com \
    --cc=plan9port-dev@googlegroups.com \
    /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).