all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs24 X primary selection changes
Date: Thu, 3 Jan 2013 15:58:09 -0700	[thread overview]
Message-ID: <20130103225809.GC13649@hysteria.proulx.com> (raw)
In-Reply-To: <F968E9E5B7AF4CEE9258557A75BCEE25@us.oracle.com>

Drew Adams wrote:
> > (setq select-active-regions nil
> >       mouse-drag-copy-region t
> >       x-select-enable-primary t
> >       x-select-enable-clipboard nil)
> > 
> > to get sane selection/X interaction defaults back.      
> 
> +1 to getting back sane defaults.

Are you also having this problem on MS Windows?

> But I use non-nil `x-select-enable-clipboard'.

Probably the best answer for you on MS-Windows.  Does Windows have
anything other than the clipboard?  I don't know.

> (And there is no `x-select-enable-primary' on MS Windows.)

Well... Since I was asking about the X primary selection the above
answer was perfect for me on a Unix or GNU machine.  The question is
specifically about X Windows and not MS Windows.  On MS Windows I have
no idea but assume there is only the Windows clipboard.  There
wouldn't be an X cut buffer unless you have done something to install
X Windows onto your MS machine.  I'd expect that to be very unusual.

The above variables are all present in emacs v23 and the above values
return them to the v23 default values.  I had actually noticed the new
x-select-enable-clipboard-manager in v24 but had not found the above
full set and hadn't gotten it working for me.  The above answer was
perfect given the question.

Also to be clear using the mouse to cut and paste always worked.  It
was the previous emacs behavior of using the keyboard to interact with
the cut buffer that changed.  Previously (and now again with the above
setting, thank you!) the act of killing text in emacs or yanking text
in emacs using C-w and C-y and the other related commands would cut
into the X cut buffer and yank from the X cut buffer.  The default in
v24 has changed so that this no longer happens.  I don't know why the
default was changed.  I assume it is further encroachment of CUA mode
to be more MS Windows like since I can't think of any other reason.

Bob



  reply	other threads:[~2013-01-03 22:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.16628.1357248711.855.help-gnu-emacs@gnu.org>
2013-01-03 21:37 ` emacs24 X primary selection changes Lars Magne Ingebrigtsen
2013-01-03 21:49   ` Bob Proulx
2013-01-03 22:38   ` Drew Adams
2013-01-03 22:58     ` Bob Proulx [this message]
2013-01-03 23:03       ` Drew Adams
2013-01-04  0:12         ` Bob Proulx
2013-01-04  0:33           ` Drew Adams
2013-01-04  0:49             ` Bob Proulx
     [not found]             ` <mailman.16650.1357260567.855.help-gnu-emacs@gnu.org>
2013-01-04  4:31               ` Jason Rumney
2013-01-04 23:03                 ` Bob Proulx
2013-01-05  5:12                   ` Yuri Khan
2013-01-07 20:30           ` Ken Goldman
     [not found]         ` <mailman.16641.1357258383.855.help-gnu-emacs@gnu.org>
2013-01-04  4:25           ` Jason Rumney
2013-01-05  1:45             ` Thomas E. Dickey
2013-01-05 22:54               ` Bob Proulx
2013-01-04  8:34         ` Eli Zaretskii
2013-01-04 23:11           ` Bob Proulx
2013-01-05  7:47             ` Eli Zaretskii
     [not found]           ` <mailman.16717.1357341108.855.help-gnu-emacs@gnu.org>
2013-01-05 14:18             ` Jason Rumney
2013-01-03 21:31 Bob Proulx
2013-01-08 15:57 ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=20130103225809.GC13649@hysteria.proulx.com \
    --to=bob@proulx.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.