From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Allan Streib Newsgroups: gmane.emacs.help Subject: Re: x-selection-value slow with primary selection Date: Wed, 09 Oct 2013 11:41:27 -0400 Message-ID: <87wqlmbgew.fsf@indiana.edu> References: <87d2nfendr.fsf@indiana.edu> <97AB7F49-3D5D-4B0B-821B-ED21165961B5@Web.DE> <525574f1$0$2218$426a74cc@news.free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1381333317 25149 80.91.229.3 (9 Oct 2013 15:41:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2013 15:41:57 +0000 (UTC) To: Damien Wyart , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 09 17:42:00 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VTvtf-0006BN-EH for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 17:41:59 +0200 Original-Received: from localhost ([::1]:42533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTvte-000828-NG for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 11:41:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTvtL-00081d-4W for help-gnu-emacs@gnu.org; Wed, 09 Oct 2013 11:41:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTvtB-0006Hq-Tt for help-gnu-emacs@gnu.org; Wed, 09 Oct 2013 11:41:39 -0400 Original-Received: from belushi.uits.indiana.edu ([129.79.1.188]:20825 helo=hartman.uits.indiana.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTvtB-0006Hf-PM for help-gnu-emacs@gnu.org; Wed, 09 Oct 2013 11:41:29 -0400 X-IronPort-AV: E=Sophos;i="4.90,1064,1371096000"; d="scan'208";a="78842188" Original-Received: from mssg-relay.indiana.edu ([129.79.1.73]) by irpt-internal-relay.indiana.edu with ESMTP; 09 Oct 2013 11:41:28 -0400 Original-Received: from hartman.uits.indiana.edu (hartman.uits.indiana.edu [129.79.1.194]) by mssg-relay.indiana.edu (8.14.7/8.14.4/IU Messaging Team) with ESMTP id r99Ff9Om009783; Wed, 9 Oct 2013 11:41:28 -0400 X-IronPort-AV: E=Sophos;i="4.90,1064,1371096000"; d="scan'208";a="5041133" Original-Received: from burns.uits.indiana.edu (HELO mail-relay.iu.edu) ([129.79.1.202]) by irpt-internal-relay.indiana.edu with ESMTP; 09 Oct 2013 11:41:28 -0400 Original-Received: from viking (129-79-49-168.dhcp-bl.indiana.edu [129.79.49.168]) (authenticated bits=0) by mail-relay.iu.edu (8.14.7/8.14.4/IU Messaging Team Submission) with ESMTP id r99FfSC7021805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Oct 2013 11:41:28 -0400 Original-Received: from localhost (1000@localhost [local]); by viking (OpenSMTPD) with ESMTPA id 0525527d; Wed, 9 Oct 2013 11:41:27 -0400 (EDT) In-Reply-To: <525574f1$0$2218$426a74cc@news.free.fr> User-Agent: Notmuch/0.16+80~g81ee785 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-openbsd) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 129.79.1.188 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93891 Archived-At: Damien Wyart 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