From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KP2GMGulaWcMfgAAqHPOHw:P1 (envelope-from ) for ; Mon, 23 Dec 2024 18:01:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KP2GMGulaWcMfgAAqHPOHw (envelope-from ) for ; Mon, 23 Dec 2024 19:01:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dZunkX2R; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734976875; 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=z9BeDOfssbKJ0madhkqqgNi/HRuLaGAuo3311tPk9h4=; b=QWyO6h/2NUC+IcDWRb0kDQXZxHZwmKSKAW7NdinixATZcNt7AfXiOu+g/MUJP2JN715Mt+ ZSlqsYCqS8qPI1vxSGZQa/9nUcjeXXcsOZvvYYiM8+mKwL5CyIrbbobpDOL2BMNCsv7qrD xCg+h+0AQXIF1PuQ9ApQELQ09wGaqyrQaV3FbreoUW6gfIj/xCFf9FllCC0WuKYZQijq99 +gDiXx3jL3mQ6Mk1Up8nK2R+zJViMPr+yLjCC/jZqB7shjtgcFbA8+olVYo5jht4nF2cIb qEdDAL1s7fE23NFNKhsXViMMVSazDO4Ni9io1Rmrs00xYX1/rktmevpwI9s2Tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dZunkX2R; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734976875; a=rsa-sha256; cv=none; b=ktoBl7rOQpuHjawaiLLkJhKo4fpp5c8qI2MJtwUmvBaiOC+PXYTfhbCPsmyOPwxAMKxXRs Q74GdApG1RPSj42eCXNLSvJu6qWNkortY3wn3G/SOyo1HOsThv4/yAwy3q8d9+sA4Sdd/K ICVDsQP0xu2c16gTah0uTFNpYnZcgCwQ4uTKQ0LGwafVt0wQcnbg/1fqHi65rTjykksdgb Q18NQk6UHstPrqhVt2aZl7PcxenBZAVbEi7RII6rKflI0hi6z2euh9t97EeOMXazkXrIs5 3AthkKjocLEKxQ+c0jJPmMyPuPc/+ev5h9R7/0V2MNHyZxKT9vNaWmblCd0fHA== 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 7DC86380D6 for ; Mon, 23 Dec 2024 19:01:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPmjF-0000di-6T; Mon, 23 Dec 2024 13:00:29 -0500 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 1tPmj5-0000bi-9W for emacs-orgmode@gnu.org; Mon, 23 Dec 2024 13:00:22 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPmj2-0006ZT-VP for emacs-orgmode@gnu.org; Mon, 23 Dec 2024 13:00:19 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 19C10240103 for ; Mon, 23 Dec 2024 19:00:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734976812; bh=QxgD+EMQI4FcPNdCZhOgwxF5QA1SpQxisuSN4V6YjFQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=dZunkX2RFvrL/byKLuZiLj5a9eTP9LitiDrCtJnPyW+38rbb8n3CTwD1HsMfG0zaK o2sjkfzaISmEu3iBAqNcC2LVICNScHN2AWt0hL2fk7NFtZkEAXGCwzETm7zG1NmAdr iptLNHBw9xNaBC6L2HoF3djPoyr0nb3Z/S2VVcl5HxxxzZh/baYnqHMETamrA/4rmP lUuhzVsFMfqo4DYpd2PvCnS2+5c5bOHFubabpGAlrHL8IIPCET4HUHxPnrgc3kWQ9v ZMVxpaErGn5rPSaF/7/jr8/xHkp0RCOWAQITajJYyBc5mpZ0wEfNxWeNffbB+RQAV2 RmlduhQzrw2/w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YH5Qf6cMhz9rxM; Mon, 23 Dec 2024 19:00:10 +0100 (CET) From: Ihor Radchenko To: Visuwesh Cc: Rens Oliemans , org-mode-email Subject: Re: [PATCH] Add yank-media handler for LibreOffice Calc tables In-Reply-To: <87bjxyqgo5.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> <875xpo1k1v.fsf@rensoliemans.nl> <87ttd8v0oo.fsf@gmail.com> <87o73dvnxx.fsf@rensoliemans.nl> <871q09vj59.fsf@gmail.com> <87bjxyqgo5.fsf@gmail.com> Date: Mon, 23 Dec 2024 18:01:42 +0000 Message-ID: <875xnajn21.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -2.97 X-Spam-Score: -2.97 X-Migadu-Queue-Id: 7DC86380D6 X-TUID: XCB4huJgX8nt Visuwesh writes: > Sorry for the late reply. I was busy with uni. No worries. My reply is no less late. For similar reasons. > I have now done this in the attached patch. I use a temporary buffer to > convert the table, and also decode it as per buffer-file-coding-system > of the Org buffer as I could not tell whether LibreOffice always uses > UTF-8 or not. I believe buffer-file-coding-system should be utf-8 on > most systems so it should be a safe choice. utf-8 is not used everywhere. Quite far from that, AFAIK. You can try 'undecided as coding system value (see 34.10.7 Explicit Encoding and Decoding) > When yanking images from clipboard, Org saves the image on disk and > @@ -21702,6 +21703,9 @@ of ~org-yank-dnd-method~. Image files pasted this way also respect > the value of ~org-yank-image-save-method~ when the action to perform > is =attach=. > > +Yanking tables copied from LibreOffice Calc documents are inserted as > +Org tables. Looks like "yanking" is stray. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at