From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: New Link Syntax: Adding ATTRIBUTES Date: Tue, 19 Jun 2012 10:11:55 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sh4mV-0002BX-Hn for emacs-orgmode@gnu.org; Tue, 19 Jun 2012 16:12:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sh4mT-0003SD-Gr for emacs-orgmode@gnu.org; Tue, 19 Jun 2012 16:12:07 -0400 Received: from oproxy8-pub.bluehost.com ([69.89.22.20]:41207) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Sh4mT-0003Ri-6n for emacs-orgmode@gnu.org; Tue, 19 Jun 2012 16:12:05 -0400 In-Reply-To: (Samuel Wales's message of "Mon, 18 Jun 2012 19:29:45 -0700") 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: Samuel Wales Cc: William Crandall , emacs-orgmode@gnu.org, Nicolas Goaziou , Jambunathan K Samuel Wales writes: > Hmm, maybe something like this: > > $[link "http://mysite.example" :label "Example" :html-attr "..." > :latex-attr "..."] > > Code that adds functionality or safety to this syntax (including all > future code) will also apply to other features than links. For a new > feature, replace the first element with id, fancy-date, or whatever > idea you have. It might even be possible to open it up to the user in > a safe and convenient way. > > Samuel Neat idea. IIUC, a read macro and something like funcall would do a lot of the work. I'd like to see something like this, so the Org-mode buffer could reflect the underlying, possibly user-extended, semantics: $[link "http://mysite.example" :label "Example" :html-attr "..." :latex-attr "..." :org-attr "..."] All the best, Tom -- Thomas S. Dye http://www.tsdye.com