9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: Mike Casinghino <mike.casinghino@gmail.com>,
	Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Acme and cscope shortcuts
Date: Sat, 16 Jul 2005 08:48:25 -0400	[thread overview]
Message-ID: <ee9e417a050716054830cbef53@mail.gmail.com> (raw)
In-Reply-To: <2309aa18050716023846d2365a@mail.gmail.com>

> I was thinking of adding some keyboard + mouse-button shortcuts into
> acme, and was wondering if anyone has suggested this or actually tried
> it before. Here's a short list of what I'd like to do.

Plan 9 keeps the keyboard and mouse separate.  They're different
input devices and are treated as such.  Also, Alt is taken for compose
sequences (so typing Alt, *, a gets you a unicode alpha).

> * In a text window, holding down Alt and clicking button-3 would
> reverse search for the selected text.

I sometimes do wish there was an easier reverse search, but
:-/text will get the job done.

> * Holding Alt and clicking button-2 in the tagline would run the
> tagline command with the selection as an argument. (That would work
> *great* with the cscope trick above.)

As Charles pointed out, a chord exists already for this.

> * Holding Ctrl and clicking button-2 in the tagline would clear the
> output window before running the command.

This seems of dubious value.  I just Del the output window
(I assume you mean the dir/+Errors window) when I want it cleared.

> * A Lineno tag keyword that displays line numbers in a text window.

You mean like vi's :set number?  That'd be hard to implement.
You can get to a particular line with :123 in the tag and you can
find out where you are with Edit =.

> * Oh, and mail so I can finally ditch mutt

Please please please.  Work on this.  Plan 9 has a really nice mail
system that you won't be able to duplicate easily on Unix but at
the least we could get a simple acme mail (maybe based on mh)
going.  There is a framework for writing acme clients in 
src/cmd/netfiles/acme.[ch].

Russ


  parent reply	other threads:[~2005-07-16 12:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-16  9:38 Mike Casinghino
2005-07-16 10:18 ` Charles Forsyth
2005-07-16 12:48 ` Russ Cox [this message]
     [not found]   ` <2309aa1805071611221ec2b908@mail.gmail.com>
2005-07-16 18:24     ` Fwd: " Mike Casinghino
2005-07-16 18:45       ` Steve Simon
2005-07-16 19:00   ` Charles Forsyth

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=ee9e417a050716054830cbef53@mail.gmail.com \
    --to=russcox@gmail.com \
    --cc=9fans@cse.psu.edu \
    --cc=mike.casinghino@gmail.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).