From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Bensen Newsgroups: gmane.emacs.help Subject: Re: Ctrl-Y is pasting from the clipboard Date: Mon, 18 Dec 2006 23:52:12 -0600 Organization: Prairienet, The Community Network For East Central Illinois Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1166510473 3508 80.91.229.2 (19 Dec 2006 06:41:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Dec 2006 06:41:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 19 07:41:08 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GwYes-00045X-Fn for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Dec 2006 07:41:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GwYer-0006TC-QL for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Dec 2006 01:41:01 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!nntp-server.caltech.edu!hammer.uoregon.edu!news.prairienet.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: slip-92.prairienet.org Original-X-Trace: wildfire.prairienet.org 1166507312 19496 192.17.3.112 (19 Dec 2006 05:48:32 GMT) Original-X-Complaints-To: newsmgr@prairienet.org Original-NNTP-Posting-Date: Tue, 19 Dec 2006 05:48:32 +0000 (UTC) User-Agent: Thunderbird 1.5 (X11/20051201) In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:144120 Original-To: help-gnu-emacs@gnu.org 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 Xref: news.gmane.org gmane.emacs.help:39723 Archived-At: Harald Hanche-Olsen wrote: > Nope. We don't do telepathy here. Sometimes experience and insight are adequate substitutes. > Tell us what your code looks like, and maybe we can begin to guess > what happened. Here's the code in .emacs: (global-set-key "\C-xcy" 'clipboard-yank) (global-set-key "\C-xck" 'clipboard-kill-region) (global-set-key "\C-xcc" 'clipboard-kill-ring-save) I restarted both emacs and X, and it's still working. I can copy text from Firefox or a pdf file and paste it into emacs with either Ctrl-y or Ctrl-x c y. I thought the emacs kill ring was different from the X clipboard. I added Ctrl-x c y|k|c because I had been having trouble moving text between emacs and X. -- Dan www.prairienet.org/~dsb