[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [FR]: thing-at-point 'org-table-cell
From: |
Ihor Radchenko |
Subject: |
Re: [FR]: thing-at-point 'org-table-cell |
Date: |
Fri, 03 May 2024 19:51:51 +0000 |
Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
>>> It would be great to have a thing-at-point handler that returns a cell in
>>> and org table. The most simple use case is to have a table in an org-file
>>> with data that you need to transfer to an online Web page. Being able to
>>> (copy-as-kill ...) a cell's contents could speed up the whole process...
>>
>> May you please elaborate on how exactly `thing-at-point' will help
>> copy-as-kill?
>
> Hi Ihor, of course this was just an example. The thing-at-point would make it
> easier to write a copy-as-kill-cell function.
Then, you can just use `org-element-context' and/or `org-element-at-point'.
--
Ihor Radchenko // yantar92,
Org mode contributor,
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>