From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Frequently used files/headings Date: Thu, 29 Apr 2010 10:47:40 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O7Vxo-00069j-9F for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 11:47:44 -0400 Received: from [140.186.70.92] (port=51920 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7Vxn-00069H-2P for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 11:47:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7Vxl-0005u8-Lp for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 11:47:42 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:51223) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7Vxl-0005u1-HO for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 11:47:41 -0400 Received: by ewy6 with SMTP id 6so6123564ewy.32 for ; Thu, 29 Apr 2010 08:47:40 -0700 (PDT) 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 Currently, I'm using org-id-get-create to generate a unique ID for headings that I frequently go to in org-mode. * Foo :PROPERTIES: :ID: F3B14102-A66D-408C-8833-1F9CF7E5047C :END: Then, I copy the newly created ID to the kill-ring, and paste it into a block like this: (global-set-key (kbd " f") (lambda () "Goto Foo Org File" (interactive) (org-id-goto "F3B14102-A66D-408C-8833-1F9CF7E5047C"))) This will map F6-f to jump to Foo. I know that there are many ways to navigate org-files, but using the ID is great because it requires only two keystrokes. This works pretty good, except I'd like to improve three things: 1) I'd like to be able to see a menu of where I've mapped my shortcuts 2) I'd like to simplify the creation of these IDs and shortcut keys. 3) I have about 10 quick-keys now, so I have 30 lines of very similar code I'm sensing an org-babel type approach where I could define an org-mode table like this: | Name | Key | ID | | Foo | " f" | 123456779 | Then, I could loop through the table, and for each row, I could run this code: (global-set-key (kbd ) (lambda () (interactive) (org-id-goto ))) Before I do something like this, I'd like to know if anyone's done something similar or if anyone wants to chime in. Thanks! --Nate