help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy things out of Emacs


From: Tim X
Subject: Re: Copy things out of Emacs
Date: Wed, 23 May 2007 14:55:24 +1000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

poppyer <poppyer@gmail.com> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]