emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: Feature request: IDs on anything
Date: Tue, 10 Aug 2010 16:20:46 -0700	[thread overview]
Message-ID: <AANLkTinc8DugFoALenZFdEr8McB1yP-Wf0Kf5x_kxoxO@mail.gmail.com> (raw)
In-Reply-To: <8AC8F40F-13B8-4EB9-B117-DF8ABA022DFD@uva.nl>

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.

  reply	other threads:[~2010-08-10 23:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06  1:28 Feature request: IDs on anything Samuel Wales
2009-03-06  9:32 ` Carsten Dominik
2010-08-10 23:20   ` Samuel Wales [this message]
2010-08-10 23:44     ` Samuel Wales
2009-03-06 14:23 ` Eric Schulte
2009-03-06 16:27   ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinc8DugFoALenZFdEr8McB1yP-Wf0Kf5x_kxoxO@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).