>     In the *scratch* buffer type part of a symbol and type M-TAB.
>     In the *Completions* buffer click <mouse-1> on a completion string.
>
> I think I fixed this.  Does it work now?

Not quite.  Now it works very strangely.

When the first mouse click in a new Emacs instance is <mouse-2>, then all
subsequent <mouse-1> clicks in the same Emacs instance work correctly.

Test case that works correctly:

emacs -q
d e f M-TAB
<mouse-2> on a completion in the *Completions* buffer
C-x u
M-TAB
<mouse-1> on a completion in the *Completions* buffer

But if the first click is <mouse-1>, this causes an error.
Test case that fails:

emacs -q
d e f M-TAB
<mouse-1> on a completion in the *Completions* buffer

displays the error message:

insert-for-yank: Buffer is read-only: #<buffer *Completions*>

After the second click <mouse-1> on the same completion it inserts the
completion string to the *scratch* buffer, but leaves point in the same
window where the *Completions* buffer was.

-- 
Juri Linkov
http://www.jurta.org/emacs/



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to