emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Max Rydahl Andersen
Subject: Re: [O] avoiding "First item of list cannot move without its subtree"
Date: Tue, 21 Feb 2017 17:07:13 +0100

On 21 Feb 2017, at 8:42, Nicolas Goaziou wrote:

Hello,

"Max Rydahl Andersen" <address@hidden> 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 + left to override or something
similar.

IMO, the current behaviour is the right one.

However, you can advice, e.g., `org-shiftmetaleft' so it catches the
error and calls `org-ctrl-c-star' instead.

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 "DO MAGIC!")
  (ad-do-it)
)

But with this "DO MAGIC!" does not show up.

/max
http://about.me/maxandersen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]