From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Attachments and refiling Date: Mon, 25 Jul 2011 09:45:24 +0200 Message-ID: <877h76u7l7.fsf@gnu.org> References: <87ei1rrdzd.fsf@gnu.org> <4e21b345.c74cec0a.7e49.3340@mx.google.com> <87mxg3v32m.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlFqb-0002NE-OV for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 03:45:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlFqa-0000bm-NH for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 03:45:05 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:53119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlFqa-0000b3-FE for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 03:45:04 -0400 Received: by wyg36 with SMTP id 36so3154866wyg.0 for ; Mon, 25 Jul 2011 00:45:03 -0700 (PDT) In-Reply-To: ("Gustav \=\?iso-8859-1\?Q\?Wikstr\=F6m\=22's\?\= message of "Mon, 25 Jul 2011 09:10:50 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Gustav =?iso-8859-1?Q?Wikstr=F6m?= Cc: emacs-orgmode@gnu.org Gustav Wikström writes: > I'm leaning towards not moving my archive to a different folder. I > like having the attachments relative. Okay. But as Darlan pointed out, moving the attached files when refiling the entry might be dangerous, because files in this attached directory can also be attached in a different subtree. I don't have a good general solution to this -- if someone has, please share. > Are archive- and refile-hooks implemented b.t.w.? C-h v org-archive-*-hook TAG C-h v org-refile-*-hook TAG helps. There is `org-after-refile-insert-hook' but there is no `org-archive-hook'. I'll consider adding this. > This would make it > possible to hack a personal setting, or am I wrong? You're probably right. Code is proof. -- Bastien