From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: org-capture destroys target file when user aborting prompt in template [6.36trans (release_6.36.430.gec51)] Date: Sun, 27 Jun 2010 12:27:56 +0200 Message-ID: References: <878w6110wp.wl%dmaus@ictsoc.de> <8D3E7F4D-3975-455F-9512-173001D9C419@gmail.com> <87aaqhj6jq.wl%dmaus@ictsoc.de> <87eifslwd7.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=58507 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSp5q-0003WW-Ss for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 06:28:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSp5k-0006iF-EJ for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 06:28:01 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:61625) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSp5k-0006i7-8H for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 06:28:00 -0400 Received: by wwf26 with SMTP id 26so2191686wwf.0 for ; Sun, 27 Jun 2010 03:27:59 -0700 (PDT) In-Reply-To: <87eifslwd7.wl%dmaus@ictsoc.de> 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: David Maus Cc: emacs-orgmode@gnu.org Hi David, thanks a lot. I have not been able to reproduce this, but maybe I have different setup with auto-save files. I have just improved the error catching code around the template filling, and I would like to ask you to pull again and see if the problem still persists. Sorry that this is not more straight forward. - Carsten On Jun 27, 2010, at 10:20 AM, David Maus wrote: > Carsten Dominik wrote: >> Hi David, > >> can you please make me an example template and then the exact >> steps to reproduce this? > > Sure: > > - this template: > > (setq org-capture-templates > '(("t" "Task or appointment" entry (file "~/test.org") > "* TODO %^{Todo}"))) > > - call org-capture and abort on the prompt > > - quit Emacs and there it is > > ,---- > | dmaus@t41 ~ % ls > | bin/ code/ docs/ downloads/ git/ mail/ org/ #test.org# > texmf/ www/ > | dmaus@t41 ~ % > `---- > > And there is another, smaller issue: If I call org-capture again after > aborting the prompt the capture buffer contains the remains of the > aborted capture. > > Version: Org-mode version 6.36trans (release_6.36.432.g1b2a2) > > HTH > -- David > -- > OpenPGP... 0x99ADB83B5A4478E6 > Jabber.... dmjena@jabber.org > Email..... dmaus@ictsoc.de - Carsten