From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sanjoy Mahajan Subject: Re: outline-demote incorrectly demotes leaf nodes Date: Tue, 18 Oct 2011 18:03:01 +0000 (UTC) Message-ID: References: <20111018105406.921@usenet.piggo.com> <4E9D4E10.6070606@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGEBz-0005pp-4c for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 14:15:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGEBx-00031K-6e for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 14:15:11 -0400 Received: from lo.gmane.org ([80.91.229.12]:50880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGEBw-00030P-RI for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 14:15:09 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RGEBt-0005dI-OH for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 20:15:05 +0200 Received: from nat-pool-128-116.olin.edu ([209.94.128.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Oct 2011 20:15:05 +0200 Received: from sanjoy by nat-pool-128-116.olin.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Oct 2011 20:15:05 +0200 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 Christian Moe christianmoe.com> writes: > The Org manual (2.5 Structure editing) says to use M-S-≤right> > (org-demote-subtree) for what the submitter wants to do. (I am the original reporter of the issue on the Debian BTS.) That is useful information for me, and I will use those keys. I do worry about one point, namely that C-c C-> (outline-demote) should still work. And it does work in regular outline mode. For example, if I rename my test file to c.otl and then use C-c C-> on the main heading, all the subtrees are demoted as I expected. Whereas in org mode the leaf subtree gets a space instead of a * when it is being demoted. So, I wonder whether org mode is somehow messing up outline-demote without meaning to? I am far from an expert on the org.el lisp code, and maybe the current org-mode behavior is the intended result. But I worry that it is not intended and instead is an accidental side effect of something else. -Sanjoy