From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-capture loses entered text when C-g on file selection Date: Mon, 30 Aug 2010 09:26:55 +0200 Message-ID: <2F1F6ED1-DA18-42CC-8F57-185562E0D7BE@gmail.com> References: 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=58100 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Opyli-0003mi-VW for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 03:27:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Opylh-0004JT-Pn for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 03:27:02 -0400 Received: from paard.ic.uva.nl ([145.18.40.182]:49185) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Opylh-0004JL-I9 for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 03:27:01 -0400 In-Reply-To: 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: Greg Troxel Cc: emacs-orgmode@gnu.org On Aug 28, 2010, at 3:48 PM, Greg Troxel wrote: > > This may not technically be a bug, but it violated my expectations: > > setup: > > (setq org-capture-templates > '(("t" "task" entry > (file+headline "notes.org" "Refile") > "* TODO %?\n %U\n"))) > > Use 'C-c r' to start capturing. > > Type 'foo'. > > C-c C-w to start refiling > > Type 'bar'. > > Decide that you really didn't finish the note, and type C-g to get > back > to editing the note. > > Notice that your typed-in text is vanished. > > C-h l output of a test case that shows this problem: > > C-c r f o o C-c C-w b a r C-g Hi Greg, unfortunately, the way this is implemented is the following: It first finalizes the capture, then it does the refile. So it is difficult to recover at that point. - Carsten > > _______________________________________________ > 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 - Carsten