From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: Feature request: IDs on anything Date: Tue, 10 Aug 2010 16:20:46 -0700 Message-ID: References: <20524da70903051728m4005f584p6b7b247e3b29936e@mail.gmail.com> <8AC8F40F-13B8-4EB9-B117-DF8ABA022DFD@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=59623 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oiy7l-0002CN-91 for emacs-orgmode@gnu.org; Tue, 10 Aug 2010 19:20:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oiy7k-0008KI-4J for emacs-orgmode@gnu.org; Tue, 10 Aug 2010 19:20:49 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:45568) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oiy7j-0008KA-Qi for emacs-orgmode@gnu.org; Tue, 10 Aug 2010 19:20:48 -0400 Received: by wyg36 with SMTP id 36so13028783wyg.0 for ; Tue, 10 Aug 2010 16:20:47 -0700 (PDT) In-Reply-To: <8AC8F40F-13B8-4EB9-B117-DF8ABA022DFD@uva.nl> 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: Carsten Dominik Cc: emacs-orgmode@gnu.org I wrote this a long time ago in response to Carsten's reply to Eric in the first link below. === 1) http://thread.gmane.org/gmane.emacs.orgmode/11896 extensible syntax with an application in id markers (which themselves have an application in many things, including graph theoretic constructs such as planning tours) 2) http://thread.gmane.org/gmane.emacs.orgmode/10204/focus=10240 extensible syntax and parsing risk === Yes, ID markers are merely link /targets/. :) The :link option (which the user can decide to put in or leave out) turns them into link /sources/ (clickable and RET-able elements) also. This allows bidirectional links by having two ID markers link to each other.[fn:46] A future post will describe an application. Perhaps you are thinking of new link features beyond :link? These are possible, but they are not part of my proposal. For example, you know how in a browser the links change color if you have visited them in the last n days? It usually seems to be blue links turning red. That helps you keep track of things. If it is ever desired, we can implement this in org. We add an option, :last-followed, which contains a timestamp for the last time you followed the link. When that timestamp is within the last n days, org changes the color of the ID marker's label to red. (Or it can make it more red the longer it's been. Or show how many days it's been.) I'm *not* saying this feature is necessary, of course (it isn't). The point is just that the syntax is robust against the future, including ideas like this. P.S. You don't have to use an ID marker if you never want to point to it. If you still wanted fancy link features, then you could implement something like this instead of using ID markers. $[link http://google.com :last-followed [2009-02-27 Fri 02:00] :label "click here for evil search engine" :export-label "click here for nice search engine"] (I threw in an export label just for fun.) But I'm only proposing ID markers (and extensible syntax). [fn:46] :link enables bidirectional links, rings, DAGs, tours (e.g. for tutorials), multiple planning sequences, Bayes nets, decision trees that span the outline's ontology structure, and adventure games. In graph-theoretic terms, an ID marker that uses the :link option is an =arc=; wherever you place it becomes a =node=. Arcs can be unidirectional or bidirectional.