From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sat, 16 Jul 2005 08:48:25 -0400 From: Russ Cox To: Mike Casinghino , Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Acme and cscope shortcuts In-Reply-To: <2309aa18050716023846d2365a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2309aa18050716023846d2365a@mail.gmail.com> Cc: Topicbox-Message-UUID: 68485350-ead0-11e9-9d60-3106f5b1d025 > 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 =3D. > * 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=20 src/cmd/netfiles/acme.[ch]. Russ