Visuwesh <[email protected]> writes:
> I hope someone else can reproduce this issue on their end. I do not have
> another Linux system in which I could freely install Emacs and test this
> out.
I'm not familiar with yank-media in any way, but here are the results of the
commands you sent in this thread. They're all tested on the test.ods sent by
Ihor.
$ libreoffice --version
LibreOffice 24.2.6.2 420(Build:2)
(version)
"GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo
version 1.18.2)"
>>> Just to be sure that yank-media is not in the middle of encoding
>>> problem, can you say what
>>>
>>> (gui-get-selection 'PRIMARY 'application/x-libreoffice-tsvc)
>>>
>>> returns?
(gui-get-selection 'PRIMARY 'application/x-libreoffice-tsvc)
nil. However,
(gui-get-selection 'CLIPBOARD 'application/x-libreoffice-tsvc)
#("foo bar
1 2 3
" 0 15 (foreign-selection application/x-libreoffice-tsvc))
> What if you instead do
>
> (x-get-selection-internal 'PRIMARY 'application/x-libreoffice-tsvc)
>
> ?
(x-get-selection-internal 'PRIMARY 'application/x-libreoffice-tsvc)
nil. However,
(x-get-selection-internal 'CLIPBOARD 'application/x-libreoffice-tsvc)
#("foo bar
1 2 3
" 0 15 (foreign-selection STRING))
Also:
Debugger entered--entering a function:
* org--libreoffice-table-handler(application/x-libreoffice-tsvc
#("foo\11bar\11\n1\0112\0113\n" 0 15 (foreign-selection STRING)))
yank-media()
> Also, what is the value of x-select-request-type?
nil.
`current-locale-environment' is "en_US.UTF-8"
I hope that this is helpful.