emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Bug: org-capture destroys target file when user aborting p


From: Carsten Dominik
Subject: Re: [Orgmode] Bug: org-capture destroys target file when user aborting prompt in template [6.36trans (release_6.36.430.gec51)]
Date: Sun, 27 Jun 2010 09:25:59 +0200

Hi David,

can you please make me an example template and then the exact
steps to reproduce this?

Thank you.

- Carsten

On Jun 27, 2010, at 9:09 AM, David Maus wrote:

Hi Carsten,

Carsten Dominik wrote:
Hi David,

thanks for the detailed report - nice catch. This was due to the fact
that I am copying all local variables from the target buffer to the
temp buffer, unfortunately including buffer-file-name :)

THhis is fixed now - I hope you did not loose any data.

Luckily I didn't, just a good rush of adrenalin :)

It's still not entirely fixed: The target is not overwritten, but when
I abort org-capture there is one of those #<filename>#-file (how are
those called?) with the skeleton left behind.  E.g. when aborting a
template that files to ~/org/inbox.org and leaving Emacs (or calling
`org-save-all-org-buffers' I get a ~/org/#inbox.org# with the
template's skeleton.

Thanks for the quick fix,
 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

- Carsten






reply via email to

[Prev in Thread] Current Thread [Next in Thread]