From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Copy things out of Emacs Date: Wed, 23 May 2007 14:55:24 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <873b1ocf5v.fsf@lion.rapttech.com.au> References: <87y7jle8pt.fsf@lion.rapttech.com.au> <87k5v5kzi5.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179898881 15516 80.91.229.12 (23 May 2007 05:41:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 May 2007 05:41:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 23 07:41:18 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hqjb2-0000Yf-MZ for geh-help-gnu-emacs@m.gmane.org; Wed, 23 May 2007 07:41:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hqjb3-0006GW-Op for geh-help-gnu-emacs@m.gmane.org; Wed, 23 May 2007 01:41:17 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!sn-xt-sjc-02!sn-xt-sjc-07!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:9DFr/oN5gjDl7xutX0xktWKHKHo= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 41 Original-Xref: shelby.stanford.edu gnu.emacs.help:148721 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:44310 Archived-At: poppyer writes: >> Am 22.05.2007 um 22:06 schrieb Leo: >> >> > Is there something similar to `x-select-enable-clipboard' that >> > works in >> > terminal? >> >> Why do you want this? Can't you copy and paste with your windowing >> system's functions? At least that's what I do ... >> > No, I cannot. When the line is longer than the Terminal width, and the > buffer is read-only. What should I do? > I still don't get this. I guess it must be something odd with the xterm mouse mode, but I don't have any problems with this at all. I can copy multiple screenfuls of text from emacs running in an xterm into another application regardless of the mode of the buffer. I can also copy multiple lines of text with the xterm mouse mode enabled as long as I hold down the shift key while doing it, but have not tried it in a read only buffer. Is the problem with long lines because you have emacs configured to truncate long lines rather than wrapping, so you can't see/get to the part of the line not displayed? If this is the case, then don't use the mouse, but instead, use the keyboard. While you may find things more natural with the mouse, once you get use to it and you have mastered your emacs movement commands and key bindings, marking the reason and copying it to antoher applicaiton is much much faster with the keyborad than with the mouse and tends to be more accurate (of course, you probably will need the mouse to paste into the other app, even if it is just to get the cursor in the right position. BTW There should never be any restriction on copying text from a read-only buffer. Tim -- tcross (at) rapttech dot com dot au