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>, 6689@debbugs.gnu.org
Subject: bug#6689: 24.0.50; No primary selection
Date: Thu, 22 Jul 2010 22:20:42 +0100	[thread overview]
Message-ID: <4C48B62A.2030709@harpegolden.net> (raw)
In-Reply-To: <B9543E404CD7485A966D4E09961C3602@us.oracle.com>

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.





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

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 15:06 bug#6689: 24.0.50; No primary selection Drew Adams
2010-07-22 21:20 ` David De La Harpe Golden [this message]
2010-07-22 21:35   ` Drew Adams
2010-07-22 22:16     ` Chong Yidong
2010-07-22 22:34       ` Drew Adams
2010-07-22 23:49         ` Juanma Barranquero
2010-07-23 10:36         ` Eli Zaretskii
2010-07-23 14:57           ` Drew Adams
2010-07-23 15:33             ` Eli Zaretskii
2010-07-23 16:14               ` Drew Adams
2010-08-04 20:43                 ` Drew Adams
2010-08-04 23:22                   ` David De La Harpe Golden
2010-08-05  0:19                     ` Drew Adams
2010-08-05  0:29                       ` Chong Yidong
2010-08-05  0:39                         ` Drew Adams
2010-08-05  5:40                       ` Jason Rumney
2010-08-05  6:51                         ` Drew Adams
2010-08-12 20:37                           ` Drew Adams
2010-08-05  3:04                   ` Eli Zaretskii
2010-08-14 15:47             ` Eli Zaretskii
2010-07-23 10:39   ` Eli Zaretskii

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=4C48B62A.2030709@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=6689@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).