emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-list-indent-offset only works partially


From: Nicolas Goaziou
Subject: Re: [O] org-list-indent-offset only works partially
Date: Wed, 19 Oct 2011 13:08:30 +0200

Michael Brand <address@hidden> writes:

> Hi Nicolas
>
> Now I understand that
>
> - 1 :: item 1
> [TAB]- item 2
>
> works as expected, when assuming that you don't want the space after
> the "-" to change the indentation similar to Emacs Electric C but want
> to keep only TAB, C-c and the modified cursor keys to change the
> indentation. BTW, were there considerations or discussions about
> "electric indentation" for lists (space after the "-")?

C-c C-c changes indentation by side-effect. Its purpose is to repair the
current list, which is broken if you use "[TAB]-".

Also don't forget M-RET to insert an new item. I strongly suggest that
binding which does a lot more than simply adding one bullet (renumbering
if necessary, updating of checkboxes, etc.). I usually do M-RET and
possibly TAB until the item has the correct indentation.

Knowing that, I don't see any necessity for an "electric indentation".
Though, to answer your question, I don't think this has ever been
discussed.

> So, for what I want to do I have to use
>
> - 1 :: item 1
> -[TAB]item 2

"M-RET TAB" will be enough.

> Is the following also doing what is expected?
>
> - 1 :: item 1
> [TAB]-[TAB][TAB]item 2

I don't know what is expected here. Again, since you press "[TAB]-"
you're creating a broken list. First use C-c C-c to repair it, then you
can expect something out of it.

Regards,

-- 
Nicolas Goaziou



reply via email to

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