[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH RFC] subtree archive hook?
From: |
Eric Abrahamsen |
Subject: |
[O] [PATCH RFC] subtree archive hook? |
Date: |
Sun, 12 Oct 2014 22:27:34 +0800 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
I think it would be useful to have a hook that runs before archiving a
subtree. I'm attaching two patches: one that includes a hook in the
archive process, and another (by way of an example) that adds a function
to that hook for the org-attach library. You can set the option
`org-attach-archive-delete' to a non-nil value to have org-attach delete
a subtree's attachments when you archive it.
Let me know what you think!
Eric
0002-Provide-a-hook-during-the-archive-process.patch
Description: Text Data
0003-Maybe-delete-heading-attachments-when-archiving.patch
Description: Text Data