emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: mouse-2 on menu item yanks into current buffer


From: Drew Adams
Subject: RE: mouse-2 on menu item yanks into current buffer
Date: Tue, 7 Mar 2006 06:44:40 -0800

    >     I can't reproduce this on either 21.4 or CVS from 1 March
    >     on Windows XP.
    >
    > It must have been fixed then.

    Well, no, since I can't reproduce it in 21.4 either, which indicates
    that it hasn't ever been a problem in the Emacs 22 code. Either I
    misunderstood your report, or this is specific to your setup somehow.

    Here are the steps I used:

    1) emacs -q --no-site-file
    2) (setq w32-swap-mouse-buttons t)   ; to make mouse-2 accessible on my
    2 button mouse

    3) type some text in the scratch buffer and select it with the mouse.
    4) Open a menu with the mouse and right click one of the menu items.
    5a) Click on the menu normally to select an item and close the menu.
      b) Repeat step 4 and click outside the menu to cancel it without
    selecting an item.

    No text was inserted in the scratch buffer by either these tests.

I have a 3-button mouse (the one I'm testing with now is actually a 5-button
MS Intellimouse Explorer).

If I repeat your recipe, so that I can use mouse-3 to simulate mouse-2, then
the bug does not arise.

However, if I repeat the recipe I sent (really use mouse-2; that is, without
swapping buttons), then the bug arises systematically.

IIUC, your test does not reproduce what I reported (neither the test nor the
result). The conclusion is not that what I see is necessarily specific to my
setup (also emacs -q --no-site-file, BTW). It's possible that simulating a
3-button mouse with a 2-button mouse does not manifest the bug. IOW, it
would be good to test the recipe I sent, with a 3-button mouse, to see if
the problem is not specific to my setup.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]