From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: Need help with emacs clipboard. Date: Wed, 14 Jan 2015 11:36:23 -0500 Organization: Still searching... Message-ID: <87egqxb9q0.fsf@reader.local.lan> References: <20150113212722522787447@bob.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421253441 6530 80.91.229.3 (14 Jan 2015 16:37:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2015 16:37:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 14 17:37:14 2015 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 1YBQwU-0003qT-Gs for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2015 17:37:14 +0100 Original-Received: from localhost ([::1]:47051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBQwT-0001IE-VB for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2015 11:37:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBQw6-0001I4-Q3 for help-gnu-emacs@gnu.org; Wed, 14 Jan 2015 11:36:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBQvy-0008Q7-Ce for help-gnu-emacs@gnu.org; Wed, 14 Jan 2015 11:36:50 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBQvy-0008PD-6P for help-gnu-emacs@gnu.org; Wed, 14 Jan 2015 11:36:42 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YBQvu-0003au-2v for help-gnu-emacs@gnu.org; Wed, 14 Jan 2015 17:36:38 +0100 Original-Received: from c-76-97-127-193.hsd1.ga.comcast.net ([76.97.127.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Jan 2015 17:36:38 +0100 Original-Received: from reader by c-76-97-127-193.hsd1.ga.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Jan 2015 17:36:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-76-97-127-193.hsd1.ga.comcast.net User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:Bb5IbmpyEQBWduEonzY+kivNbaY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:102066 Archived-At: Bob Proulx writes: > This won't help you because you want the opposite but just to post my > example this is what I do to configure emacs to be usable on the X > desktop using the primary selection. > > (setq transient-mark-mode nil) > (setq select-active-regions nil) ; default is nil in 23, t in 24 > (setq mouse-drag-copy-region t) ; default is t in 23, nil in 24 > (setq x-select-enable-primary t) ; default is nil in 23, t in 24 > (setq x-select-enable-clipboard nil) ; default is nil in 23, t in 24 > (setq x-select-enable-clipboard-manager nil) ; new in 24, default is t Bob, just slipped in here to see if I could get you to show how to put all that into a single statement that does all those things with one command. I'm thinking to be able to turn it off and on quickly. Sorry I'm so horribly lazy but staggering around with that has resulted in a visit to the emergency room for paren-mania. They only had one real treatment that worked... lots of morphine.