Re: [O] Get to next NEXT headline with one key

2014-03-09 Thread Oleh
And commands work from start of #+... as well. Like this one. Note that you have to use f to get to the first #+ that belongs to a heading. Here's how I've implemented the functionality that you want: j/k are bound move down/up just like in vim, but they move by headings or #+ markers.

[O] Get to next NEXT headline with one key

2014-03-07 Thread Giacomo M
Dear all, I would like, by pressing the speed command N, to be brought to the next NEXT headline. I can see that somehow the functions involved could be org-match-sparse-tree and next-error, but I don't know how to code a programmatic execution of the two (unfortunately I don't speak elisp very

Re: [O] Get to next NEXT headline with one key

2014-03-07 Thread John Kitchin
I do not understand what you are asking for. in my emacs/org pressing n does go to the next headline. (at least after running (setq org-use-speed-commands t)) and being at the beginning of a headline. John --- John Kitchin Associate Professor Doherty Hall A207F

Re: [O] Get to next NEXT headline with one key

2014-03-07 Thread Giacomo M
Sorry for having been ambiguous, I meant the next headline with a NEXT todo keyword. Thanks Il 07/mar/2014 13:37 John Kitchin jkitc...@andrew.cmu.edu ha scritto: I do not understand what you are asking for. in my emacs/org pressing n does go to the next headline. (at least after running (setq

Re: [O] Get to next NEXT headline with one key

2014-03-07 Thread Matt Lundin
On Fri, Mar 7, 2014 at 7:13 AM, Giacomo M jackja...@gmail.com wrote: Dear all, I would like, by pressing the speed command N, to be brought to the next NEXT headline. I can see that somehow the functions involved could beĀ org-match-sparse-tree and

Re: [O] Get to next NEXT headline with one key

2014-03-07 Thread Giacomo M
Thank you very much Matt, it was exactly what I was looking for! And thanks to Matt for his prompt reply. Just wondering, so there is (no way of | no point in) trying to execute the org-match-sparse-tree programmatically, right? This community rocks On Fri, Mar 7, 2014 at 2:54 PM, Matt Lundin

Re: [O] Get to next NEXT headline with one key

2014-03-07 Thread Oleh
Hi Giacomo, Sorry for having been ambiguous, I meant the next headline with a NEXT todo keyword. If you're feeling adventurous, you can try my new minor mode: https://github.com/abo-abo/worf. It's basically the same thing as speed commands, except it's got different keys and different

Re: [O] Get to next NEXT headline with one key

2014-03-07 Thread Giacomo M
(typo in my previous email: s/to Matt/to John/) Il 07/03/2014 15:44, Oleh ha scritto: If you're feeling adventurous, you can try my new minor mode: https://github.com/abo-abo/worf. Thank you, Oleh! Just tried it, and I think it has several convenient features. And commands work from start