From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: org-insert-heading-respect-content inserts at the wrong level if target heading is invisible [7.9.2 (release_7.9.2-883-g6fb36e.dirty @ /home/dlm/share/org-mode.git/lisp/)] Date: Thu, 11 Apr 2013 01:06:27 +0200 Message-ID: <87fvyy0yvg.fsf@bzg.ath.cx> References: <874ni598fq.wl%jamshark70@dewdrop-world.net> <87k3qebvw4.fsf@bzg.ath.cx> <87a9r7gsji.fsf@bzg.ath.cx> <87mwujdp87.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ461-0004D6-Tj for Emacs-orgmode@gnu.org; Wed, 10 Apr 2013 19:06:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQ461-0003Q0-0M for Emacs-orgmode@gnu.org; Wed, 10 Apr 2013 19:06:29 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:52297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ460-0003Pr-Po for Emacs-orgmode@gnu.org; Wed, 10 Apr 2013 19:06:28 -0400 Received: by mail-wg0-f45.google.com with SMTP id l18so1064879wgh.12 for ; Wed, 10 Apr 2013 16:06:28 -0700 (PDT) In-Reply-To: (James Harkins's message of "Wed, 13 Mar 2013 17:03:26 +0800") 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: James Harkins Cc: jamshark70@dewdrop-world.net, Emacs-orgmode@gnu.org Hi James, James Harkins writes: > On Tue, Mar 5, 2013 at 1:41 AM, Bastien wrote: >> There is some obscure issues here... I fixed various things in >> `org-insert-heading' in master, but inserting in invisible parts of >> the subtree is still unstable. So I went and used the workaround you >> suggested (i.e. org-show-subtree) in the maint branch, so that it will >> be in 7.9.4. > > Apologies -- this seems to be the issue that wouldn't die -- but I > have to report another failure with this. Thanks for the detailed report -- I pushed a fix. I used (org-insert-heading-respect-content '(16) t) so that new headings are added at the end of the parent subtree. Can you confirm it works fine for you? Thanks, -- Bastien