- Subject: Re: Cut and paste between two instances of xjed using Brief emulation fails on Debian Lenny
- From: "G. Milde" <milde@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 21 Nov 2008 08:59:53 +0100
On 20.11.08, Delbert Franz wrote:
> Cutting/copying and pasting between two instances of xjed under Debian
> Lenny (Jed 0.99.18U) using Brief emulation fails to work.
> The same operation between buffers in one instance works.
Which functions do you use in your attempts?
(if you use key-combinations, please find out the bindings with
Help>Describe Bindings).
copy_region() and yp_copy_region_as_kill() are only for local copies.
cua_copy_region() copies also to the system clipboard.
yp_yank() inserts from the local clipboard.
cua_insert_clipboard() inserts the system CLIPBOARD selection
Do you have a Clipboard application running?
Do you know the difference between PRIMARY and CLIPBOARD X-selection?
% From xclip's README:
%
% For a good overview of what selections are about, have a look at
% <http://www.freedesktop.org/standards/clipboards.txt>. Short version:
%
% * XA_PRIMARY contains the last text you highlighted
% * Middle click pastes XA_PRIMARY
% * XA_CLIPBOARD contains text explicitly copied with Edit | Copy, Ctrl-C etc.
% * Edit | Paste pastes XA_CLIPBOARD
% * xclip uses XA_PRIMARY unless you specify otherwise with -selection
% * never ever use CUTBUFFERS, they are obsolete and problematic
% which means on X-Windows (xjed or jed in X-terminal):
% * cuamark copy/kill/insert should use CLIPBOARD instead of PRIMARY
% However,
% * x_copy_region_to_selection() and x_insert_selection() use PRIMARY
% * there are no S-Lang functions to work with CLIPBOARD
> I have also found that the same operation between xjed and other apps
> mostly fails. For example, between Kmail and xjed.
This is a known bug in jed <= 0.99.18, affecting most Qt application
(but also some newer GTK ones).
> Is there a workaround for this?
Yes, you can use a command line utility from within jed.
See cuamark.sl (from jedmodes.sf.net or Debian package jed-extra).
Günter
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2008 date index]
[2008 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]