From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Dunsmore Subject: Re: org-capture does not fully clean up after C-c C-k Date: Fri, 22 Jul 2011 11:15:04 -0500 Message-ID: <87sjpye1h3.fsf@riotblast.dunsmor.com> References: <28021D5A-92CD-4732-8462-8AD1EBA7262D@gmail.com> <8739j9fwfm.fsf@riotblast.dunsmor.com> <981709DD-40AB-4F36-8ECC-8CB71DE4AAB5@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkINX-0004zW-Ny for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 12:15:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkINW-00066o-ND for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 12:15:07 -0400 Received: from deathroller.dunsmor.com ([98.129.169.48]:40547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkINW-00065K-GE for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 12:15:06 -0400 In-Reply-To: <981709DD-40AB-4F36-8ECC-8CB71DE4AAB5@gmail.com> (Carsten Dominik's message of "Tue, 21 Jun 2011 09:57:00 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Jason Dunsmore , emacs-orgmode@gnu.org, Leo Carsten Dominik writes: >>> I am unable to reproduce this. I do get an empty line the first time, >>> but when the empty line is already there, then there is no problem. >>> >>> Do you find the insertion of this one empty line a problem? >> >> It's a significant problem for me. I still use org-remember because 1) >> org-capture inserts an extra blank line > > Do you also mean at the beginning of the file, or elsewhere? > >> and 2) canceling a capture >> doesn't work for some reason - I get the following message: >> >> "org-capture-finalize: Capture process aborted, but target buffer could not be cleaned up correctly" > > can you make a minimal example to demonstrate this issue? > I would like to fix it. While attempting to make a minimal example of this, I narrowed down the problem to using ":unnarrowed t" in my org-capture-templates. Since I removed it, there is no extra line and the buffer gets cleaned up when I type C-c C-k. I've finally made the switch to org-capture. Thanks!