From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: shortcut suggestion C-c C-& instead of C-& with no context. Date: Fri, 14 Dec 2007 10:08:53 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J36Xb-0008Je-Md for emacs-orgmode@gnu.org; Fri, 14 Dec 2007 04:09:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J36Xa-0008I0-Jx for emacs-orgmode@gnu.org; Fri, 14 Dec 2007 04:09:07 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J36Xa-0008HQ-Ek for emacs-orgmode@gnu.org; Fri, 14 Dec 2007 04:09:06 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J36XZ-0003ID-Cp for emacs-orgmode@gnu.org; Fri, 14 Dec 2007 04:09:05 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J36XN-0004Pz-KJ for emacs-orgmode@gnu.org; Fri, 14 Dec 2007 09:08:53 +0000 Received: from 212.34.176.74 ([212.34.176.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Dec 2007 09:08:53 +0000 Received: from rainer.stengele by 212.34.176.74 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Dec 2007 09:08:53 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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