From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-insert-heading Date: Wed, 13 Nov 2013 15:15:46 +0100 Message-ID: <87d2m4s7zh.fsf@bzg.ath.cx> References: <87wqkcznir.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgbEc-0003Fr-PI for emacs-orgmode@gnu.org; Wed, 13 Nov 2013 09:16:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgbEV-0000n2-1C for emacs-orgmode@gnu.org; Wed, 13 Nov 2013 09:15:58 -0500 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:51715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgbEU-0000mu-Lw for emacs-orgmode@gnu.org; Wed, 13 Nov 2013 09:15:50 -0500 Received: by mail-wg0-f41.google.com with SMTP id n12so4218855wgh.4 for ; Wed, 13 Nov 2013 06:15:49 -0800 (PST) In-Reply-To: (Thomas S. Dye's message of "Wed, 13 Nov 2013 03:06:15 -1000") 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: "Thomas S. Dye" Cc: Org-mode Hi Thomas, tsd@tsdye.com (Thomas S. Dye) writes: > I looked more closely and found that the behavior I described happens > when the folded material ends in a list. If I end the list by adding > some regular text, then I get the expected behavior. Confirmed -- I quickly looked, it seems that `org-in-item-p' should do a better job when preceeded by invisible text. -- Bastien