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

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

Re: flyspell.el: down-mouse-2 leads to unwanted text insertion


From: Ralf Angeli
Subject: Re: flyspell.el: down-mouse-2 leads to unwanted text insertion
Date: Fri, 01 Apr 2005 21:48:59 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

* Stefan Monnier (2005-04-01) writes:

>> If you have flyspell-mode enabled, click with mouse-2 on a highlighted
>> word not in the dictionary and choose "Save word".  After that, text
>> currently in the kill ring will be yanked into the buffer.
>
>> This was probably introduced by changing mouse-2 to down-mouse-2 in
>> `flyspell-mode-map' because the problem does not show up with mouse-2.
>
> Hmm... when you press down-mouse-2, you get a menu, right?
> Why doesn't the Gtk menu eat the button-up event?
> Could you redo the operation slowly, and describe in detail what happens at
> each button press and each button release?

Hm, it now was surprisingly hard for me to reproduce it.  Surprising
because when I wrote the bug report I was annoyed by it happening so
often.  It seems to happen only when there is an active selection,
e.g. a part of the buffer marked by dragging with mouse-1.  (I
normally have transient-mark-mode enabled; maybe this is related.)
Then when I press down-mouse-2, nothing happens and the menu pops up
only when the mouse button is released.  After selecting the "Save
word" menu item, the menu is closed and the text from the marked
region is inserted.

-- 
Ralf




reply via email to

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