Re: [O] [PATCH] org-capture-place-item better alignment for new lists.

2014-10-14 Thread Nicolas Goaziou
Hello, Andrew Burgess andrew.burg...@embecosm.com writes: I've revised the patch (below) so that I now use org-indent-line to establish the best indentation if we're starting a new list, this has resulted in slightly more churn, but hopefully not too much. Thanks. I applied it. Note that

[O] [PATCH] org-capture-place-item better alignment for new lists.

2014-10-07 Thread Andrew Burgess
Creating an entry in org-capture-templates of type item adds entries into a list, however, if the list is empty then the first list item will be indented to depth 0 (so hard on the left) like this: * Top Level ** Second Level - item #1 - item #2 - item #3 I prefer to indent content, including

Re: [O] [PATCH] org-capture-place-item better alignment for new lists.

2014-10-07 Thread Nicolas Goaziou
Hello, Andrew Burgess andrew.burg...@embecosm.com writes: Creating an entry in org-capture-templates of type item adds entries into a list, however, if the list is empty then the first list item will be indented to depth 0 (so hard on the left) like this: * Top Level ** Second Level -

Re: [O] [PATCH] org-capture-place-item better alignment for new lists.

2014-10-07 Thread Andrew Burgess
* Nicolas Goaziou m...@nicolasgoaziou.fr [2014-10-07 15:49:09 +0200]: Thanks for the patch. However, this behaviour is wrong when `org-adapt-indentation' is nil. It is better to use `org-indent-line' than hard-coding (1+ (org-current-level)). Thanks for taking a look at the patch, and