From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: (org-insert-headline '(4)) should insert new headline before point Date: Thu, 17 Apr 2014 16:21:44 +0200 Message-ID: <87a9bk9guf.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WanCQ-0007nh-FT for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 10:22:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WanCH-0000qW-Ey for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 10:21:58 -0400 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:58638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WanCH-0000qL-8E for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 10:21:49 -0400 Received: by mail-we0-f182.google.com with SMTP id p61so513262wes.13 for ; Thu, 17 Apr 2014 07:21:48 -0700 (PDT) In-Reply-To: (York Zhao's message of "Thu, 3 Apr 2014 18:59:52 -0400") 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: York Zhao Cc: emacs-orgmode Hi York, York Zhao writes: > (org-insert-headline '(4)) used to insert new heading before point. But this had > broken recently. According to the docstring, this command inserts new > heading at the end of the parent subtree ONLY if two universal prefix > arguments is given, not one. Here's the reproducer: Not sure what precise error you're reporting here, but I fixed the docstring in the master branch -- please have a look and report if the behavior differs from what the docstring says. Thanks, -- Bastien