Re: [O] outline-demote incorrectly demotes leaf nodes

2011-12-11 Thread Bastien
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: Attached is the patch with this changelog: Completion of remapping for Outline functions * lisp/org.el Key bindings: remap the Outline functions from `outline-mode-prefix-map' where possible. Thanks a lot for going through this

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-11-09 Thread Michael Brand
Hi Carsten Attached is the patch with this changelog: Completion of remapping for Outline functions * lisp/org.el Key bindings: remap the Outline functions from `outline-mode-prefix-map' where possible. Michael On Sat, Oct 22, 2011 at 10:15, Michael Brand michael.ch.br...@gmail.com wrote: On

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-22 Thread Michael Brand
Hi Carsten On Fri, Oct 21, 2011 at 16:40, Carsten Dominik carsten.domi...@gmail.com wrote: On Oct 19, 2011, at 5:39 PM, Michael Brand wrote: (define-key org-mode-map [remap outline-promote] 'org-promote-subtree) (define-key org-mode-map [remap outline-demote] 'org-demote-subtree) [...]

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-21 Thread Carsten Dominik
On Oct 19, 2011, at 5:39 PM, Michael Brand wrote: Hi Carsten On 18.10.2011, at 20:03, Sanjoy Mahajan wrote: 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

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-21 Thread Bastien
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: My suggestion is something like (define-key org-mode-map [remap outline-promote] 'org-promote-subtree) (define-key org-mode-map [remap outline-demote] 'org-demote-subtree) I've taken this road and committed the change, thanks for

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-21 Thread Bastien
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: permanently built into Org mode (not in org-mode-hook) for these and maybe even a few more outline-* bindings to get the incompatible outline-* bindings out of the way from within Org mode. This remap does not affect the

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-19 Thread Carsten Dominik
On 18.10.2011, at 20:03, Sanjoy Mahajan wrote: Christian Moe mail at 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

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-19 Thread Michael Brand
Hi Carsten On 18.10.2011, at 20:03, Sanjoy Mahajan wrote: 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

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-19 Thread Sanjoy Mahajan
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

[O] outline-demote incorrectly demotes leaf nodes

2011-10-18 Thread Sébastien Delafond
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

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-18 Thread Christian Moe
Hi, The Org manual (2.5 Structure editing) says to use M-S-right (org-demote-subtree) for what the submitter wants to do. Yours, Christian On 10/18/11 10:55 AM, Sébastien Delafond wrote: Hello, from Debian bug #645360 (http://bugs.debian.org/645360): Here's my test file, call it c.org:

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-18 Thread Bernt Hansen
I agree that's not a valid bug and should be closed. -Bernt Christian Moe m...@christianmoe.com writes: Hi, The Org manual (2.5 Structure editing) says to use M-S-right (org-demote-subtree) for what the submitter wants to do. Yours, Christian On 10/18/11 10:55 AM, Sébastien Delafond

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-18 Thread Sébastien Delafond
On 2011-10-18, Bernt Hansen be...@norang.ca wrote: I agree that's not a valid bug and should be closed. gotcha, will do. Christian Bernt, thanks a lot for your input ! Cheers, --Seb

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-18 Thread Bernt Hansen
Sébastien Delafond sdelaf...@gmail.com writes: On 2011-10-18, Bernt Hansen be...@norang.ca wrote: I agree that's not a valid bug and should be closed. gotcha, will do. Christian Bernt, thanks a lot for your input ! Cheers, --Seb There's M-right and M-S-right for demoting headings - the

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-18 Thread Sanjoy Mahajan
Christian Moe mail at 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

Re: [O] outline-demote incorrectly demotes leaf nodes

2011-10-18 Thread Nick Dokos
Sanjoy Mahajan san...@olin.edu wrote: Christian Moe mail at 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