* [patch] org-sbe doc
@ 2014-09-30 10:04 Rasmus
2014-10-11 13:02 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Rasmus @ 2014-09-30 10:04 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
Hi,
Cf. Charles Berry's post to a similarly named post there's a bug in
the documentation of org-sbe. This patch corrects it.
Thanks,
Rasmus
--
Together we'll stand, divided we'll fall
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-ob-table-Updated-documentation.patch --]
[-- Type: text/x-diff, Size: 1337 bytes --]
From 0f320a044cef4974be40b351da72729045a56ca6 Mon Sep 17 00:00:00 2001
From: rasmus <rasmus@pank.eu>
Date: Tue, 30 Sep 2014 11:53:36 +0200
Subject: [PATCH] ob-table: Updated documentation.
* ob-table.el (org-sbe): Updated documentation.
---
lisp/ob-table.el | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lisp/ob-table.el b/lisp/ob-table.el
index 6658313..46be551 100644
--- a/lisp/ob-table.el
+++ b/lisp/ob-table.el
@@ -47,7 +47,10 @@
;; | 7 | |
;; | 8 | |
;; | 9 | |
-;; #+TBLFM: $2='(org-sbe 'fibbd (n $1))
+;; #+TBLFM: $2='(org-sbe "fibbd" (n $1))
+
+;; NOTE: The quotes around the function name, 'fibbd' in this case,
+;; are optional.
;;; Code:
(require 'ob-core)
@@ -69,7 +72,7 @@ string of its value.
So this `org-sbe' construct
- (org-sbe 'source-block (n $2) (m 3))
+ (org-sbe \"source-block\" (n $2) (m 3))
is the equivalent of the following source code block:
@@ -77,6 +80,9 @@ is the equivalent of the following source code block:
results
#+end_src
+NOTE: The quotes around 'source-block', the function name, are
+optional.
+
NOTE: By default, string variable names are interpreted as
references to source-code blocks, to force interpretation of a
cell's value as a string, prefix the identifier a \"$\" (e.g.,
--
2.1.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch] org-sbe doc
2014-09-30 10:04 [patch] org-sbe doc Rasmus
@ 2014-10-11 13:02 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2014-10-11 13:02 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
Hi Rasmus,
Rasmus <rasmus@gmx.us> writes:
> Cf. Charles Berry's post to a similarly named post there's a bug in
> the documentation of org-sbe. This patch corrects it.
Thanks!
I see it has been applied -- since the mailing list is really our bug
tracker*, let's take a habit of confirming on the list when a patch
has been applied.
* Let's discuss whether we should have a real bug tracker another time.
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-11 13:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-30 10:04 [patch] org-sbe doc Rasmus
2014-10-11 13:02 ` Bastien
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.