unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: David De La Harpe Golden <david@harpegolden.net>
To: Drew Adams <drew.adams@oracle.com>
Cc: Chong Yidong <cyd@stupidchicken.com>, 6694@debbugs.gnu.org
Subject: bug#6694: 24.0.50; mouse-yank-primary tries to yank a *buffer*
Date: Thu, 22 Jul 2010 21:40:11 +0100	[thread overview]
Message-ID: <4C48ACAB.5070805@harpegolden.net> (raw)
In-Reply-To: <2FC5367FD85C40F08F9487247C14363C@us.oracle.com>

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).





  parent reply	other threads:[~2010-07-22 20:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 17:49 bug#6694: 24.0.50; mouse-yank-primary tries to yank a *buffer* Drew Adams
2010-07-21 18:21 ` Drew Adams
2010-07-22 20:40 ` David De La Harpe Golden [this message]
2010-08-07 19:57 ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C48ACAB.5070805@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=6694@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).