From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: adding a new org-element? Date: Tue, 22 Mar 2016 07:34:49 -0400 Message-ID: References: <87mvpqx6m1.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiKaM-0007XN-Uc for emacs-orgmode@gnu.org; Tue, 22 Mar 2016 07:34:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiKaJ-0002Ra-Ne for emacs-orgmode@gnu.org; Tue, 22 Mar 2016 07:34:54 -0400 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]:33995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiKaJ-0002RP-J5 for emacs-orgmode@gnu.org; Tue, 22 Mar 2016 07:34:51 -0400 Received: by mail-qg0-x230.google.com with SMTP id w104so175415146qge.1 for ; Tue, 22 Mar 2016 04:34:51 -0700 (PDT) In-reply-to: <87mvpqx6m1.fsf@ucl.ac.uk> 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: Eric S Fraga Cc: Emacs orgmode Eric S Fraga writes: > On Monday, 21 Mar 2016 at 21:51, John Kitchin wrote: >> Suppose one wanted to add a new org-element/syntax to org-mode. Where >> would one start? > > I cannot help but I am curious: > >> I am interested in something like the following syntax: >> $(arbitrary stuff inside the sexp)$ > > Given the power of lisp, can't you almost already do this using > > [[elisp:(almost arbitrary stuff inside the sexp)]] I could, and more or less have done it here: http://kitchingroup.cheme.cmu.edu/blog/2015/02/05/Extending-the-org-mode-link-syntax-with-attributes/ the elisp link is a good idea, but I am looking into an idea for a chemical markup language where you might have a $(molecule + data)$ and reaction descriptions $(molecule -> new molecules)$ that become machine-readable as well. > ? My curiousity is piqued, wondering what interesting capabilities you > are thinking of adding to org! I want to explore a deeper integration of text and data, something like RDFa but in s-expressions, and with export. That isn't critical, I can always do pre-processing to transform them, but I think it would be nice in the long run if it hooked into the org-machinery directly. -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu