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 15:21:16 -0400 Message-ID: References: <87mvpqx6m1.fsf@ucl.ac.uk> <87k2kuqqy6.fsf@shannon.flintfam.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiRrl-0000k4-V0 for emacs-orgmode@gnu.org; Tue, 22 Mar 2016 15:21:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiRri-00079O-NB for emacs-orgmode@gnu.org; Tue, 22 Mar 2016 15:21:21 -0400 Received: from mail-qg0-x234.google.com ([2607:f8b0:400d:c04::234]:35213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiRri-00079H-IP for emacs-orgmode@gnu.org; Tue, 22 Mar 2016 15:21:18 -0400 Received: by mail-qg0-x234.google.com with SMTP id y89so187629536qge.2 for ; Tue, 22 Mar 2016 12:21:18 -0700 (PDT) In-reply-to: <87k2kuqqy6.fsf@shannon.flintfam.org> 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 W. Flint" Cc: Emacs orgmode Samuel W. Flint writes: > :: Eric S Fraga writes: > > ESF> 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? > > ESF> I cannot help but I am curious: > >>> I am interested in something like the following syntax: $(arbitrary >>> stuff inside the sexp)$ > > ESF> Given the power of lisp, can't you almost already do this using > > ESF> [[elisp:(almost arbitrary stuff inside the sexp)]] > > ESF> ? My curiousity is piqued, wondering what interesting capabilities > ESF> you are thinking of adding to org! > > I agree, this does sound useful, but I think some other syntax would be > more useful (LaTeX Equations are kinda important to me). I assume you mean the $()$ syntax would look like a latex fragment? This is fine too: %(stuff)% or %[stuff]% ... I am not too particular, as long as it easy to type, and easy to parse. > > Sam > > ESF> -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org > ESF> release_8.3.4-626-gb62d55 -- 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