From mboxrd@z Thu Jan 1 00:00:00 1970 From: LanX Subject: Re: hyperlinks executing multiline code snippets? Date: Sat, 11 Dec 2010 03:23:59 +0100 Message-ID: References: <871v5psgn1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0445339105==" Return-path: Received: from [140.186.70.92] (port=50323 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRF7x-0003Ju-58 for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 21:24:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRF7w-0004T4-9R for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 21:24:01 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:43002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRF7w-0004Sw-3o for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 21:24:00 -0500 Received: by wwb17 with SMTP id 17so4331741wwb.30 for ; Fri, 10 Dec 2010 18:23:59 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============0445339105== Content-Type: multipart/alternative; boundary=0016367b6738dbd1bd0497192926 --0016367b6738dbd1bd0497192926 Content-Type: text/plain; charset=ISO-8859-1 > > > Before I start trying it, is it theoretically possible to write an on > ob-multiline.el which parses the following lines? > > I.e. is the current "point" known at execution time? > > it works. I managed to create a new lisp defun which parses the following text, extracts the code and executes it! perfect! =) --0016367b6738dbd1bd0497192926 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Before I start trying it, is it theoretically possible to wri= te an on ob-multiline.el which parses the following lines?

I.e. is the current "point" known at execution time?

<= /blockquote>

it works.


I managed to create a new lisp d= efun which parses the following text, extracts the code and executes it!
perfect! =3D)
--0016367b6738dbd1bd0497192926-- --===============0445339105== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0445339105==--