From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: chem Newsgroups: gmane.emacs.help Subject: Re: Copying & Pasting Text Between emacs & Other X Apps Date: Sat, 12 Jun 2004 03:54:50 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <86hdth5ymt.fsf@ifrance.com> References: <40BD1F9A.1020006@yahoo.com> <863c5ejd3e.fsf@rumba.de.uu.net> <40C9E418.30001@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087005329 29616 80.91.224.253 (12 Jun 2004 01:55:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Jun 2004 01:55: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 Sat Jun 12 03:55:23 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BYxju-0001eT-00 for ; Sat, 12 Jun 2004 03:55:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BYxkf-00058i-Tk for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jun 2004 21:56:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BYxkY-00058W-53 for help-gnu-emacs@gnu.org; Fri, 11 Jun 2004 21:56:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BYxkW-00058D-FG for help-gnu-emacs@gnu.org; Fri, 11 Jun 2004 21:56:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BYxkW-000583-Bs for help-gnu-emacs@gnu.org; Fri, 11 Jun 2004 21:56:00 -0400 Original-Received: from [195.46.220.210] (helo=mx.noos.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BYxjP-00041H-QT for help-gnu-emacs@gnu.org; Fri, 11 Jun 2004 21:54:52 -0400 Original-Received: from noos.fr (pm-mnet3.mgn.net [195.46.220.218]) by mx.noos.fr (Postfix) with SMTP id 0805026A1C; Sat, 12 Jun 2004 03:54:51 +0200 (MEST) X-Mailbox-Line: From chemtov@ifrance.com Sat Jun 12 03:54:50 2004 Original-Received: from linux.localdomain (linux.localdomain [81.66.230.85]) by pm-mnet3.mgn.net with ESMTP; Sat, 12 Jun 2004 03:54:50 (MEST) Original-Received: by linux.localdomain (Postfix, from userid 35) id E7F9ABA6EA; Sat, 12 Jun 2004 03:54:50 +0200 (CEST) Original-To: Andrew Shepard Mail-Followup-To: Andrew Shepard , help-gnu-emacs@gnu.org In-Reply-To: <40C9E418.30001@yahoo.com> (Andrew Shepard's message of "Fri, 11 Jun 2004 09:55:52 -0700") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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:18952 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18952 > If I'm in my Gnome desktop running emacs in a gnome-terminal window, I > can copy and paste text from an application, e.g., Mozilla mail to > emacs (Ctrl-C to copy from Mozilla, Ctrl-y to paste to emacs) but I > can't figure out how to copy from emacs to Mozilla (or any other app). You can just use the second button of your mouse, like in other X11 apps. The thing is that, unlike window, X11 has 2 (maybe more?) temporary buffer for killed (cut), or copied text : - the usual (from windows point of view) one that you describe; - another one! which work with underline. Say, you've just underline some text with the mouse in any app (even in your term), you just then middle-click (or SHIFT-INS ) to paste it! The relevant variables in emacs are: - interprogram-cut-function; - interprogram-paste-function. A last thing, try C-u, in a X app like moz. Try also, some of the classic keyboard shortcuts from emacs everywhere, they often run (C-k, ...) Hope, this help. -- Chemtov