emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yu <yu_icq@gmx.at>
To: schulte.eric@gmail.com, org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Showing evaluation buffer while executing source blocks?
Date: Thu, 2 Feb 2012 14:54:01 +0100	[thread overview]
Message-ID: <CANtbJLFeUB9XAzSib4FhsTLQccR7xn6oWQJH0BHxf2CLkH8P-A@mail.gmail.com> (raw)
In-Reply-To: <CANtbJLHSKHq_F1vkjU83x-CuSxHjSoppULkmo3cYwyp5gwUGSw@mail.gmail.com>

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 <yu_icq@gmx.at>:
> 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 13:54 UTC|newest]

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

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=CANtbJLFeUB9XAzSib4FhsTLQccR7xn6oWQJH0BHxf2CLkH8P-A@mail.gmail.com \
    --to=yu_icq@gmx.at \
    --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).