From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: I'm tripping over #+BABEL: vs. #+PROPERTY: Date: Mon, 19 Mar 2012 09:21:47 +0100 Message-ID: <4F66EC9B.7050202@gmail.com> References: <21A5E1E970CD46459ECBE86D6CC4B28C5364FAE0@spexch01.WindLogics.local> <87ipi72g0q.fsf@gmx.com> <11652.1331760067@alphaville> <80y5r1sxom.fsf@somewhere.org> <28105.1331828053@alphaville> Reply-To: R.M.Krug@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9Xqm-00067B-2b for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 04:22:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9Xqj-0006wL-Pc for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 04:21:55 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:51544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9Xqj-0006uq-GI for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 04:21:53 -0400 Received: by werj55 with SMTP id j55so7235657wer.0 for ; Mon, 19 Mar 2012 01:21:50 -0700 (PDT) In-Reply-To: <28105.1331828053@alphaville> 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: nicholas.dokos@hp.com Cc: Sebastien Vauban , emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15/03/12 17:14, Nick Dokos wrote: > Sebastien Vauban wrote: > >> Hi Nick and Eric, >> >> Nick Dokos wrote: >>> Eric Schulte wrote: >>>> >>>> Did you press C-c C-c on each property line after it was written? >>> >>> Just to clarify: do I really have to C-c C-c on each line? If I add a bunch of them and >>> then do C-c C-c on one of them, shouldn't that be enough to refresh the setup? >> >> I got no reaction on my idea of "automagic C-c C-c" (on 2012-03-04 Sun, see >> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg52739.html): >> >> The "automagic C-c C-c" should be NOT[1] done after each key press or some such. That >> certainly would be a killer feature, in its real acception: performance would be unbearable. >> >> In my mind, automatically (re-)parsing the meta options should be each time the user presses >> `C-c C-v C-e' (eval code blocks); that is, when the user expects his options to be taken into >> account. >> >> Does it make sense? >> >> Best regards, Seb >> >> Footnotes: >> >> [1] This word was missing (in the original post)! >> > > Well, it might make sense but you can try it out and let us know: > > - make files with 10, 100, 1000 trivial (or even empty) code blocks, just enough to make sure > that org-babel-execute-maybe is really called on them: I think that it will be called even on > empty code blocks, but I'm not sure if there is some optimization in there. > > - measure the time it takes to export each one to html (say). > > - add a call to org-mode-restart into org-babel-execute-maybe, and time the same operation > again: how significant is the slowdown? > > If the slowdown is bearable in these cases, then it will be bearable in realistic situations, > where block execution is going to be a much more significant fraction of the total. > > BTW, what's the biggest file you (all, not just Seb) have in terms of the number of code blocks > it contains? In my case, the largest one had about two dozen code blocks, so the 100 case would > easily cover me, but I suspect there are much bigger ones out there. 142 - used in literal programming. Rainer > > Nick > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9m7JsACgkQoYgNqgF2egoV4ACeISeB8GZWSCDSkIPgqIHViqeh fokAn3cgygfMKr2VInkLkHHX3gIPe58G =S2uU -----END PGP SIGNATURE-----