From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-capture doesn't narrow correctly if :prepend is t Date: Mon, 16 Sep 2013 13:59:20 +0200 Message-ID: <8601D100-A10A-4D81-87C3-AB88EAE6BEE2@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLXSb-0002SD-G0 for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 07:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLXSW-0002GB-Bh for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 07:59:21 -0400 Received: from mail-ea0-x22c.google.com ([2a00:1450:4013:c01::22c]:48794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLXSW-0002FR-4k for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 07:59:16 -0400 Received: by mail-ea0-f172.google.com with SMTP id r16so1985919ead.3 for ; Mon, 16 Sep 2013 04:59:15 -0700 (PDT) In-Reply-To: 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: Adam Spiers Cc: emacs-orgmode@gnu.org Hi Adam, it is in my queue, but I have not yet had time to look at it. - Carsten On 16.9.2013, at 13:33, Adam Spiers wrote: > On 2 September 2013 18:51, Adam Spiers wrote: >> I have an org-capture template as follows: >> >> ("n" "personal NEXT" entry >> (file "~/org/TODO.org") >> "* NEXT %?" :prepend t) >> >> but after I hit `C-c C-c', the file's buffer stays narrowed, with the >> new entry invisible. Anyone who didn't notice the presence of >> 'Narrow' in the modeline would be convinced that the capture >> completely failed. It can be revealed via `C-u C-x n w', but of >> course it's annoying having to do this every time. >> >> The problem vanishes as soon as I de-select the :prepend flag. It's >> been an issue for a while, so I guess I'm the only one using this >> flag? > > Judging by the lack of response, it seems noone else uses :prepend :-/ > It's enough of an itch that I am happy to scratch / fix it myself, but > it would be great if someone could give me a few quick pointers on how > org-capture uses narrowing - otherwise it could take me quite a lot of > time and pain to understand it by myself ... > > Thanks! > Adam >