From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sanjoy Mahajan Subject: Re: outline-demote incorrectly demotes leaf nodes Date: Wed, 19 Oct 2011 09:57:02 -0400 Message-ID: <87pqhtt781.fsf@approx.mit.edu> References: <20111018105406.921@usenet.piggo.com> <4E9D4E10.6070606@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGWxW-0000Jx-PC for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 10:17:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGWxR-0003q9-0q for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 10:17:30 -0400 Received: from webmail.olin.edu ([209.94.128.49]:19422 helo=EXCAS01.olin.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGWxQ-0003q1-V9 for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 10:17:24 -0400 In-Reply-To: (Carsten Dominik's message of "Wed, 19 Oct 2011 09:14:16 +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: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten, Thank you for the very clear explanation. I like this option that you suggested: (add-hook 'org-mode-hook (lambda () (define-key org-mode-map [(control ?<)] 'org-promote-subtree) (define-key org-mode-map [(control ?>)] 'org-demote-subtree))) It makes outline mode adapt to the new age (org mode). -- -Sanjoy `Until lions have their historians, tales of the hunt shall always glorify the hunters.' --African Proverb