From: Ihor Radchenko <yantar92@posteo.net>
To: Visuwesh <visuweshm@gmail.com>
Cc: Rens Oliemans <hallo@rensoliemans.nl>,
org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] Add yank-media handler for LibreOffice Calc tables
Date: Mon, 23 Dec 2024 18:01:42 +0000 [thread overview]
Message-ID: <875xnajn21.fsf@localhost> (raw)
In-Reply-To: <87bjxyqgo5.fsf@gmail.com>
Visuwesh <visuweshm@gmail.com> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2024-12-23 18:01 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-14 16:36 [PATCH] Add yank-media handler for LibreOffice Calc tables Visuwesh
2024-10-14 18:58 ` Ihor Radchenko
2024-10-15 5:57 ` Visuwesh
2024-10-15 18:42 ` Ihor Radchenko
2024-10-17 17:19 ` Visuwesh
2024-10-17 17:37 ` Ihor Radchenko
2024-10-18 16:45 ` Visuwesh
2024-10-19 7:10 ` Ihor Radchenko
2024-10-19 7:36 ` Visuwesh
2024-10-19 7:08 ` Ihor Radchenko
2024-10-19 7:35 ` Visuwesh
2024-10-19 7:42 ` Ihor Radchenko
2024-10-19 8:45 ` Visuwesh
2024-10-19 8:51 ` Ihor Radchenko
2024-10-19 9:06 ` Visuwesh
2024-10-19 10:09 ` Rens Oliemans
2024-10-19 10:36 ` Visuwesh
2024-10-21 8:51 ` Rens Oliemans
2024-10-21 10:34 ` Visuwesh
2024-11-29 14:05 ` Visuwesh
2024-12-23 18:01 ` Ihor Radchenko [this message]
2024-12-24 2:53 ` Visuwesh
2024-12-24 9:19 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875xnajn21.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=hallo@rensoliemans.nl \
--cc=visuweshm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).