From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Colin Fraizer" Subject: RE: Bug Report: refile and attachments Date: Fri, 23 Jul 2010 07:06:45 -0400 Message-ID: <10dc01cb2a57$24046420$6c0d2c60$@com> References: <0f8a01cb2a4c$b7b562b0$27202810$@com> <874ofqcvng.fsf@noorul.maa.corp.collab.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=33521 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcG5Z-0001sL-EB for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 07:06:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcG5X-00080g-Re for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 07:06:49 -0400 Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74]:36080 helo=postalmail-a8.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcG5X-00080K-MK for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 07:06:47 -0400 In-Reply-To: <874ofqcvng.fsf@noorul.maa.corp.collab.net> Content-Language: en-us List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: 'Noorul Islam K M' Cc: 'emacs-orgmode Mailinglist' I know it's not _exactly_ the same, but I re-filed it back to the original file (C-c C-w) and then opened it successfully (C-c C-a o). It didn't prompt me (because there was only one attachment). I just tried it with a new entry and attachment file (of the same type) and it worked. Hmn. Oh, I see the problem. In the failing case, the org files are in different directories. (I didn't realize it because they are both agenda files and I was using the path-oriented interactive refilling.) I would expect the refile to move the attachments to the target's attachment directory regardless. [Sorry I didn't have time to debug the elisp myself. I may look later if no one jumps in before me. I don't want to be a leech. 8-] -----Original Message----- From: Noorul Islam K M [mailto:noorul@noorul.com] Sent: Friday, July 23, 2010 6:58 AM To: Colin Fraizer Cc: 'emacs-orgmode Mailinglist' Subject: Re: Bug Report: refile and attachments "Colin Fraizer" writes: > 1. Exactly what I did > > I created an entry in an org file. > > I added an attachment to that entry. > > I used refile (C-c C-w) to move the entry to another org file. > Before doing this, can you try opening it from initial org file itself. using C-c C-a o Thanks and Regards Noorul > I visited that file and attempted to open the attachment (C-c C-a o). > > 2. What I expected: > > Because there was only one attachment associated with the entry, I expected > it to open. > > 3. What happened instead: > > I was prompted for an attachment name. Hitting showed "no match" in > the minibuffer.