From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: RE: [9fans] acme From: "Russ Cox" Date: Fri, 15 Jun 2007 00:12:44 -0400 In-Reply-To: <20070613111322.AC16E1E8C4F@holo.morphisms.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20070615041245.9BA511E8C4D@holo.morphisms.net> Topicbox-Message-UUID: 7f1565e4-ead2-11e9-9d60-3106f5b1d025 >> 1. acme -c1 /rc/bin/termrc /rc/bin/cpurc >> 2. Highlight the second line of termrc (# terminal startup) >> 3. Highlight the second line of cpurc (# cpu server start up) >> 4. 2-click Snarf in the termrc tag line >> 5. mouse-1-3 to paste into the termrc tag line >> >> You will see that Snarf in the termrc window grabbed the >> highlighted text from the cpurc window. >> >> acme(1) is ambiguous -- it simply says: >> Snarf >> Place selected text in snarf buffer. >> >> But which selected text? We seem to be assuming it means the selected >> text in the window where you clicked Snarf. Otherwise why have a >> Snarf in every window's tag? But in fact it seems to be the text >> which was most recently selected, regardless of which window or tag >> line it is in. > > Aha. This bug was introduced in December 2005 > trying to fix a different bug. I never copied the bug > fix into the p9p acme so that's why I couldn't > reproduce it in casual testing. > > Will have to think harder about this; thanks for > the test case. Fixed now on sources. Should be a new binary later. Russ