GNU bug report logs - #6689
24.0.50; No primary selection

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 21 Jul 2010 15:07:01 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: David De La Harpe Golden <david <at> harpegolden.net>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, 6689 <at> debbugs.gnu.org
Subject: bug#6689: 24.0.50; No primary selection
Date: Thu, 22 Jul 2010 22:20:42 +0100
On 21/07/10 16:06, Drew Adams wrote:
> emacs -Q
>
> In another Emacs session, select some text in any way and hit `M-w'.
>
> Click mouse-2 in the new Emacs session.  You get the error "No primary
> selection".

This is because w32 emacs' internal primary emulation is  presently 
intra-session only.  There may be a way to make it cross-session or even 
get primary-like behaviour to/from other w32 apps (involving 
accessibility apis), but it would be somewhat nontrivial.

"(global-set-key [mouse-2] 'mouse-yank-at-click)" will cause mouse-2 to 
revert to using the kill-ring/clipboard.

> Please restore selection, copying/killing, and yanking to what it was
> like before.

w32 in particular has actually long had a platform-specific default in 
place corresponding to the most major of the recent changes, funny enough.

Mind you, if you naively reversed the settings as presented in NEWS, it 
wouldn't actually restore the old settings on w32, because the fact w32 
e.g. already had x-select-enable-clipboard on by default isn't noted.




This bug report was last modified 14 years and 281 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.