Subject: bug#11355: 24.1.50; Middle click on flyspell-mode fixes a word, but also paste text

From: Eli Zaretskii <[email-masked]>
Date: Fri, 27 Apr 2012 09:29:25 +0300

> Date: Thu, 26 Apr 2012 23:59:47 -0300
> From: Daniel de Angelis Cordeiro <[email-masked]>
> Cc: [email-masked]
> 
> Yes. :(
> 
> I followed these steps:
> 
> 1. run `emacs -Q /tmp/non-existent-file.tex`;
> 2. wrote some text;
> 3. copied it (with alt+w);
> 4. run M-x flyspell-mode;
> 5. middle click in a misspelled word;
> 6. right click on one of the suggestions presented by the spell checker;
> 
> The expected result: the word should be replaced with the suggestion
> chose from the list
> Actual result: the corrected word, with the copied text in the middle
> of the word (the text is pasted in the middle of the word, on the
> point where I clicked with the middle button of the mouse).

What does "C-h l" show after all this?

Also, is the copied text pasted if you click the left button on the
suggestion presented by the speller, instead of the right button?