From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Linke Subject: Re: Literate programming in org Date: Wed, 26 Aug 2015 21:40:58 +0200 Message-ID: <55DE164A.6050509@gmx.de> References: <55DD7A44.2030006@gmx.de> <866142s5ez.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUgZF-0001QM-Tw for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 15:41:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUgZC-0003BX-LP for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 15:41:05 -0400 Received: from mout.gmx.net ([212.227.17.22]:54775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUgZC-0003BO-FG for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 15:41:02 -0400 Received: from [192.168.178.21] ([84.187.27.49]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MVJze-1ZDizK2W4M-00YjEN for ; Wed, 26 Aug 2015 21:41:00 +0200 In-Reply-To: <866142s5ez.fsf@example.com> 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: emacs-orgmode@gnu.org On 08/26/2015 12:36 PM, Sebastien Vauban wrote: > See: > > - inline Babel calls: ... call_() ... and/or > - inline code blocks: src_{}. Yes I'm currently using inline babel calls. > >> * reruning specific cells only one time after emacs was started >> >> I have some cells that are long running and produce some variables >> I later use for plotting or calculating related values. To avoid >> recalculating I have added `cache: yes` to these cells. But they >> are only run once across restarts of emacs or my interpreter session >> in the background. When I start working again I would like to have a >> way to rerun all code-cells independent of the fact if they are cached >> or not. This would lead to a huge speed up in converting to latex for >> me. > > I don't understand why re-running code blocks which are cached is > a problem. Could you elaborate? I wanted a shortcut to rerun every code cell independent of cached status. Looking again into the docs I found the short-cut 'C-u C-c C-v b' This calls 'org-babel-execute-buffer'.