Plain lists: Allow to force bullet type changes during demotion
commit280f8495ed5a58b7f59e8a6ce3ac35db8a3f097d
authorCarsten Dominik <carsten.dominik@gmail.com>
Mon, 6 Jul 2009 06:53:50 +0000 (6 08:53 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Mon, 6 Jul 2009 13:38:23 +0000 (6 15:38 +0200)
tree63385c58a6c7681ea573612690cf9c79f5526b6a
parent7d4db79e2e2aa162b8115a4dc43b20f32999d7f2
Plain lists: Allow to force bullet type changes during demotion

Rainer Stengele writes:

> using org-mode for quite some time now I always look at
> operations (key sequences) I repeat a lot of times.
>
> A lot of times I start a list with an item and immediately
> indent the next item as subitem.
>
> From
>
> - item 1
> - subitem 11
>
> I go to
>
> - item 1
>  - subitem 11
>
> via "M-right". Then I always want to change the style of the
> subitem list to "*". I do this via "S-right-right".
>
> I wonder how others work. I would like to automatically have
> changed the subitem list type to "*" as soon as I indent via
> "Alt-right". Next indentation should go back to "-". etc.
>
> Maybe we could introduce a variable that sets the order of
> standard list item types, in my case: "- * - * - * - *" as
> in
>
>
> - item 1
>  * subitem 11
>    - subitem 111
>      * subitem 111
> ...
>
> very special I know but I try to reduce the keypressings as
> much as possible. Any other suggestions?

This commits adds the variable
`org-list-demote-modify-bullet' for this purpose.
lisp/ChangeLog
lisp/org-list.el