emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add yank-media handler for LibreOffice Calc tables


From: Visuwesh
Subject: Re: [PATCH] Add yank-media handler for LibreOffice Calc tables
Date: Tue, 24 Dec 2024 08:23:09 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

[திங்கள் டிசம்பர் 23, 2024] Ihor Radchenko wrote:

>> 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)

Ah thank you, I missed it.  Using it now.

>>  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.

I reworded it to

    Tables copied from LibreOffice Calc documents are yanked as Org
    tables.

Updated patch attached below.

Attachment: 0001-Add-yank-media-handler-for-LibreOffice-Calc-tables.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]