From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: emacs doesn't use the X clipboard Date: 11 Jan 2004 07:46:34 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20040111002614.GM6119@luna.mooo.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1073800013 2446 80.91.224.253 (11 Jan 2004 05:46:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Jan 2004 05:46:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 11 06:46:50 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AfYQz-0000vb-00 for ; Sun, 11 Jan 2004 06:46:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AfZO4-0000yn-Nb for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Jan 2004 01:47:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AfZNU-0000uR-47 for help-gnu-emacs@gnu.org; Sun, 11 Jan 2004 01:47:16 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AfZMs-0000Nc-MH for help-gnu-emacs@gnu.org; Sun, 11 Jan 2004 01:47:09 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1AfZMr-0000H5-Mn for help-gnu-emacs@gnu.org; Sun, 11 Jan 2004 01:46:38 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: <20040111002614.GM6119@luna.mooo.com> (message from Micha Feigin on Sun, 11 Jan 2004 02:26:14 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:15921 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15921 > Date: Sun, 11 Jan 2004 02:26:14 +0200 > From: Micha Feigin > > How do I make emacs use the X clipboard. It seems to usually ignore it > (It will sometimes paste from the clipboard, but more often then not it > will paste from its own kill ring, even when using the middle mouse > button to paste) (I believe you mean "X selection", not the clipboard. Clipboard means something different in X than it does in MS-Windows.) Emacs pastes from X only if you didn't issue any command that kills text since the last X selection was made. In other words, if you select text in another application, then immediately paste inside Emacs, you should get the text you selected in that other application. This is so because each text you kill in Emacs is automatically put into the X selection, so if you do that before pasting from X, the text you kill in Emacs overshadows the previous X selection in another application.