Skip to main content

Timeline for org-mode goto last heading?

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Jan 20, 2015 at 13:19 history edited itsjeyd CC BY-SA 3.0
Turn on syntax highlighting.
Nov 9, 2014 at 15:53 comment added itsjeyd @Dan Good catch :)
Nov 9, 2014 at 15:40 comment added Dan There's an edge-case problem to consider: if you're on the last header/subtree, it doesn't work as intended. In OP's example, if he's on the Middle header, we'd like to get to Cat, but we actually end up on Cherry. That's because the call to org-forward-heading-same-level doesn't move if there's no next heading.
Nov 9, 2014 at 15:13 history edited itsjeyd CC BY-SA 3.0
edited body
Nov 9, 2014 at 15:13 comment added itsjeyd @kaushalmodi Yes, thank you. I adjusted my answer.
Nov 9, 2014 at 13:59 comment added Kaushal Modi I'd suggest not using C-c l binding. It is the org mode suggested binding for org-store-link as it is very closely related to org-insert-link (C-c C-l).
Nov 9, 2014 at 13:16 comment added itsjeyd @AlexBaranosky OK, that should do it. Thanks for clarifying your requirements!
Nov 9, 2014 at 13:16 history edited itsjeyd CC BY-SA 3.0
Adjust to updated requirements of OP.
Nov 9, 2014 at 13:12 comment added itsjeyd @AlexBaranosky Yes, that was not clear from the way you originally worded the question. Give me a sec to adjust the code...
Nov 9, 2014 at 13:11 comment added Alex Baranosky this is nice, thanks for sharing, however maybe I need to be clearer in my question. What I really want is to go to the end of the current tree...
Nov 9, 2014 at 13:06 history edited itsjeyd CC BY-SA 3.0
Add commentary.
Nov 9, 2014 at 12:59 history answered itsjeyd CC BY-SA 3.0