From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yMcdOdt2E2fdewEAe85BDQ:P1 (envelope-from ) for ; Sat, 19 Oct 2024 09:07:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id yMcdOdt2E2fdewEAe85BDQ (envelope-from ) for ; Sat, 19 Oct 2024 11:07:40 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=OyAJJmyz; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729328859; a=rsa-sha256; cv=none; b=gd+WeS8v++gMyk3TT3Ds6N2HL5/GzMNDqCEMBB/7iTHF/4Jl4wZVkFrXa7iqnqQQgmF3yH HknzHcvtUBnsrQpe0DfRrJo4chWC3UO3pg2KpOAjGpCyYL0NbDmIXLCNH61tigiYh0bnBL d44wl7Pquq95eTUNr5nylP4VlLZZ4HStTZcUoyFA063h9LLzjwHzGEdAhCKO7d1sO77xXy BoevRihmmtApkuoFs8TedHdCPnvKH15Zoay7vSC+BfaYYZDfy1xrREL/eo/6MUCWqER20z BG3IVhyMhUOB/AV+oAYE1gWG497YL9Zv5IFelqkT7rJJkAlSccZrKmtfVYrBRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=OyAJJmyz; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729328859; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=A0BQr825oLBhzXgJBkABs8gq6NpXv3XPqUkZQj5bkuM=; b=IRg0fAoh8A9F6vVsdhar/6kQhcKEy7rfOyR+Tz8eEXekB5SFx11rih65wbolvjH4pl1gSZ JTQoeOIrjO9nNfeSANYvj5TiDrpq0MKvb6acDQ/+oQidbay9leRL1rerTJuDT8Y6eb7NdD Bf6WLbNkD2R3b7Qhl80zfrSk2hP3lCtUf6fReDzK9V8IP8gYcjVKNo/FTqakzfP7Bsunlq ZeU1lfqgqH+9Wou8ZMMOM7YGVHNqIl2bElAdiq6000YALDtOupw0hs9mDZPjSLWjuf+FiX haOxfGH9KewmgA8OPwIla8CSNV90S3878bqHcNAUmX5iyOZ8tJb8LpIwimpQZA== 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 6ACF17D49B for ; Sat, 19 Oct 2024 11:07:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t25Pw-0005HM-RG; Sat, 19 Oct 2024 05:06:36 -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 1t25Pu-0005Gq-23 for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 05:06:34 -0400 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t25Ps-0000Wx-IC for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 05:06:33 -0400 Received: by mail-pj1-x1042.google.com with SMTP id 98e67ed59e1d1-2e34a089cd3so2432087a91.3 for ; Sat, 19 Oct 2024 02:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729328791; x=1729933591; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A0BQr825oLBhzXgJBkABs8gq6NpXv3XPqUkZQj5bkuM=; b=OyAJJmyzrYebbjf6hTbciCqM2oKN90FjrcIshz8P8s+nz7Q2fcUnS3D+mwgQICuX0k IrIAmffEIP4itIYqzHrIdFQ50dZ9uHGoTRpIh/KnjCATxIxJaTCuwvDZdc4AfHphMPo6 McMxGCHzLL6+At7jenizVVVgyzrGvGjWCIqm+a4kTDKTCtvujjE2gpB7MZ1xGuBGV6YC JKawh8CqvzAOmLJZoLjQX3mR2u07pwpID/+sdhkPah2zoDNUnA/2kCbeAGS+tT5xSMQ8 CQ2EyxtaPhyaxfCmnPZfQ3AhfLUwiZwSS6VZjUDHbuO+4q47n2zMyN4cAGLPMzw09sU2 hKow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729328791; x=1729933591; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=A0BQr825oLBhzXgJBkABs8gq6NpXv3XPqUkZQj5bkuM=; b=YBtg4ZFSjYhCmNhD8r13GrnVWQBJ/rhj2JEaCAEPB7ZfE7FLog8ZNDwO/2ujTm/X4P NBDadnUwT7rYscOb+qvXBWFcxdsXX3x8aZn/xAGT6UCYLUI+gej+vTZ5ZC3X4nwKA4U5 8vuZnz/tY9fKVG/Jrt2+dk4ZleN8p0T/FZorzysFPPbS+MaIAwKZGZRI2oaxpx3blxu0 OrleqkPMKpVuOAilnOBrHTh0wFGCkMur5EdiipI1aNyIJCHqPAkJOGm0tO9XkKLGqTLZ HiuM+nLd4tG/9udWdH4nG0hV1tulgLPbn1gZ0tuPD/wrTYAYIrAVp2271+tpMi+H8gwU PzMg== X-Gm-Message-State: AOJu0YxuQ5NJ5RutVQXN4id1F/4wLeZ7hKc9mCfK10LQmG1yV1tW6UwJ +7XnYVsHJ1fdesbjtEbFH9EMOQKeDgRTIZgQZJdVIr55PxYtOydS X-Google-Smtp-Source: AGHT+IEsgeUe2OQsWIpc+BFoSylm0fe2EeZf119LyE+VofxkxfwbQqjBJpeHQHN9sJ/yK73xlM+xJA== X-Received: by 2002:a17:90b:4c8f:b0:2e2:d82b:d144 with SMTP id 98e67ed59e1d1-2e561a3281cmr6092765a91.37.1729328790781; Sat, 19 Oct 2024 02:06:30 -0700 (PDT) Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e5611d4787sm3558269a91.17.2024.10.19.02.06.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Oct 2024 02:06:30 -0700 (PDT) From: Visuwesh To: Ihor Radchenko Cc: org-mode-email Subject: Re: [PATCH] Add yank-media handler for LibreOffice Calc tables In-Reply-To: <87bjzgwk4k.fsf@localhost> (Ihor Radchenko's message of "Sat, 19 Oct 2024 08:51:39 +0000") 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> Date: Sat, 19 Oct 2024 14:36:26 +0530 Message-ID: <87y12kv4vh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1042; envelope-from=visuweshm@gmail.com; helo=mail-pj1-x1042.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.63 X-Spam-Score: -5.63 X-Migadu-Queue-Id: 6ACF17D49B X-Migadu-Scanner: mx10.migadu.com X-TUID: eLE/hAwzUuYV [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=85=E0=AE=95=E0=AF=8D=E0=AE=9F=E0=AF=8B= =E0=AE=AA=E0=AE=B0=E0=AF=8D 19, 2024] Ihor Radchenko wrote: > Visuwesh 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-libreo= ffice-tsvc)) > >> ? I am not sure if it will reveal anything. Also, what is the value of >> x-select-request-type? > > nil Sorry, I am seriously out of clues. We could outright remove the NULL bytes if they do not change the underlying text but this feels like a hack... 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.