From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yu Subject: Re: Showing evaluation buffer while executing source blocks? Date: Thu, 2 Feb 2012 14:54:01 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rsx7Y-0008Qa-In for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 08:54:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rsx7S-0001NJ-Tg for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 08:54:40 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:60334) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Rsx7S-0001N7-KS for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 08:54:34 -0500 Received: by lamf4 with SMTP id f4so1544922lam.0 for ; Thu, 02 Feb 2012 05:54:31 -0800 (PST) In-Reply-To: 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: schulte.eric@gmail.com, org-mode mailing list Little correction: it doesn't seem to be simple after all. Emacs' single-threading kills the concept, because the display doesn't get updated during execution anyway. Does anybody have an idea, if this can be avoided? 2012/2/2 Yu : > Hello! > > I wondered if there is a way to show the evaluation buffer (if any) > during evaluation of commands -- in particular when the command takes > a long time (e.g. when trying to document a building process involving > `make' invocations) waiting for the command to finish is counter > productive. Even worse if the command used turns out to cause an > infinite loop. > > If not possible yet: At least in the case of session based evaluation, > this would "simply" mean a construct of the form > =C2=A0: (save-excursion > =C2=A0: =C2=A0 =C2=A0 <> > =C2=A0: =C2=A0 =C2=A0 (display-buffer <>) > =C2=A0: =C2=A0 =C2=A0 <>) > > The idea came up because I'm currently trying to document the building > process of mathematical libraries (matplotlib, numpy, scipy) under > Cygwin -- building those is pretty tricky there. And waiting for a > `make' invocation to finish before seeing any result... well ^^' > > On a side note, as mentioned in the "[O] [bug] cannot execute shell > code blocks" thread, for shell commands sadly this "simple" solution > won't work, as session based evaluation never returns from the > session. > > "simple" because: I couldn't figure out where this would have to be done = ^^' > > > king regards, Yu