From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.help Subject: Re: cut/paste support in X Windows (running Gnome) Date: Thu, 17 Mar 2005 17:00:47 -0500 Message-ID: References: <01c52a5e$Blat.v2.4$5e6b2620@zahav.net.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111096889 7527 80.91.229.2 (17 Mar 2005 22:01:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2005 22:01:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 17 23:01:28 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DC339-0008H3-3y for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Mar 2005 23:01:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DC3JV-0004Nw-OJ for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Mar 2005 17:17:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DC3Ik-00049d-BL for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 17:17:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DC3Ig-00047R-GH for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 17:17:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DC3Ig-00047H-AG for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 17:17:06 -0500 Original-Received: from [64.240.156.239] (helo=ore.jhcloos.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DC33K-0005bD-FA for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 17:01:14 -0500 Original-Received: from lugabout.jhcloos.org (host-69-48-10-193.roc.choiceone.net [69.48.10.193]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "lugabout.jhcloos.org", Issuer "ca.jhcloos.com" (verified OK)) by ore.jhcloos.com (Postfix) with ESMTP id 8735F1C36A; Thu, 17 Mar 2005 16:01:03 -0600 (CST) Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id BF07C4D42D2; Thu, 17 Mar 2005 22:00:49 +0000 (GMT) Original-To: sgnezdov@sergei.homeunix.org In-Reply-To: (Sergei Gnezdov's message of "Thu, 17 Mar 2005 03:08:59 +0000 (UTC)") X-Hashcash: 0:050317:sgnezdov@sergei.homeunix.org:27efacf2d52ed300 X-Hashcash: 0:050317:sgnezdov@sergei.homeunix.org:884af9f463616f7b X-Hashcash: 0:050317:help-gnu-emacs@gnu.org:e366e6164fed0ba1 Original-Lines: 34 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24909 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24909 >>>>> "Sergei" == Sergei Gnezdov writes: Sergei> 1. Set mark (Ctrl-Space) 2. Go to the end of the region to Sergei> copy 3. Press Ctrl-Ins. I just gave that a test. If you look at the output of C-h C- you'll probably find that is is bound to kill-ring-save which uses the value of the variable interprogram-cut-function for inserting the region into the cut-n-paste system. Im my case interprogram-cut-function is set to x-select-text and x-select-enable-clipboard is nil so I have to use middle-click rather than C-v to paste the text in other programs. (BTW, I had to look at the src of x-select-text to remind myself about x-select-enable-clipboard.) I bet that is your case as well. Try setting x-select-enable-clipboard to t and see whether you get the functionality you prefer. You can customize it: (customize-variable 'x-select-enable-clipboard) or just setq it in ~/.emacs: (setq x-select-enable-clipboard t) P.S. Apologies if I targeted this at a too low familiarity level at least it'll be there for the archive.... -JimC -- James H. Cloos, Jr.