all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Allan Streib <astreib@indiana.edu>
To: Damien Wyart <damien.wyart@free.fr>, help-gnu-emacs@gnu.org
Subject: Re: x-selection-value slow with primary selection
Date: Wed, 09 Oct 2013 11:41:27 -0400	[thread overview]
Message-ID: <87wqlmbgew.fsf@indiana.edu> (raw)
In-Reply-To: <525574f1$0$2218$426a74cc@news.free.fr>

Damien Wyart <damien.wyart@free.fr> writes:

> You can try:
>
>   (setq yank-excluded-properties t)

Thanks. I tried that and found that it didn't make any real difference,
so it maybe isn't an issue of the text properties.

I looked at the code for the x-selection-value function, and found that
it is checking both the X Clipboard and the X Primary selection text,
and that this can be controlled by the x-select-enable-clipboard and
x-select-enable-primary variables. Since I almost always want to use the
Primary selection, I set this in my .emacs and have found great
improvement:

(setq
  x-select-enable-clipboard nil
  x-select-enable-primary t)

Allan



      reply	other threads:[~2013-10-09 15:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-08 16:30 x-selection-value slow with primary selection Allan Streib
2013-10-09  9:06 ` Peter Dyballa
2013-10-09 14:41   ` Allan Streib
     [not found]   ` <mailman.3676.1381329693.10748.help-gnu-emacs@gnu.org>
2013-10-09 15:23     ` Damien Wyart
2013-10-09 15:41       ` Allan Streib [this message]

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=87wqlmbgew.fsf@indiana.edu \
    --to=astreib@indiana.edu \
    --cc=damien.wyart@free.fr \
    --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.