[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [Babel] Better messages for code block execution
From: |
Sébastien Vauban |
Subject: |
[Orgmode] [Babel] Better messages for code block execution |
Date: |
Mon, 06 Dec 2010 15:31:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi,
Here are a couple of better (IMHO) messages for what occurs during source
block execution:
diff --git a/lisp/ob.el b/lisp/ob.el
index dd285db..05bb320 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -1504,9 +1504,9 @@ code ---- the results are extracted in the syntax of the
source
(indent-rigidly beg end indent))))
(if (= (length result) 0)
(if (member "value" result-params)
- (message "No result returned by source block")
- (message "Source block produced no output"))
- (message "finished"))))
+ (message "Source block returned no value.")
+ (message "Source block produced no output."))
+ (message "Inserted results of source block execution."))))
(defun org-babel-remove-result (&optional info)
"Remove the result of the current source block."
Best regards,
Seb
--
Sébastien Vauban