emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Klaus-Dieter Bauer <bauer.klaus.dieter@gmail.com>
To: schulte.eric@gmail.com, org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Showing evaluation buffer while executing source blocks?
Date: Thu, 2 Feb 2012 13:20:51 +0100	[thread overview]
Message-ID: <CANtbJLHSKHq_F1vkjU83x-CuSxHjSoppULkmo3cYwyp5gwUGSw@mail.gmail.com> (raw)

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
  : (save-excursion
  :     <<start the session if not yet started>>
  :     (display-buffer <<session buffer>>)
  :     <<send commands to session>>)

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

             reply	other threads:[~2012-02-02 12:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-02 12:20 Klaus-Dieter Bauer [this message]
2012-02-02 13:54 ` Showing evaluation buffer while executing source blocks? Yu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANtbJLHSKHq_F1vkjU83x-CuSxHjSoppULkmo3cYwyp5gwUGSw@mail.gmail.com \
    --to=bauer.klaus.dieter@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).