Visuwesh <visuwe...@gmail.com> writes: >> Debugger entered--returning value: >> #("1\0\11\0002\0\11\0003\0\n\0004\0\11\0005\0\11\0006\0\n\0" 0 24 >> (foreign-selection application/x-libreoffice-tsvc)) >> (gui-get-selection PRIMARY application/x-libreoffice-tsvc) >> (progn (debug) (gui-get-selection 'PRIMARY >> 'application/x-libreoffice-tsvc)) > > Thanks so it is confirmed that yank-media does not do any conversion. > What if you instead do > > (x-get-selection-internal 'PRIMARY 'application/x-libreoffice-tsvc)
Debugger entered--returning value: #("1\0\11\0002\0\11\0003\0\n\0004\0\11\0005\0\11\0006\0\n\0" 0 24 (foreign-selection STRING)) (x-get-selection-internal PRIMARY application/x-libreoffice-tsvc) (progn (debug) (x-get-selection-internal 'PRIMARY 'application/x-libreoffice-tsvc)) > ? I am not sure if it will reveal anything. Also, what is the value of > x-select-request-type? nil -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>