Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-28 Thread Max Rydahl Andersen
On 23 Feb 2017, at 14:07, Nicolas Goaziou wrote: > Hello, > > "Max Rydahl Andersen" writes: > >> Here is a screencast of me trying before and after evaluating buffer >> with the function in it. >> >> https://v.usetapes.com/COVDzfByN0 > > Odd. I definitely see TRT in my case.

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-23 Thread Nicolas Goaziou
Hello, "Max Rydahl Andersen" writes: > Here is a screencast of me trying before and after evaluating buffer > with the function in it. > > https://v.usetapes.com/COVDzfByN0 Odd. I definitely see TRT in my case. What is the value of `org-shiftmetaleft-hook' ? Could you

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-23 Thread Max Rydahl Andersen
On 23 Feb 2017, at 12:41, Nicolas Goaziou wrote: Hello, "Max Rydahl Andersen" writes: Fixed the typo - but still nothing happens :/ "Nothing happens" is a bit vague. M-S-Left should demote an item. When it reaches top-level, it should be turned into a headline. What

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-23 Thread Nicolas Goaziou
Hello, "Max Rydahl Andersen" writes: > Fixed the typo - but still nothing happens :/ "Nothing happens" is a bit vague. M-S-Left should demote an item. When it reaches top-level, it should be turned into a headline. What happens instead? Regards, -- Nicolas Goaziou

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-22 Thread Max Rydahl Andersen
On 22 Feb 2017, at 12:04, Nicolas Goaziou wrote: > Hello, > > "Max Rydahl Andersen" writes: > >> What am I doing wrong ? > > Nothing. There is a typo in my code. Fixed the typo - but still nothing happens :/ /max > >> (add-hook 'org-shiftmetaleft-hook >>(lambda ()

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-22 Thread Nicolas Goaziou
Hello, "Max Rydahl Andersen" writes: > What am I doing wrong ? Nothing. There is a typo in my code. > (add-hook 'org-shiftmetaleft-hook > (lambda () > (interactive) > (let* ((element (org-element-at-point)) > (list-parent

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-21 Thread Max Rydahl Andersen
On 21 Feb 2017, at 18:35, Nicolas Goaziou wrote: "Max Rydahl Andersen" writes: Any pointers on how to do this ? I tried this but no luck to get hooked in: ``` (defadvice org-fix-list-indent (around org-list-indent-item-generic) "Advise list indention to trigger

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-21 Thread Nicolas Goaziou
"Max Rydahl Andersen" writes: > Any pointers on how to do this ? > > I tried this but no luck to get hooked in: > > ``` > (defadvice org-fix-list-indent > (around org-list-indent-item-generic) > "Advise list indention to trigger creation of star instead" > (message

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-21 Thread Max Rydahl Andersen
On 21 Feb 2017, at 8:42, Nicolas Goaziou wrote: > Hello, > > "Max Rydahl Andersen" writes: > >> Might be - but seems it fits very naturally to be able to at least >> allow to move list items outside its parent. >> >> Don't get me wrong - I like it defaults to stopping, but

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-20 Thread Nicolas Goaziou
Hello, "Max Rydahl Andersen" writes: > Might be - but seems it fits very naturally to be able to at least > allow to move list items outside its parent. > > Don't get me wrong - I like it defaults to stopping, but would prefer > it would ask or let me do shift + left +

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-20 Thread Max Rydahl Andersen
* Some important topic - idea 1, some notes - idea 2, another note - idea 3, a third note Maybe change your approach and use headlines throughout: * Some important topic ** idea 1 some notes ** idea 2 another note ** idea 3 a third note ? You can still move these about and

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-20 Thread Max Rydahl Andersen
And then I go over these and I use the shift/alt+keys to reorder the ideas up and down and eventually I would like to do this: ``` * Some important topic - idea 1, some notes ** TODO idea 2, another note - idea 3, a third note ``` What is that? Is "** TODO idea 2, another note" a

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-20 Thread Eric S Fraga
On Monday, 20 Feb 2017 at 12:58, Max Rydahl Andersen wrote: > Hi, > > First time poster and recently started using org-mode and so far enjoying it > :) > > One nag I do have though is how moving of basic lists are handled. > I constantly bump into "First item of list cannot move without its

Re: [O] avoiding "First item of list cannot move without its subtree"

2017-02-20 Thread Nicolas Goaziou
Hello, "Max Rydahl Andersen" writes: > What I often have is that I during a meeting or brain dump do this: > > ``` > * Some important topic > - idea 1, some notes > - idea 2, another note > - idea 3, a third note > ``` OK. > And then I go over these and I use the