From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-insert-heading Date: Fri, 15 Nov 2013 09:08:36 +0100 Message-ID: <874n7ew0sa.fsf@bzg.ath.cx> References: <87wqkcznir.fsf@bzg.ath.cx> <87d2m4s7zh.fsf@bzg.ath.cx> <878uwqev02.fsf@gmail.com> <87li0qzjb1.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhESQ-0001Wx-KE for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 03:08:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhESI-0008MT-6h for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 03:08:50 -0500 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:56569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhESH-0008MP-Vh for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 03:08:42 -0500 Received: by mail-wg0-f43.google.com with SMTP id n12so3212420wgh.22 for ; Fri, 15 Nov 2013 00:08:41 -0800 (PST) In-Reply-To: (Carsten Dominik's message of "Fri, 15 Nov 2013 07:42:21 +0100") 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: Nicolas Goaziou , Org-mode , "Thomas S. Dye" Hi Carsten, Carsten Dominik writes: > I think it is dangerous to change the behavior in such a way that > it will depend on the heading being folded or not. Definitely org-in-item-p > should not depend on that. I am still debating with myself if org-insert-heading > should. Maybe only in interactive use or something like that. > Dangerous territory. My rather simple take on this is that org-insert-heading should ignore the context (like a list) when it's invisible, at least interactively. 2 cents of course, -- Bastien