From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc-Oliver Ihm Subject: [DEV] New version of org-reftable.el Date: Sun, 09 Dec 2012 00:19:18 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThTlR-0000EK-64 for emacs-orgmode@gnu.org; Sat, 08 Dec 2012 18:24:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ThTlP-0006Yx-Pl for emacs-orgmode@gnu.org; Sat, 08 Dec 2012 18:24:57 -0500 Received: from plane.gmane.org ([80.91.229.3]:36223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThTlP-0006Yq-FW for emacs-orgmode@gnu.org; Sat, 08 Dec 2012 18:24:55 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ThTlY-0004E0-5a for emacs-orgmode@gnu.org; Sun, 09 Dec 2012 00:25:04 +0100 Received: from p54a88b94.dip0.t-ipconnect.de ([84.168.139.148]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Dec 2012 00:25:04 +0100 Received: from marc by p54a88b94.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Dec 2012 00:25:04 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello all ! Version 2.0 of org-reftable.el has arrived at worg. Please find it as: http://orgmode.org/worg/code/elisp/org-reftable.el Citing from its documentation: ;;; org-reftable.el --- Ordered lookup table for reference numbers ;; ;; Purpose: ;; ;; Create, search and look up numbers from a dedicated reference table. ;; These numbers (e.g. "R237" or "-455-") may be used to refer to: ;; ;; - Nodes in Org-mode (insert them into the heading) ;; ;; - Things outside of org (e.g. mailfolders, directories, reports or ;; pieces of paper) ;; ;; The table is kept sorted for most frequently or most recently used ;; reference numbers. Additionally, lines can be selected by keywords, so ;; that specific references can be found very easily. Earlier versions of ;; this extension had been named org-refer-by-number.el. ;; For a very simple example, please see three lines to add to your .emacs and five org-mode nodes. All appended at the bottom of this message. Now, for this example, say, that you want to visit the node for project "bar" but do not remember its name. However, you recall that its related with "support". So you type "C-+" to invoke org-reftable and then type "support" and RET. This will show you the two lines (R2 and R1) from your table, which contain the keyword "support". | R2 | project | bar | 8 | [2012-12-07 Fr] | [2012-12-08 Sa 23:37] | support, legal | | R1 | project | foo | 1 | [2012-12-03 Mo] | | support | The first line "R2" ist the one with the highest access count (8), because the table is kept sorted for this count. And indeed, this is your project "bar". Now just need to hit RET, to visit this node ! org-reftable.el has a lot more bells and whistles, e.g. commands to create new references or search for existing ones in all your org-files. All this, including the proper setup, is explained in its documentation. Any comments or suggestions are highly welcome ! regards, Marc-Oliver Ihm ------------ lines to add to your .emacs ------------ (require 'org-reftable) (setq org-reftable-id "f3da98e2-e265-4d4e-9c3a-d22c4b7bba23") (global-set-key (kbd "C-+") 'org-reftable) ------------ example org-mode nodes ------------ * TODO R1 Project foo - [ ] Read paper R3 * TODO R2 Project bar - [ ] Talk to Jim * DONE R5 Project baz CLOSED: [2012-12-08 Sa 23:01] - [X] Clean up directory R4 * TODO R6 Project qux - [ ] Clean shoes * Reference numbers :PROPERTIES: :ID: f3da98e2-e265-4d4e-9c3a-d22c4b7bba23 :END: | Ref | Type | description;c | count;s | created | last-accessed | Keywords | |-----+---------+----------------+---------+-----------------+-----------------------+----------------| | R2 | project | bar | 8 | [2012-12-07 Fr] | [2012-12-08 Sa 23:37] | support, legal | | R5 | project | baz | 5 | [2012-12-05 Mi] | [2012-12-08 Sa 23:03] | financial | | R6 | project | qux | 3 | [2012-12-08 Sa] | [2012-12-08 Sa 23:01] | sport | | R4 | folder | directory | 2 | [2012-12-08 Sa] | [2012-12-08 Sa 23:04] | | | R1 | project | foo | 1 | [2012-12-03 Mo] | | support | | R3 | paper | printed report | | [2012-12-04 Di] | | |