* Re: Copy things out of Emacs
[not found] <mailman.831.1179525659.32220.help-gnu-emacs@gnu.org>
@ 2007-05-18 22:37 ` poppyer
2007-05-18 23:36 ` Leo
2007-05-19 4:30 ` Tim X
0 siblings, 2 replies; 22+ messages in thread
From: poppyer @ 2007-05-18 22:37 UTC (permalink / raw)
To: help-gnu-emacs
I think it is terminal's function, try using <shift> + mouse.
However, I still have problem when copy a very LONG line from emacs out,
since I can not select it with mouse.
Leo <sdl.web@gmail.com> writes:
> Hi all,
>
> When running Emacs in terminal with xterm-mouse-mode enable, how can I
> copy things out of Emacs to other applications for example to firefox?
> Middle click does not work for me.
>
> Best,
> --
> Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
>
>
>
--
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Copy things out of Emacs
2007-05-18 22:37 ` Copy things out of Emacs poppyer
@ 2007-05-18 23:36 ` Leo
2007-05-19 4:30 ` Tim X
1 sibling, 0 replies; 22+ messages in thread
From: Leo @ 2007-05-18 23:36 UTC (permalink / raw)
To: help-gnu-emacs
----- poppyer (2007-05-18) wrote:-----
> I think it is terminal's function, try using <shift> + mouse.
>
> However, I still have problem when copy a very LONG line from emacs
> out, since I can not select it with mouse.
Thanks.
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Copy things out of Emacs
2007-05-18 22:37 ` Copy things out of Emacs poppyer
2007-05-18 23:36 ` Leo
@ 2007-05-19 4:30 ` Tim X
2007-05-19 7:13 ` Leo
[not found] ` <mailman.851.1179558915.32220.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 22+ messages in thread
From: Tim X @ 2007-05-19 4:30 UTC (permalink / raw)
To: help-gnu-emacs
poppyer <poppyer@gmail.com> writes:
> I think it is terminal's function, try using <shift> + mouse.
>
> However, I still have problem when copy a very LONG line from emacs out,
> since I can not select it with mouse.
>
>
> Leo <sdl.web@gmail.com> writes:
>
What I do is
1. Mark the text to copy by setting the region. i.e. put the cursor at the
start of the block to be copied and hit C-space.
2. Move to the end of the block to be copied and copy the text to the kill ring
with M-w. It is very easy to select large bits of text this way. I also use the
keyborad ratther than the mouse as I find its a lot faster, especially when you
can do things like reverse the start/end marking of the block - so I can go
from the end backwards to the start of the text and select it rather than going
back to the start, setting mark and then to the end and doing a copy.
3. Switch to firefox (or whatever) and use the middle mouse button to paste in
the text.
Tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Copy things out of Emacs
2007-05-19 4:30 ` Tim X
@ 2007-05-19 7:13 ` Leo
[not found] ` <mailman.851.1179558915.32220.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 22+ messages in thread
From: Leo @ 2007-05-19 7:13 UTC (permalink / raw)
To: help-gnu-emacs
----- Tim X (2007-05-19) wrote:-----
> 3. Switch to firefox (or whatever) and use the middle mouse button to
> paste in the text.
And this does not work at all with xterm-mouse-mode enabled.
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <mailman.851.1179558915.32220.help-gnu-emacs@gnu.org>]
* Re: Copy things out of Emacs
[not found] ` <mailman.851.1179558915.32220.help-gnu-emacs@gnu.org>
@ 2007-05-19 8:07 ` Tim X
2007-05-22 20:06 ` Leo
[not found] ` <mailman.1020.1179864472.32220.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 22+ messages in thread
From: Tim X @ 2007-05-19 8:07 UTC (permalink / raw)
To: help-gnu-emacs
Leo <sdl.web@gmail.com> writes:
> ----- Tim X (2007-05-19) wrote:-----
>
>> 3. Switch to firefox (or whatever) and use the middle mouse button to
>> paste in the text.
>
> And this does not work at all with xterm-mouse-mode enabled.
>
It does for me as long as you hold down the shift key while making the
selection. I just verified this. What I did
1. started an xterm
2. ran emacs -nw
3. M-x xterm-mouse-mode
4. while holding down the shift key, holding down button 1 on the mouse, select
text to paste.
5. Switched to another application (I tried another xterm and firefox) and hit
the middle mouse button. The text I had selected from the emacs screen was
pasted into the xterm and into the url box for firefox.
so, if its not working for you, either
1. Your not using a "real" xterm, but rather an xterm clone
2. Your not pressing the shift key when making your selection
3. you have something else screwing up things
Note also, if your using this mode simply to be able to click on the menus, you
can achieve exactly the same result by hitting F10. However, I'd simply just
not run in an xterm to begin with. If your running X, why not just run emacs as
a native x app and get all the benefits of frames, real menus, probably more
colours and likely a better keyboard setup (i.e. is the alt key working? Often
it won't under an exterm unless you play around with xterm and modmap).
Tim.
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Copy things out of Emacs
2007-05-19 8:07 ` Tim X
@ 2007-05-22 20:06 ` Leo
2007-05-22 21:09 ` Peter Dyballa
[not found] ` <mailman.1031.1179868194.32220.help-gnu-emacs@gnu.org>
[not found] ` <mailman.1020.1179864472.32220.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 22+ messages in thread
From: Leo @ 2007-05-22 20:06 UTC (permalink / raw)
To: help-gnu-emacs
----- Tim X (2007-05-19) wrote:-----
>> And this does not work at all with xterm-mouse-mode enabled.
>>
>
> It does for me as long as you hold down the shift key while making the
> selection. I just verified this. What I did
>
> 1. started an xterm
> 2. ran emacs -nw
> 3. M-x xterm-mouse-mode
> 4. while holding down the shift key, holding down button 1 on the mouse, select
> text to paste.
> 5. Switched to another application (I tried another xterm and firefox) and hit
> the middle mouse button. The text I had selected from the emacs screen was
> pasted into the xterm and into the url box for firefox.
Is there something similar to `x-select-enable-clipboard' that works in
terminal?
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Copy things out of Emacs
2007-05-22 20:06 ` Leo
@ 2007-05-22 21:09 ` Peter Dyballa
2007-05-23 22:37 ` Xavier Maillard
[not found] ` <mailman.1031.1179868194.32220.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 22+ messages in thread
From: Peter Dyballa @ 2007-05-22 21:09 UTC (permalink / raw)
To: Leo; +Cc: help-gnu-emacs
[-- Attachment #1.1: Type: text/plain, Size: 450 bytes --]
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 ...
--
Greetings
Pete
"If you don't find it in the index, look very carefully through the
entire
catalogue." – Sears, Roebuck, and Co., Consumer's Guide,
1897
[-- Attachment #1.2: Type: text/html, Size: 2915 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <mailman.1031.1179868194.32220.help-gnu-emacs@gnu.org>]
* Re: Copy things out of Emacs
[not found] ` <mailman.1031.1179868194.32220.help-gnu-emacs@gnu.org>
@ 2007-05-22 21:17 ` poppyer
2007-05-23 4:55 ` Tim X
0 siblings, 1 reply; 22+ messages in thread
From: poppyer @ 2007-05-22 21:17 UTC (permalink / raw)
To: help-gnu-emacs
> 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?
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Copy things out of Emacs
2007-05-22 21:17 ` poppyer
@ 2007-05-23 4:55 ` Tim X
0 siblings, 0 replies; 22+ messages in thread
From: Tim X @ 2007-05-23 4:55 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <mailman.1020.1179864472.32220.help-gnu-emacs@gnu.org>]
* Re: Copy things out of Emacs
[not found] ` <mailman.1020.1179864472.32220.help-gnu-emacs@gnu.org>
@ 2007-05-23 4:47 ` Tim X
2007-05-23 17:29 ` Leo
[not found] ` <mailman.1094.1179941717.32220.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 22+ messages in thread
From: Tim X @ 2007-05-23 4:47 UTC (permalink / raw)
To: help-gnu-emacs
Leo <sdl.web@gmail.com> writes:
> ----- Tim X (2007-05-19) wrote:-----
>
>>> And this does not work at all with xterm-mouse-mode enabled.
>>>
>>
>> It does for me as long as you hold down the shift key while making the
>> selection. I just verified this. What I did
>>
>> 1. started an xterm
>> 2. ran emacs -nw
>> 3. M-x xterm-mouse-mode
>> 4. while holding down the shift key, holding down button 1 on the mouse, select
>> text to paste.
>> 5. Switched to another application (I tried another xterm and firefox) and hit
>> the middle mouse button. The text I had selected from the emacs screen was
>> pasted into the xterm and into the url box for firefox.
>
> Is there something similar to `x-select-enable-clipboard' that works in
> terminal?
Don't know as I rarely use an xterm to run emacs.
Seeing a number of posts from you regarding functionality you want from emacs
running in an xterm, I have to ask why do you want to run emacs in an xterm?
Is it simply to get aliased fonts or something?
I'm only wondering because all the things your having problems with simply go
away if you run natively under X, plus you get multiple frames and some other
nice features.
I suspect you will always have some problems because your essentially workinig
against the system rather than with it. If you feel it is necessary to do this
because of some advantage you get doing it that way, thats fine.
The point is that running emacs under an xterm means your running a version
oriented towards a basic text oriented console, such as the Linux virtual
consoles or a vt100 type console. In this environment, things are modeled on a
single window, non-graphics type iinteraction where it is assumed that on the
whole, you run a single application at a time and either exit or suspend that
app to run something else - in short, the 'old' environment we had before X or
with early MS DOS. Modes like xterm-mouse-mode etc are add ons that attempt to
provide support for things like using the mouse on menus etc. To some extent
they are a hack rather than part of the base design and therefore will always
be less feature rich and rpone to unexpected behavior.
It is possible that if we understood why you want to run in an xterm, we may be
able to find better solutions under a native X version that would provide the
same/similar benefits to what you get running within an xterm, but with all the
emacs built-in support for working in a graphical environment like X.
Tim
> --
> Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
>
>
>
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Copy things out of Emacs
2007-05-23 4:47 ` Tim X
@ 2007-05-23 17:29 ` Leo
2007-05-23 22:36 ` Xavier Maillard
[not found] ` <mailman.1094.1179941717.32220.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 22+ messages in thread
From: Leo @ 2007-05-23 17:29 UTC (permalink / raw)
To: help-gnu-emacs
----- Tim X (2007-05-23) wrote:-----
> Seeing a number of posts from you regarding functionality you want
> from emacs running in an xterm, I have to ask why do you want to run
> emacs in an xterm? Is it simply to get aliased fonts or something?
It is almost as good as running Emacs in X, supports XFT and unicode and
much stabler.
I can easily crash Emacs 23 and it consumes a lot of CPU sometimes. Bug
reports have been submitted a long time ago. No fix so far.
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <mailman.1094.1179941717.32220.help-gnu-emacs@gnu.org>]
* Re: Copy things out of Emacs
[not found] ` <mailman.1094.1179941717.32220.help-gnu-emacs@gnu.org>
@ 2007-05-24 9:07 ` Tim X
2007-05-24 10:09 ` Leo
` (2 more replies)
0 siblings, 3 replies; 22+ messages in thread
From: Tim X @ 2007-05-24 9:07 UTC (permalink / raw)
To: help-gnu-emacs
Leo <sdl.web@gmail.com> writes:
> ----- Tim X (2007-05-23) wrote:-----
>
>> Seeing a number of posts from you regarding functionality you want
>> from emacs running in an xterm, I have to ask why do you want to run
>> emacs in an xterm? Is it simply to get aliased fonts or something?
>
> It is almost as good as running Emacs in X, supports XFT and unicode and
> much stabler.
>
> I can easily crash Emacs 23 and it consumes a lot of CPU sometimes. Bug
> reports have been submitted a long time ago. No fix so far.
>
Hmm, that must be some issue with the unicode branch of emacs 22. I'm running
the main branch and have been for a long time now. I was running the older X
toolkit version, but have switched to the GTK version about 6 weeks ago. I run
almost exclusively within native X and have no stability problems or any load
issues. I've had perhaps one or two crashes in over 18 months and some problems
with tramp (which turned out to be due to an add-on package. I live in emacs
pretty much every day all day, at work and at home.
The only issue I've not yet solved is one that popped up about a month ago. I'm
getting 'odd' behavior with some advised functions which only occurs in the GTK
version and I've since found out I can only reproduce it with emacs 22 built
from sources on a Debian 'Unstable' distribution. I need to put in a lot of
effort to try and track it down as it makes no sense to affect only the GTK
version and not the version built with th e older X toolkit. The good news is
its all working fine and as stable as a rock under Debian testing.
As the unicode branch is still under active development and given the likely
impact of the changes in that branch, I suspect you will find many packages
that don't quite work correctly. Changing something as large as emacs to use
unicode is not trivial and there are many emacs packages that have been written
with the assumption of character sets being single byte etc.
I have found the UTF-8 support in the main branch of eamcs 22 to be very good
and reliable. If that is enough for you, I'd suggest trying the main 22 branch
within an xterm and seeing if that improves the situation for you (is the XFT
stuff even relevant if your running within an xterm anyway? wouldn't the xterm
be handling all of that?)
Tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Copy things out of Emacs
2007-05-24 9:07 ` Tim X
@ 2007-05-24 10:09 ` Leo
2007-05-24 21:45 ` Xavier Maillard
[not found] ` <mailman.1199.1180044455.32220.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 22+ messages in thread
From: Leo @ 2007-05-24 10:09 UTC (permalink / raw)
To: help-gnu-emacs
----- Tim X (2007-05-24) wrote:-----
> Hmm, that must be some issue with the unicode branch of emacs 22. I'm
> running the main branch and have been for a long time now. I was
> running the older X toolkit version, but have switched to the GTK
> version about 6 weeks ago. I run almost exclusively within native X
> and have no stability problems or any load issues. I've had perhaps
> one or two crashes in over 18 months and some problems with tramp
> (which turned out to be due to an add-on package. I live in emacs
> pretty much every day all day, at work and at home.
Actually I have just upgraded from the main branch. I have now converted
all .el to Emacs 23. It takes time to go back.
[...]
> As the unicode branch is still under active development and given the
> likely impact of the changes in that branch, I suspect you will find
> many packages that don't quite work correctly. Changing something as
> large as emacs to use unicode is not trivial and there are many emacs
> packages that have been written with the assumption of character sets
> being single byte etc.
However it seems to under-manpower to fix bugs.
> I have found the UTF-8 support in the main branch of eamcs 22 to be
> very good and reliable. If that is enough for you, I'd suggest trying
> the main 22 branch within an xterm and seeing if that improves the
> situation for you (is the XFT stuff even relevant if your running
> within an xterm anyway? wouldn't the xterm be handling all of that?)
>
> Tim
It might be time to try the multi-tty branch ;)
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Copy things out of Emacs
2007-05-24 9:07 ` Tim X
2007-05-24 10:09 ` Leo
@ 2007-05-24 21:45 ` Xavier Maillard
[not found] ` <mailman.1199.1180044455.32220.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 22+ messages in thread
From: Xavier Maillard @ 2007-05-24 21:45 UTC (permalink / raw)
To: Tim X; +Cc: help-gnu-emacs
Hi Tim,
As the unicode branch is still under active development and given the likely
impact of the changes in that branch, I suspect you will find many packages
that don't quite work correctly. Changing something as large as emacs to use
unicode is not trivial and there are many emacs packages that have been written
with the assumption of character sets being single byte etc.
Would you mind explaining what is required for a package to be
fully functionnal (even) with the GNU Emacs Unicode branch ? I do
not see what we should change in our packages to make them working.
Regards,
Xavier
--
http://www.gnu.org
http://www.april.org
http://www.lolica.org
^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <mailman.1199.1180044455.32220.help-gnu-emacs@gnu.org>]
* Re: Copy things out of Emacs
[not found] ` <mailman.1199.1180044455.32220.help-gnu-emacs@gnu.org>
@ 2007-05-25 5:08 ` Tim X
0 siblings, 0 replies; 22+ messages in thread
From: Tim X @ 2007-05-25 5:08 UTC (permalink / raw)
To: help-gnu-emacs
Xavier Maillard <xma@gnu.org> writes:
> Subject: Re: Copy things out of Emacs
>
> Hi Tim,
>
> As the unicode branch is still under active development and given the likely
> impact of the changes in that branch, I suspect you will find many packages
> that don't quite work correctly. Changing something as large as emacs to use
> unicode is not trivial and there are many emacs packages that have been written
> with the assumption of character sets being single byte etc.
>
> Would you mind explaining what is required for a package to be
> fully functionnal (even) with the GNU Emacs Unicode branch ? I do
> not see what we should change in our packages to make them working.
>
Perhaps I should have been clearer and I'm not sure there is anything else to
be done that isn't already been done. In the past, I have encountered packages
which have made assumptions regarding character sets and encodings. There have
been reports in this group and other lists/groups of people having problems
with things like search/replace that appear specific to the coding system being
used etc. I should clarify that most, if not all, the packages I've encountered
with tese sorts of problems have not been packages that are part of GNU Emacs,
but rather add-on packatges written by others and possibly not actively
maintained.
My point wasn't that things are not being done as well as they could, but
merely that if you are using a development branch that is working on something
as fundamental as the character encoding support, it is likely there are going
to be issues with some packages.
Tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 22+ messages in thread
* Copy things out of Emacs
@ 2007-05-18 21:58 Leo
2007-05-22 4:38 ` Xavier Maillard
2007-05-22 23:49 ` John Steele Scott (t-tec)
0 siblings, 2 replies; 22+ messages in thread
From: Leo @ 2007-05-18 21:58 UTC (permalink / raw)
To: help-gnu-emacs
Hi all,
When running Emacs in terminal with xterm-mouse-mode enable, how can I
copy things out of Emacs to other applications for example to firefox?
Middle click does not work for me.
Best,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2007-05-25 5:08 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.831.1179525659.32220.help-gnu-emacs@gnu.org>
2007-05-18 22:37 ` Copy things out of Emacs poppyer
2007-05-18 23:36 ` Leo
2007-05-19 4:30 ` Tim X
2007-05-19 7:13 ` Leo
[not found] ` <mailman.851.1179558915.32220.help-gnu-emacs@gnu.org>
2007-05-19 8:07 ` Tim X
2007-05-22 20:06 ` Leo
2007-05-22 21:09 ` Peter Dyballa
2007-05-23 22:37 ` Xavier Maillard
2007-05-23 22:59 ` Peter Dyballa
2007-05-24 21:45 ` Xavier Maillard
[not found] ` <mailman.1031.1179868194.32220.help-gnu-emacs@gnu.org>
2007-05-22 21:17 ` poppyer
2007-05-23 4:55 ` Tim X
[not found] ` <mailman.1020.1179864472.32220.help-gnu-emacs@gnu.org>
2007-05-23 4:47 ` Tim X
2007-05-23 17:29 ` Leo
2007-05-23 22:36 ` Xavier Maillard
[not found] ` <mailman.1094.1179941717.32220.help-gnu-emacs@gnu.org>
2007-05-24 9:07 ` Tim X
2007-05-24 10:09 ` Leo
2007-05-24 21:45 ` Xavier Maillard
[not found] ` <mailman.1199.1180044455.32220.help-gnu-emacs@gnu.org>
2007-05-25 5:08 ` Tim X
2007-05-18 21:58 Leo
2007-05-22 4:38 ` Xavier Maillard
2007-05-22 23:49 ` John Steele Scott (t-tec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).