On Sat, 23 Mar 2002, Steve Youngs <- youngs(a)xemacs.org wrote:
|--==> "DG" == Dave Goldberg
<david.goldberg6(a)verizon.net> writes:
DG> Signaling: (error "no selection" CLIPBOARD)
DG> get-selection-internal(CLIPBOARD STRING)
DG> get-selection(CLIPBOARD)
DG> get-clipboard()
DG> current-kill(0)
DG> yank(nil)
DG> call-interactively(yank)
Bill, this sounds like it might be up your alley. Can you help Dave
out?
I have a similar problem. I used to set ` selection-sets-clipboard' to
`t', so I could use the mouse in windows like I am used to in an X
environment. At the moment this does not work. If this variable is true,
no selection either with the mouse or with `copy-primary-selection' sets
the clipboard. I get this error:
,----
| Signaling: (error "XEmacs does not own the primary selection")
| signal(error ("XEmacs does not own the primary selection"))
| cerror("XEmacs does not own the primary selection")
| apply(cerror "XEmacs does not own the primary selection" nil)
| error("XEmacs does not own the primary selection")
| cut-copy-clear-internal(copy)
| #<compiled-function nil "...(8)" [console-on-window-system-p
cut-copy-clear-internal copy] 2 1132588 nil>()
| call-interactively(copy-primary-selection)
`----
The kill ring gets set. I can paste with `yank'.
If I set the variable to `nil' `copy-primary-selection' sets both, the
kill-ring and the clipboard, but marking text with the mouse does not
set the clipboard.
(emacs-version)
"XEmacs 21.5 (beta5) \"beets\" [Lucid] (i686-pc-cygwin, Mule) of Sat
Mar 23 2002 on WINDOOF"
Last cvs checkout 22. Mar 15:03 (GMT)
bye
Karl
--
He took his vorpal sword in hand:
Long time the manxome foe he sought--
So rested he by the Tumtum tree,
And stood awhile in thought. "Lewis Carroll" "Jabberwocky"