hi.

I oftentimes do set a mark anywhere in my large org file with C-%.
Working in the file somewhere else I want to go back and most of
the time I do not use simply C-& because it leaves me with no
context around the marked line - which is confusing.

Therefore what I do mostly is:

- S-TAB to switch to OVERVIEW
- C-& do jump to the mark
- C-c C-r to reveal the context

The result is a clear view onto my marked line with nice context.


So today I packed that together in something like this:

(defun org-jump-to-mark-reorganise-reveal-tree (&optional arg)
  (interactive)
  (org-mark-ring-goto)
  (org-shifttab)
  (org-reveal arg))
(global-set-key (kbd "C-c C-&") (lambda () (interactive) 
(org-jump-to-mark-reorganise-reveal-tree t)))

The code maybe is not optimal but it does the job.
Let me suggest this or a similar keybindung to do that job.


rainer



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to