emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: "Gustav Wikström" <gustav.erik@gmail.com>
Cc: Bastien <bzg@altern.org>, emacs-orgmode@gnu.org
Subject: Re: Attachments and refiling
Date: Sat, 16 Jul 2011 12:50:23 -0300	[thread overview]
Message-ID: <4e21b345.c74cec0a.7e49.3340@mx.google.com> (raw)
In-Reply-To: <CA+SyOP-4wRQFU60eVUAjB49gyrb0hV9qJ43YDTg3GYCvxn-jhg@mail.gmail.com>


I use org-attach regularly and consider it to be a great feature of
org-mode. Since I only attach to the sub-tree (instead of to a different
file) I have not this problem. However, sometimes a set the attach
directory of two different headings to the same folder (when it makes
sense) and if org always moved the attached files it would break the other
sub-tree.

An alternative is to change the attach directory in the archived entry to
point to the original attach directory where the files are. When archiving
to a file in a different folder org could ask if it should also move the
attached files or simply change the attach directory accordingly (I would
prefer this as the default if "ask" as the default was considered too
annoying).

--
Darlan

At Fri, 15 Jul 2011 16:55:06 +0200,
Gustav Wikström <gustav.erik@gmail.com> wrote:
> 
> [1  <text/plain; ISO-8859-1 (quoted-printable)>]
> Hello Bastien!
> 
> To clarify a bit. Lets say I have a file c:\temp\agenda.org (I'm calling it
> file 'a').
> 
> When marked with TODO item: done, headings in this file are archived to
> another file called c:\temp\archive\agenda.org_archive ('b')
> 
> If i use C-c C-a to attach a file to a certain topic in 'a' and then refile
> this topic to 'b', when done the attachment still resides in c:\temp\data
> and will not be found when looking at the attachment in 'b'.
> 
> Thus my question is if it is possible to also refile the attachment so the
> attachment-folder resides in c:\temp\archive\data and is avaliable in 'b'?
> 
> /Gustav
> 
> 2011/7/15 Bastien <bzg@altern.org>
> 
> > Hi Gustav,
> >
> > Gustav Wikström <gustav.erik@gmail.com> writes:
> >
> > > Is it possible to make attachment-folders move with the headings when
> > > refiling them to other locations?
> >
> > I'm not sure what you mean.
> >
> > Can you give an example?
> >
> > --
> >  Bastien
> >
> [2  <text/html; ISO-8859-1 (quoted-printable)>]
> 

  reply	other threads:[~2011-07-16 15:50 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-15 11:06 Attachments and refiling Gustav Wikström
2011-07-15 11:16 ` Bastien
2011-07-15 14:55   ` Gustav Wikström
2011-07-16 15:50     ` Darlan Cavalcante Moreira [this message]
2011-07-19 12:17       ` Gustav Wikström
2011-07-24 20:00         ` Bastien
2011-07-25  0:14           ` Brian van den Broek
2011-07-25  7:10           ` Gustav Wikström
2011-07-25  7:45             ` Bastien
2011-07-25 15:55               ` Darlan Cavalcante Moreira
2011-07-28  7:51                 ` Bastien
2011-07-28 10:38                   ` suvayu ali
2011-07-28 13:46                     ` Nick Dokos
2011-07-28 13:49                       ` suvayu ali
2011-07-28 14:33                         ` Nick Dokos
2011-07-28 17:31                   ` Darlan Cavalcante Moreira
2011-07-28 18:04                     ` Bernt Hansen
2011-07-29  7:27                   ` Gustav Wikström
2011-08-02  4:02                     ` Matt Lundin
2011-08-29 12:04                       ` Gustav Wikström
2011-07-24 20:07         ` Bastien
2011-07-25  7:21           ` Gustav Wikström
2011-07-29  8:33             ` Gustav Wikström
2011-07-29 20:58               ` Darlan Cavalcante Moreira
2011-08-18 17:33                 ` Bastien
2011-08-18 20:37                   ` Darlan Cavalcante Moreira
2011-08-19  8:46                     ` Bastien
2011-08-19 16:29                       ` Darlan Cavalcante Moreira
2011-08-24 14:12                         ` Bastien
2011-08-24 14:56                           ` Darlan Cavalcante Moreira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4e21b345.c74cec0a.7e49.3340@mx.google.com \
    --to=darcamo@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=gustav.erik@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).