From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: adding a new org-element? Date: Tue, 22 Mar 2016 16:25:53 +0000 Message-ID: <87oaa6qy26.fsf@ucl.ac.uk> References: <87mvpqx6m1.fsf@ucl.ac.uk> <87oaa6txzh.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiP88-0000AP-Sv for emacs-orgmode@gnu.org; Tue, 22 Mar 2016 12:26:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiP83-0002Dq-LR for emacs-orgmode@gnu.org; Tue, 22 Mar 2016 12:26:04 -0400 Received: from mail-db3on0136.outbound.protection.outlook.com ([157.55.234.136]:21923 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiP83-0002C2-CO for emacs-orgmode@gnu.org; Tue, 22 Mar 2016 12:25:59 -0400 In-Reply-To: (John Kitchin's message of "Tue, 22 Mar 2016 11:07:21 -0400") 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: John Kitchin Cc: Emacs orgmode Interesting points raised in your last email. And also reminiscent of the citation discussion... for better or for worse ;-) org currently has effective support for literate programming with babel; however, it has only rudimentary support for data: tables and properties (and maybe tags). More and more we are finding the desire to work with data more generally outwith the constraints imposed by the current support. Links provide another interface to data but also rather rudimentary. Maybe it is time to generalise some of these concepts while keeping parsing straightforward. I would be strongly in favour of some type of structure that supported the equivalent of JSON in terms of data representation but with programming functionality for export, interaction and display as provided by links to some degree. However, the easiest solution may be to extend the link syntax and implementation, or maybe just the implementation, to address some of the current limitations, especially in terms of display but also in terms of linking to other objects in the org file (or even to other org files)? At present, links have follow and export functionality. The follow functionality is a start towards actions on the data and is complete, in the Turing sense, given that the full power of elisp is there. Likewise for export. Two things are missing: linking and display. Linking (confusing terminology: maybe cross-referencing) between "link objects" could be imposed on the description which can then be processed by the follow parameter. Nevertheless, it probably would be desirable to have a naming capability for individual link instances, one of the aspects discussed in the citation thread IIRC. What is missing entirely in links is display functionality; this could be added as a third argument to the link definition. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.4-626-gb62d55