[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [FR] Support headline as a function for file+headline target for org
From: |
Ihor Radchenko |
Subject: |
Re: [FR] Support headline as a function for file+headline target for org-capture-templates |
Date: |
Wed, 01 May 2024 11:11:17 +0000 |
Nafiz Islam <nafiz.islam1001@gmail.com> writes:
> The problem with my implementation is that it modifies the org file before
> prompting the user for item entry. As a result, if I cancel/abort my
> org-capture, that modification will still be present.
You can make use of `org-capture-put' and :hook capture property to mark
a custom region to be killed on abort via `org-capture-mark-kill-region'.
--
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>
- Re: [FR] Support headline as a function for file+headline target for org-capture-templates,
Ihor Radchenko <=
- Re: [FR] Support headline as a function for file+headline target for org-capture-templates, Nafiz Islam, 2024/05/01
- Re: [FR] Support headline as a function for file+headline target for org-capture-templates, Ihor Radchenko, 2024/05/01
- Re: [FR] Support headline as a function for file+headline target for org-capture-templates, Nafiz Islam, 2024/05/01
- Re: [FR] Support headline as a function for file+headline target for org-capture-templates, Ihor Radchenko, 2024/05/02
- Message not available
- Re: [FR] Support headline as a function for file+headline target for org-capture-templates, Nafiz Islam, 2024/05/02
- Re: [FR] Support headline as a function for file+headline target for org-capture-templates, Ihor Radchenko, 2024/05/03
- Re: [FR] Support headline as a function for file+headline target for org-capture-templates, Nafiz Islam, 2024/05/03
- Re: [FR] Support headline as a function for file+headline target for org-capture-templates, Ihor Radchenko, 2024/05/04
- Re: [FR] Support headline as a function for file+headline target for org-capture-templates, Nafiz Islam, 2024/05/11
- Re: [FR] Support headline as a function for file+headline target for org-capture-templates, Ihor Radchenko, 2024/05/11