Is there an Emacs function to go back to previous location after I follow an Org link? I usually use bc-set from the breadcrumb.el package, but I'd prefer something builtin from org-mode.

  • AFAICS org-open-at-point's default behavior is opening the link in a new buffer, isn't it (at least my local installation does this). Shouldn't you be able to "go back" by just killing the buffer (C-x k) or switching buffers (C-x b)? – Andreas Wiese Mar 26 '14 at 10:52
  • 1
    It doesn't open a new buffer if the link is an internal link (link to the same file). – Gerry Lufwansa Mar 27 '14 at 6:14

If you are following an internal link (i.e. a link to a target in the org-mode file), then org-mode automatically pushes the position in the mark-ring before jumping.

So, you follow a link with C-c C-o, then you can jump back with C-c &.

Documentation here.

  • Thanks, exactly what I wanted. The default key binding is a tiny bit cumbersome though :) – Gerry Lufwansa Mar 27 '14 at 6:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.