[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Export to attach directory?
From: |
Eric Abrahamsen |
Subject: |
Export to attach directory? |
Date: |
Tue, 02 Jun 2020 10:43:48 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
I think the last thing I'm missing before my Org set up is Absolutely
Perfect and never needs to be tweaked again (ha!) is the ability to
export Org files/subtrees to their relevant ATTACH directories, if any.
It might be overkill to have a global setting for this, but I would
love to be able to say:
* Report #25 :ATTACH:
:PROPERTIES:
:ID: 3da327aa-b51e-444a-ae5c-95bb56d025a9
:EXPORT_FILE_NAME: report_25
:EXPORT_TO_ATTACH: t
:END:
Or maybe a property with an ATTACH prefix, I'm not sure. I find myself
having to use Google Docs more and more, for collaboration, and this
would let me use a package that mounts G-Docs on your filesystem, and
export directly there. (And it would keep my Org directory tidy!)
Has anyone cooked this up before? I wasn't able to find anything on the
web.
I'm imagining that org-attach.el could add something to
`org-export-before-processing-hook', to check for the presence of this
property, and set/rewrite the EXPORT_FILE_NAME property, if it's
present.
WDYT?
Eric
- Export to attach directory?,
Eric Abrahamsen <=