GNU bug report logs -
#6694
24.0.50; mouse-yank-primary tries to yank a *buffer*
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Wed, 21 Jul 2010 17:51:01 UTC
Severity: normal
Found in version 24.0.50
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6694 in the body.
You can then email your comments to 6694 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6694
; Package
emacs
.
(Wed, 21 Jul 2010 17:51:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Drew Adams" <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 21 Jul 2010 17:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I click mouse-1 at the left of some text and then mouse-3 at the right
of it, to select it (a Lisp symbol). Then I try to yank it using
`mouse-2':
Debugger entered--Lisp error: (wrong-type-argument char-or-string-p #<buffer
throw-x-at-pt.el>)
mouse-yank-primary((mouse-2 (#<window 8 on throw-x-at-pt.el> 4906 (392 . 488)
12477031 nil 4906 (49 . 33) nil (224 . 9) (8 . 14))))
call-interactively(mouse-yank-primary nil nil)
Yanking it with C-y works OK. So the problem is not with what was
copied but with `mouse-yank-primary'.
This is silly. Please restore the normal copy/paste behavior for the
mouse. It seems completely broken now.
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2010-07-19 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/xpm/include'
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6694
; Package
emacs
.
(Wed, 21 Jul 2010 18:21:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 6694 <at> debbugs.gnu.org (full text, mbox):
Correction: Clicking mouse-1, then mouse-3 apparently does *not* copy the
selection to the kill ring. When I said that C-y worked, I must have used M-w
first.
Without M-w, C-y doesn't work either (after selecting using mouse-1, 3).
The mouse should work normally for selection and wrt the kill-ring.
This is Emacs.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6694
; Package
emacs
.
(Thu, 22 Jul 2010 20:41:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 6694 <at> debbugs.gnu.org (full text, mbox):
On 21/07/10 18:49, Drew Adams wrote:
> I click mouse-1 at the left of some text and then mouse-3 at the right
> of it, to select it (a Lisp symbol). Then I try to yank it using
> `mouse-2':
>
> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p #<buffer
> throw-x-at-pt.el>)
Ah, this would be a genuine bug, then.
What's happening here is that w32's internal emulation of a primary is
incomplete - relatively recently, it became valid on canonical x11 emacs
to set selection to a buffer (or a cons of markers), with the meaning
the selection is (lazily) the string between the point and mark of the
buffer (or the markers).
w32's fake selection handling needs update to include this possibility.
(It needs this update regardless of changes to the defaults, the
defaults have just successfully thrown a spotlight on the breakage).
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6694
; Package
emacs
.
(Sat, 07 Aug 2010 19:57:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 6694 <at> debbugs.gnu.org (full text, mbox):
> I click mouse-1 at the left of some text and then mouse-3 at the right
> of it, to select it (a Lisp symbol). Then I try to yank it using
> `mouse-2':
>
> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p #<buffer
> throw-x-at-pt.el>)
This should be fixed now; Emacs no longer uses this mechanism for
setting the primary.
bug closed, send any further explanations to "Drew Adams" <drew.adams <at> oracle.com>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> debbugs.gnu.org
.
(Sat, 07 Aug 2010 19:58:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 05 Sep 2010 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 343 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.