* Re: cut/paste support in X Windows (running Gnome)
[not found] <mailman.3983.1110961943.32256.help-gnu-emacs@gnu.org>
@ 2005-03-22 12:26 ` Olive
0 siblings, 0 replies; 8+ messages in thread
From: Olive @ 2005-03-22 12:26 UTC (permalink / raw)
Sergei Gnezdov wrote:
> It is ironic, but cut/paste on X Windows does not work. It works on
> Windows XP Emacs GUI out of the box. In fact, the only way I can copy
> in X Windows is with mouse copy/paste functionality.
>
> I am running:
>
> FreeBSD 5.3
> GNU Emacs 21.3.1 (X toolkit, Xaw3d scrollbars)
>
>
>
I had problem due to th efact that emacs didn't use the proper encoding
for the keyboard. I have solved this problem by putting this in my .emacs
(set-selection-coding-system (quote latin-1))
^ permalink raw reply [flat|nested] 8+ messages in thread
* cut/paste support in X Windows (running Gnome)
@ 2005-03-16 8:08 Sergei Gnezdov
2005-03-16 10:25 ` Peter Dyballa
2005-03-16 19:27 ` Eli Zaretskii
0 siblings, 2 replies; 8+ messages in thread
From: Sergei Gnezdov @ 2005-03-16 8:08 UTC (permalink / raw)
It is ironic, but cut/paste on X Windows does not work. It works on
Windows XP Emacs GUI out of the box. In fact, the only way I can copy
in X Windows is with mouse copy/paste functionality.
I am running:
FreeBSD 5.3
GNU Emacs 21.3.1 (X toolkit, Xaw3d scrollbars)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cut/paste support in X Windows (running Gnome)
2005-03-16 8:08 Sergei Gnezdov
@ 2005-03-16 10:25 ` Peter Dyballa
2005-03-16 19:27 ` Eli Zaretskii
1 sibling, 0 replies; 8+ messages in thread
From: Peter Dyballa @ 2005-03-16 10:25 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 16.03.2005 um 09:08 schrieb Sergei Gnezdov:
> It is ironic, but cut/paste on X Windows does not work. It works on
> Windows XP Emacs GUI out of the box. In fact, the only way I can copy
> in X Windows is with mouse copy/paste functionality.
In X11 copying and pasting are usually mouse driven events. If you want
to copy and paste without mouse just bind the functions to some key
events. In xterm you can specify extra bindings too in .Xdefaults using
the sources or targets PRIMARY, SECONDARY, CLIPBOARD, CUT_BUFFER0
through CUT_BUFFER7. Look at 'man xterm', insert-selection(),
select_start(), etc.
--
Greetings
Pete
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cut/paste support in X Windows (running Gnome)
2005-03-16 8:08 Sergei Gnezdov
2005-03-16 10:25 ` Peter Dyballa
@ 2005-03-16 19:27 ` Eli Zaretskii
2005-03-17 3:08 ` Sergei Gnezdov
1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2005-03-16 19:27 UTC (permalink / raw)
> From: Sergei Gnezdov <use-reply-to@nofrom.not>
> Date: Wed, 16 Mar 2005 08:08:36 +0000 (UTC)
>
> It is ironic, but cut/paste on X Windows does not work.
It does for me. Please describe the details, i.e. your Emacs version,
what you did to cut/paste, and what did or did not happen.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cut/paste support in X Windows (running Gnome)
2005-03-16 19:27 ` Eli Zaretskii
@ 2005-03-17 3:08 ` Sergei Gnezdov
2005-03-17 4:40 ` Eli Zaretskii
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Sergei Gnezdov @ 2005-03-17 3:08 UTC (permalink / raw)
On 2005-03-16, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Sergei Gnezdov <use-reply-to@nofrom.not>
>> Date: Wed, 16 Mar 2005 08:08:36 +0000 (UTC)
>>
>> It is ironic, but cut/paste on X Windows does not work.
>
> It does for me. Please describe the details, i.e. your Emacs version,
> what you did to cut/paste, and what did or did not happen.
GNU Emacs 21.3.1 (i386--freebsd, X toolkit, Xaw3d scroll bars)
1. Set mark (Ctrl-Space)
2. Go to the end of the region to copy
3. Press Ctrl-Ins.
In Gnome terminal `emacs -nw` Ctrl-Ins generates: 5~
In X Window based `emacs` it does not generate any guarbage, but it
does not copy text into global buffer.
4. Go to gedit and press Shift-Ins. Paste did not work.
Repeat the same steps on Windows XP machine and it will work just fine.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cut/paste support in X Windows (running Gnome)
2005-03-17 3:08 ` Sergei Gnezdov
@ 2005-03-17 4:40 ` Eli Zaretskii
2005-03-17 22:00 ` James Cloos
2005-03-17 22:01 ` James Cloos
2 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2005-03-17 4:40 UTC (permalink / raw)
> From: Sergei Gnezdov <use-reply-to@nofrom.not>
> Date: Thu, 17 Mar 2005 03:08:59 +0000 (UTC)
>
> 1. Set mark (Ctrl-Space)
> 2. Go to the end of the region to copy
> 3. Press Ctrl-Ins.
>
> In Gnome terminal `emacs -nw` Ctrl-Ins generates: 5~
>
> In X Window based `emacs` it does not generate any guarbage, but it
> does not copy text into global buffer.
In both cases, what does Emacs display if you type the sequence
"Ctrl-h c Ctrl-Ins"?
(What do you mean by ``global buffer'', btw?)
Also, did you try to paste into X applications other than qedit, like
xterm, and did you try to paste into Emacs from other applications?
If you did, what were the results?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cut/paste support in X Windows (running Gnome)
2005-03-17 3:08 ` Sergei Gnezdov
2005-03-17 4:40 ` Eli Zaretskii
@ 2005-03-17 22:00 ` James Cloos
2005-03-17 22:01 ` James Cloos
2 siblings, 0 replies; 8+ messages in thread
From: James Cloos @ 2005-03-17 22:00 UTC (permalink / raw)
Cc: help-gnu-emacs
>>>>> "Sergei" == Sergei Gnezdov <use-reply-to@nofrom.not> writes:
Sergei> 1. Set mark (Ctrl-Space) 2. Go to the end of the region to
Sergei> copy 3. Press Ctrl-Ins.
I just gave that a test. If you look at the output of C-h C-<INS>
you'll probably find that is is bound to kill-ring-save which uses
the value of the variable interprogram-cut-function for inserting
the region into the cut-n-paste system.
Im my case interprogram-cut-function is set to x-select-text and
x-select-enable-clipboard is nil so I have to use middle-click
rather than C-v to paste the text in other programs. (BTW, I
had to look at the src of x-select-text to remind myself about
x-select-enable-clipboard.)
I bet that is your case as well.
Try setting x-select-enable-clipboard to t and see whether you
get the functionality you prefer. You can customize it:
(customize-variable 'x-select-enable-clipboard)
or just setq it in ~/.emacs:
(setq x-select-enable-clipboard t)
P.S. Apologies if I targeted this at a too low
familiarity level at least it'll be there
for the archive....
-JimC
--
James H. Cloos, Jr. <cloos@jhcloos.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cut/paste support in X Windows (running Gnome)
2005-03-17 3:08 ` Sergei Gnezdov
2005-03-17 4:40 ` Eli Zaretskii
2005-03-17 22:00 ` James Cloos
@ 2005-03-17 22:01 ` James Cloos
2 siblings, 0 replies; 8+ messages in thread
From: James Cloos @ 2005-03-17 22:01 UTC (permalink / raw)
Cc: help-gnu-emacs
>>>>> "Sergei" == Sergei Gnezdov <use-reply-to@nofrom.not> writes:
Sergei> 1. Set mark (Ctrl-Space) 2. Go to the end of the region to
Sergei> copy 3. Press Ctrl-Ins.
I just gave that a test. If you look at the output of C-h C-<INS>
you'll probably find that is is bound to kill-ring-save which uses
the value of the variable interprogram-cut-function for inserting
the region into the cut-n-paste system.
Im my case interprogram-cut-function is set to x-select-text and
x-select-enable-clipboard is nil so I have to use middle-click
rather than C-v to paste the text in other programs. (BTW, I
had to look at the src of x-select-text to remind myself about
x-select-enable-clipboard.)
I bet that is your case as well.
Try setting x-select-enable-clipboard to t and see whether you
get the functionality you prefer. You can customize it:
(customize-variable 'x-select-enable-clipboard)
or just setq it in ~/.emacs:
(setq x-select-enable-clipboard t)
P.S. Apologies if I targeted this at a too low
familiarity level; at least it'll be there
for the archive....
-JimC
--
James H. Cloos, Jr. <cloos@jhcloos.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-03-22 12:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.3983.1110961943.32256.help-gnu-emacs@gnu.org>
2005-03-22 12:26 ` cut/paste support in X Windows (running Gnome) Olive
2005-03-16 8:08 Sergei Gnezdov
2005-03-16 10:25 ` Peter Dyballa
2005-03-16 19:27 ` Eli Zaretskii
2005-03-17 3:08 ` Sergei Gnezdov
2005-03-17 4:40 ` Eli Zaretskii
2005-03-17 22:00 ` James Cloos
2005-03-17 22:01 ` James Cloos
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.