From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MKuWJHiFE2f7JQAA62LTzQ:P1 (envelope-from ) for ; Sat, 19 Oct 2024 10:10:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MKuWJHiFE2f7JQAA62LTzQ (envelope-from ) for ; Sat, 19 Oct 2024 12:10:00 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rensoliemans.nl header.s=soverin header.b=OXjAAbD0; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729332599; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2FN2J5Zi7HbfIJbMCbCN5+cE8rwaL6b8kuolRb70xoE=; b=S3Z9UxtF3esADfPuFNftIiJ+qZ2BiCdPvmbTD7niP1ogFV1iH8uHqt9ULjPacbOdS+6OOA qU7400gC5mB8kZh+/u9dqXIxemaH5o+RFVg9/suvd/m/JxVdqKBvLBBWNz/skNZ0FhyEEY D2WUX3N83aCR+yOvnmawfvDPfT89EbazVgHYdcSMdMq7tEwMj6EfjYivVf/uxL6i/6nzWQ jg263EETMsJ//OwJOIdC6thxpJKKHiAPAQ+hGGQwr/Kog+b0dyHTZ0ZGJ2KZYQ5seZqhaM 6E1LZueoEuPQSsJPqupVZZmIVB6HulUluE6M19U5+5ve2j0MVa4N0vKuQmEMqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729332599; a=rsa-sha256; cv=none; b=rpThN3LHvPDgE6jy+C5FahqTCOBotTtQefjB3zl7Q/QdIe7GUCJ/32d26W4XzgbsRxzY/Y xXWfhcWgu6n2dVIexVhACcszbQPGZLQ5riiO8XHThuW6FOzSGu2wU05ydYrA7zCkQkh/LB MnPyvYN7Lkhw/iDYYYmXFolOkgg6F9qq8+pTiTVf/rwQSgCLJVCHn/sf9q//5SEMteOeHW vYrPO4HTuLnvMZi+oMl4OF6xql9byYtK6Qsvz02c4pUrQK+J+1kHg09enyQWiT5cJ2ynf1 39+EAEnH8vByYR6TTU22Sk01r+r36KBMYsDi9wTXECHEuD6u+6RZCHi/yzRxfw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rensoliemans.nl header.s=soverin header.b=OXjAAbD0; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 820EC854B5 for ; Sat, 19 Oct 2024 12:09:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t26OP-0003bY-GN; Sat, 19 Oct 2024 06:09:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t26ON-0003bF-Fk for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 06:09:03 -0400 Received: from outbound.soverin.net ([2a10:de80:1:4091:b9e9:2212:0:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t26OL-00081k-7p for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 06:09:03 -0400 Received: from smtp.soverin.net (unknown [10.10.4.100]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4XVy2n07Rqz52; Sat, 19 Oct 2024 10:08:49 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4XVy2m4bzWzDK; Sat, 19 Oct 2024 10:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rensoliemans.nl; s=soverin; t=1729332528; bh=Yad1BeqjERWQhCWnleLlU3YxBSmhB10cnlXugLkGkmM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OXjAAbD0XTJZptJo8Ma7EV3jIqXM1Bpbhy3zDA42hInplFb6a0jS74rORkGaEzGue p0oIR0uK7ZWDiERxWbhJqt97Ke8pNHkmsCsjYze9do7rcdiCwpalbYc//QdibbnTr5 6ow42qTKa93kBAfEdAIywncd+SwMR6P93yofz0UJlhTRea4hPIPLFVTPTJz1pocU9Q kSdm4UnoRbBVQLiYoTpF5Aq3fzmjePxaYjBNCVk5kMaeij/jb8EBbR9jErT4z/oSwc W+pwvm4P2t1MmoDmFl84wicITi7G5rVXa6uAPLvT881HTXJsFnoUwavHYygs22idxd SoCJd+A8KvQjA== From: Rens Oliemans To: Visuwesh , Ihor Radchenko Cc: org-mode-email Subject: Re: [PATCH] Add yank-media handler for LibreOffice Calc tables In-Reply-To: <87y12kv4vh.fsf@gmail.com> References: <87r08i3alo.fsf@gmail.com> <871q0ise9x.fsf@localhost> <87msj53o2o.fsf@gmail.com> <87msj5dx8l.fsf@localhost> <87ttdawssj.fsf@gmail.com> <871q0cy3h2.fsf@localhost> <87ed4cwnmr.fsf@gmail.com> <87ldykwnbi.fsf@localhost> <8734kswkez.fsf@gmail.com> <87bjzgwk4k.fsf@localhost> <87y12kv4vh.fsf@gmail.com> Date: Sat, 19 Oct 2024 12:09:00 +0200 Message-ID: <875xpo1k1v.fsf@rensoliemans.nl> MIME-Version: 1.0 Content-Type: text/plain X-Spampanel-Class: ham Received-SPF: pass client-ip=2a10:de80:1:4091:b9e9:2212:0:1; envelope-from=hallo@rensoliemans.nl; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.23 X-Spam-Score: 1.23 X-Migadu-Queue-Id: 820EC854B5 X-Migadu-Scanner: mx13.migadu.com X-TUID: 09J2lJZZS4+e Visuwesh 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.