From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 10 Jun 2009 10:26:15 -0700 Message-ID: Subject: Re: [9fans] acme: 2-1chord on Edit in a 'win window' tag doesn't work From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 08a66fa4-ead5-11e9-9d60-3106f5b1d025 > In some acme window I have a command, e.g simply s/f/g/, I select it > with a mouse and 2-1 chord it on the Edit command in a tag line of a > window in which there is win running and also some text (for us e.g. > abcdefgh) is selected. Nothing happens. Only when the s/f/g/ is copied > in the tag line and the whole (together with the Edit) is 2-selected, > the command is executed, i.e. abcdefgh -> abcdeggh. > > This only happens for a win window, ordinary text window is ok as well > as a directory window. This is a design bug in acme. Acme sends events like this to external programs to handle, and if the program can't handle it, it sends the event back. Unfortunately, the "send it back" protocol is more limited and doesn't include a way to echo back the fact that this was an argument from a different window. So after this game of telephone, acme thinks you just 2-clicked Edit, not 2-1 clicked. Russ