From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: [BUG] Org-capture breaks if captured-to file is open in a narrowed buffer Date: Fri, 24 Sep 2010 14:29:26 +0200 Message-ID: <871v8jz5nd.wl%dmaus@ictsoc.de> References: <20100909113805.GO26017@roobarb.crazydogs.org> <87r5gyx5wt.wl%dmaus@ictsoc.de> <877hicxotf.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1240590165==" Return-path: Received: from [140.186.70.92] (port=58154 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oz7WG-0001zC-C7 for emacs-orgmode@gnu.org; Fri, 24 Sep 2010 08:36:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oz7PC-0005Ja-TM for emacs-orgmode@gnu.org; Fri, 24 Sep 2010 08:29:36 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:43985) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oz7PC-0005JJ-J2 for emacs-orgmode@gnu.org; Fri, 24 Sep 2010 08:29:34 -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: Carsten Dominik Cc: Jules Bean , David Maus , emacs-orgmode@gnu.org --===============1240590165== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Fri_Sep_24_14:29:25_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Fri_Sep_24_14:29:25_2010-1 Content-Type: text/plain; charset=US-ASCII Carsten Dominik wrote: >On Sep 23, 2010, at 9:06 PM, David Maus wrote: >> David Maus wrote: >>> Jules Bean wrote: >>>> If I run org-capture with the template: >> >>>> ("t" "Todo" entry (file+headline >>>> "/Users/jules/work/TODO.org" "Tasks") "* TODO %? >>>> (Captured at %u) >>>> %i >>>> %a >>>> ") >> >>>> whilst I have narrowed (using, e.g., org-narrow-to-subtree) the >>>> buffer >>>> that contains TODO.org, a new "* Tasks" headline is inserted at the >>>> end of my narrowing and the new entry is added there, which messes >>>> up >>>> the hierarchy of the file. >> >>> I can confirm this with >> >>> Org-mode version 7.01trans (release_7.01h.497.g59fa) >> >>> GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) >>> of 2010-08-14 on raven, modified by Debian >> >> Attached should fix this problem. >Looks good to me. >- Carsten Okay, pushed to master. -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Fri_Sep_24_14:29:25_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkycmaUACgkQma24O1pEeOb7yQD/RgGB8HWUt8pZE7xxM8hqb3yr E3NQXJaVViDpCeudLgUA/iMeYhgP5EjxBmuWR3FGFS12xoEDWpsZwJB4PKKOKcG6 =M/1i -----END PGP SIGNATURE----- --pgp-sign-Multipart_Fri_Sep_24_14:29:25_2010-1-- --===============1240590165== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1240590165==--