9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <forsyth@terzarima.net>
To: mike.casinghino@gmail.com, 9fans@cse.psu.edu
Subject: Re: [9fans] Acme and cscope shortcuts
Date: Sat, 16 Jul 2005 11:18:15 +0100	[thread overview]
Message-ID: <138690929bd7a032cc8e464380b6a3a5@terzarima.net> (raw)
In-Reply-To: <2309aa18050716023846d2365a@mail.gmail.com>

>>* 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.)

        Chords of mouse buttons
			...

          Commands may be given extra arguments by a mouse chord with
          buttons 2 and 1.  While holding down button 2 on text to be
          executed as a command, clicking button 1 appends the text
          last pointed to by button 1 as a distinct final argument.
          For example, to search for literal text one may execute Look
          text with button 2 or instead point at text with button 1 in
          any window, release button 1, then execute Look, clicking
          button 1 while 2 is held down.

          When an external command (e.g.  echo(1)) is executed this
          way, the extra argument is passed as expected and an envi-
          ronment variable $acmeaddr is created that holds, in the
          form interpreted by button 3, the fully-qualified address of
          the extra argument.

in short, 2-1 chord executes the command with the selection as argument

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

	/acme/mail/guide
	/acme/mail/readme



  reply	other threads:[~2005-07-16 10:18 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 [this message]
2005-07-16 12:48 ` Russ Cox
     [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=138690929bd7a032cc8e464380b6a3a5@terzarima.net \
    --to=forsyth@terzarima.net \
    --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).