From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?S=C3=A9bastien?= Delafond Subject: outline-demote incorrectly demotes leaf nodes Date: Tue, 18 Oct 2011 08:55:47 +0000 (UTC) Message-ID: <20111018105406.921@usenet.piggo.com> Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG5X4-0007ra-96 for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 05:00:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RG5Wy-0000KU-Aj for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 05:00:22 -0400 Received: from lo.gmane.org ([80.91.229.12]:36623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG5Wx-0000KP-R2 for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 05:00:16 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RG5Ww-0001ME-5C for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 11:00:14 +0200 Received: from 74.123.29.134 ([74.123.29.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Oct 2011 11:00:14 +0200 Received: from sdelafond by 74.123.29.134 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Oct 2011 11:00:14 +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 Hello, from Debian bug #645360 (http://bugs.debian.org/645360): Here's my test file, call it "c.org": * a ** aa *** aaa I put the cursor at the beginning of the file (at the * in the first line). Then I type C-c C-> (i.e. outline-demote). The result is ** a *** aa *** aaa I expected that the last line (the leaf node "aaa") would become a fourth-level heading, i.e. "**** aaa". Instead, the fourth * that I was hoping for looks like it became a space. There wasn't any patch provided by the submitter. Cheers, --Seb