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:01:32 -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 1111097433 10033 80.91.229.2 (17 Mar 2005 22:10:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2005 22:10:33 +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:10:32 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DC3Bz-0001BQ-B6 for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Mar 2005 23:10:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DC3SM-0008V3-0P for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Mar 2005 17:27:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DC3PR-0007PB-BG for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 17:24:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DC3PM-0007LF-2U for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 17:24:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DC3PK-00078Q-Fg for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 17:23:58 -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 1DC33u-0005fb-AK for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 17:01:50 -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 AE59D1C36A; Thu, 17 Mar 2005 16:01:44 -0600 (CST) Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id 103CE4D42D2; Thu, 17 Mar 2005 22:01:33 +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:ad8c77b3cad3c7db X-Hashcash: 0:050317:help-gnu-emacs@gnu.org:232edcb2d50b61bc 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:24910 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24910 >>>>> "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.