From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <138690929bd7a032cc8e464380b6a3a5@terzarima.net> To: mike.casinghino@gmail.com, 9fans@cse.psu.edu Subject: Re: [9fans] Acme and cscope shortcuts From: Charles Forsyth Date: Sat, 16 Jul 2005 11:18:15 +0100 In-Reply-To: <2309aa18050716023846d2365a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: Topicbox-Message-UUID: 6844067e-ead0-11e9-9d60-3106f5b1d025 >>* 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