Re: [O] Emulating list functionality from traditional GUI editors

2014-12-13 Thread Calvin Young
No problem, I've gone ahead and packaged my changes here: https://github.com/calvinwyoung/org-autolist I'll also submit this to melpa to make it easier to install. I'd love hear how other Org'ers on this list feel about it. If folks find it useful, I'd be happy to publish it on Worg as well. Best

Re: [O] Emulating list functionality from traditional GUI editors

2014-12-12 Thread Sebastien Vauban
Calvin Young wrote: > Makes sense! Just wanted to see how others felt about this :) > > Anyway thanks for the consideration, and for the tip > about org-element-at-point -- really did make this trivial to implement. Once your customizations are done, it would be nice if you'd publish them on Worg,

Re: [O] Emulating list functionality from traditional GUI editors

2014-12-11 Thread Calvin Young
Makes sense! Just wanted to see how others felt about this :) Anyway thanks for the consideration, and for the tip about org-element-at-point -- really did make this trivial to implement. On Thu, Dec 11, 2014 at 11:48 AM, Rasmus wrote: > Hi, > > Calvin Young writes: > > >- If the cursor i

Re: [O] Emulating list functionality from traditional GUI editors

2014-12-11 Thread Rasmus
Hi, Calvin Young writes: >- If the cursor is at the end of a list item, then "Return" should >insert a new list item (i.e., automatically perform org-meta-return) Maybe you can use org-element-at-point and advice org-return? >- If the cursor is at the beginning of an empty list it

[O] Emulating list functionality from traditional GUI editors

2014-12-11 Thread Calvin Young
Hi all, I've been using org-mode for a while now, and it's been life-changing in terms of how I keep organized. However, there's still one thing I miss from traditional note-taking apps when working with lists. Specifically, I'd like to enable the following behavior: - If the cursor is at the

Re: [O] Emulating list functionality from traditional GUI editors

2014-12-11 Thread Jorge A. Alfaro-Murillo
Calvin Young writes: ;; Starting with this setup: - one - two + a[CURSOR_HERE] ;; Hitting should produce: - one - two + a + [CURSOR_HERE] ;; Hitting again would then produce: - one - two + a - [CURSOR_HERE] ;; And hitting one last time would produce: - one - two + a [CURSOR_HER

Re: [O] Emulating list functionality from traditional GUI editors

2014-12-11 Thread Calvin Young
Jorge, thanks for the quick response! > * If the cursor is at the end of a list item, then "Return" should >> insert a new list item (i.e., automatically perform org-meta-return) >> > > M- does this. You do not want to do that because you when > you want to finish the list finishes it. > I

Re: [O] Emulating list functionality from traditional GUI editors

2014-12-11 Thread Jorge A. Alfaro-Murillo
Jorge A. Alfaro-Murillo writes: Calvin Young writes: * It'd be nice of these rules could be applied to checkboxes as well M-S- inserts a check box. I forgot to mention that the S- behavior also works with check boxes. -- Jorge.

Re: [O] Emulating list functionality from traditional GUI editors

2014-12-11 Thread Jorge A. Alfaro-Murillo
Calvin Young writes: * If the cursor is at the end of a list item, then "Return" should insert a new list item (i.e., automatically perform org-meta-return) M- does this. You do not want to do that because you when you want to finish the list finishes it. * If the cursor is at the b

[O] Emulating list functionality from traditional GUI editors

2014-12-11 Thread Calvin Young
Hi all, I've been using org-mode for a while now, and it's been life-changing in terms of how I keep organized. However, there's still one thing I miss from traditional note-taking apps when working with lists. Specifically, I'd like to enable the following behavior: - If the cursor is at the