emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Babel evaluation: location and timing information


From: Timothy
Subject: [PATCH] Babel evaluation: location and timing information
Date: Sun, 18 Sep 2022 11:09:39 +0800
User-agent: mu4e 1.8.8; emacs 28.1.50

Hi All,

This is a small set of patches to add a bit more information to the messages
emitted in the course of babel evaluation. Specifically about
⁃ What type of element is responsible for the evaluation (source block, babel 
call,
  inline source)
⁃ Where the element is (if no name is set)
⁃ How long evaluation took

For example, previously `C-c C-c' on a babel call would have produced a message
like this:
┌────
│ executing Emacs-Lisp code block...
│ Code block evaluation complete.
└────
and now this might look like so:
┌────
│ executing Emacs-Lisp call on line 143...
│ Code block evaluation complete (took 0.2s).
└────

I think this is a pretty sensible change, but feedback is always nice.

If there are no objections, I expect I’ll merge this in a few days.

All the best,
Timothy

Attachment: 0001-ob-core-Display-line-number-of-exec-babel-blocks.patch
Description: Text Data

Attachment: 0002-ob-core-Display-type-of-element-babel-executes.patch
Description: Text Data

Attachment: 0003-ob-core-Display-babel-execution-time.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]