From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Iverson Subject: possible org-insert-heading bug? Date: Tue, 2 Jul 2013 13:53:55 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu5if-00059H-OY for emacs-orgmode@gnu.org; Tue, 02 Jul 2013 14:54:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uu5ic-0008MI-Uo for emacs-orgmode@gnu.org; Tue, 02 Jul 2013 14:54:29 -0400 Received: from mail-ob0-x235.google.com ([2607:f8b0:4003:c01::235]:58158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu5ic-0008MC-Po for emacs-orgmode@gnu.org; Tue, 02 Jul 2013 14:54:26 -0400 Received: by mail-ob0-f181.google.com with SMTP id 16so5866276obc.26 for ; Tue, 02 Jul 2013 11:54:25 -0700 (PDT) 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: emacs-orgmode@gnu.org Hello, I am using a current git pull (Org-mode version 8.0.3, release_8.0.3-345-g239aa7) and noticed behavior that's easiest to show with a small example. If you save and visit the following org file, https://dl.dropboxusercontent.com/u/7514404/test.org you will see the behavior described and documented (assuming it's reproducible under your version of emacs and orgmode). Briefly M- at the end of a *folded* headline that contains plain list items will insert a new plain list item at the end of the subtree, instead of a new top-level headline. I believe this conflicts with the documentation for M-, which currently reads: ... If the command is used at the end of a folded subtree (i.e., behind the ellipses at the end of a headline), then a headline like the current one will be inserted after the end of the subtree... Best, --Erik