emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug Report: refile and attachments
@ 2010-07-23  9:52 Colin Fraizer
  2010-07-23 10:58 ` Noorul Islam K M
  0 siblings, 1 reply; 4+ messages in thread
From: Colin Fraizer @ 2010-07-23  9:52 UTC (permalink / raw)
  To: 'emacs-orgmode Mailinglist'


[-- Attachment #1.1: Type: text/plain, Size: 481 bytes --]

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.

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 <tab> showed "no match" in
the minibuffer.

 


[-- Attachment #1.2: Type: text/html, Size: 7490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug Report: refile and attachments
  2010-07-23  9:52 Bug Report: refile and attachments Colin Fraizer
@ 2010-07-23 10:58 ` Noorul Islam K M
  2010-07-23 11:06   ` Colin Fraizer
  0 siblings, 1 reply; 4+ messages in thread
From: Noorul Islam K M @ 2010-07-23 10:58 UTC (permalink / raw)
  To: Colin Fraizer; +Cc: 'emacs-orgmode Mailinglist'

"Colin Fraizer" <orgmode@cfraizer.com> 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 <tab> showed "no match" in
> the minibuffer.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Bug Report: refile and attachments
  2010-07-23 10:58 ` Noorul Islam K M
@ 2010-07-23 11:06   ` Colin Fraizer
  2010-07-24 11:39     ` David Maus
  0 siblings, 1 reply; 4+ messages in thread
From: Colin Fraizer @ 2010-07-23 11:06 UTC (permalink / raw)
  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" <orgmode@cfraizer.com> 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 <tab> showed "no match" in
> the minibuffer.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RE: Bug Report: refile and attachments
  2010-07-23 11:06   ` Colin Fraizer
@ 2010-07-24 11:39     ` David Maus
  0 siblings, 0 replies; 4+ messages in thread
From: David Maus @ 2010-07-24 11:39 UTC (permalink / raw)
  To: Colin Fraizer
  Cc: 'emacs-orgmode Mailinglist', 'Noorul Islam K M'


[-- Attachment #1.1: Type: text/plain, Size: 828 bytes --]

Colin Fraizer wrote:
>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.

I've put it on the wish-list because it is indeed something that is
naturally to be expected.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-24 11:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-23  9:52 Bug Report: refile and attachments Colin Fraizer
2010-07-23 10:58 ` Noorul Islam K M
2010-07-23 11:06   ` Colin Fraizer
2010-07-24 11:39     ` David Maus

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).