[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Attachments and refiling
From: |
Bastien |
Subject: |
Re: [O] Attachments and refiling |
Date: |
Thu, 28 Jul 2011 09:51:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Darlan,
here is how I see the situation regarding attachments:
1. org-attach.el is nice because it makes it easy to attach a file to a
task, while not *worrying* about where the file is on the harddrive.
2. Adding an ATTACH_DIR property will always add an absolute path, so
there is no problem when moving an entry with an explicit ATTACH_DIR.
3. Refiling/archiving subtrees lose track of some attachments when the
attach directory "data/" is *relative* to the org file (which is the
default) and when the target org file is not in the same directory.
4. Moving an entry with an ATTACH_DIR_INHERIT will lose attachments
when the ATTACH_DIR of the target entry is different.
(3) and (4) are two distinct problems.
I suggest fixing problem (3) by making `org-attach-dir' defaulting to
"~/.org-attachments/". I
I suggest fixing problem (4) by explicitely replacing ATTACH_DIR_INHERIT
with the corresponding ATTACH_DIR when the target subtree has a
different ATTACH_DIR.
The core idea is that I want to avoid moving files themselves: I think
it's a risky road, and I hope the solutions above will make this road
unnecessary.
I'm interested in feedback and ideas about such proposed changes.
Thanks a lot!
--
Bastien
- [O] Attachments and refiling, Gustav Wikström, 2011/07/15
- Re: [O] Attachments and refiling, Bastien, 2011/07/15
- Re: [O] Attachments and refiling, Gustav Wikström, 2011/07/15
- Re: [O] Attachments and refiling, Darlan Cavalcante Moreira, 2011/07/16
- Re: [O] Attachments and refiling, Gustav Wikström, 2011/07/19
- Re: [O] Attachments and refiling, Bastien, 2011/07/24
- Re: [O] Attachments and refiling, Brian van den Broek, 2011/07/24
- Re: [O] Attachments and refiling, Gustav Wikström, 2011/07/25
- Re: [O] Attachments and refiling, Bastien, 2011/07/25
- Re: [O] Attachments and refiling, Darlan Cavalcante Moreira, 2011/07/25
- Re: [O] Attachments and refiling,
Bastien <=
- Re: [O] Attachments and refiling, suvayu ali, 2011/07/28
- Re: [O] Attachments and refiling, Nick Dokos, 2011/07/28
- Re: [O] Attachments and refiling, suvayu ali, 2011/07/28
- Re: [O] Attachments and refiling, Nick Dokos, 2011/07/28
- Re: [O] Attachments and refiling, Darlan Cavalcante Moreira, 2011/07/28
- Re: [O] Attachments and refiling, Bernt Hansen, 2011/07/28
- Re: [O] Attachments and refiling, Gustav Wikström, 2011/07/29
- Re: [O] Attachments and refiling, Bastien, 2011/07/24
- Re: [O] Attachments and refiling, Gustav Wikström, 2011/07/25
- Re: [O] Attachments and refiling, Gustav Wikström, 2011/07/29