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

Russ

Reply via email to