From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: [Babel] Better messages for code block execution
Date: Mon, 06 Dec 2010 15:30:12 +0100 [thread overview]
Message-ID: <80aakjynwr.fsf@missioncriticalit.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 97 bytes --]
Hi,
Here are a couple of better (IMHO) messages for what occurs during source
block execution:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: better-messages.patch --]
[-- Type: text/x-patch, Size: 696 bytes --]
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."
[-- Attachment #3: Type: text/plain, Size: 50 bytes --]
Best regards,
Seb
--
Sébastien Vauban
[-- Attachment #4: Type: text/plain, Size: 222 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next reply other threads:[~2010-12-06 14:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-06 14:30 Sébastien Vauban [this message]
2010-12-06 15:05 ` [Babel] Better messages for code block execution Eric Schulte
-- strict thread matches above, loose matches on Subject: below --
2010-12-06 14:31 Sébastien Vauban
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80aakjynwr.fsf@missioncriticalit.com \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.