emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Tables and org babel
@ 2021-11-08  7:45 Henrik Frisk
  2021-11-08  9:04 ` Eric S Fraga
  2021-11-08 11:45 ` Greg Minshall
  0 siblings, 2 replies; 5+ messages in thread
From: Henrik Frisk @ 2021-11-08  7:45 UTC (permalink / raw)
  To: org-mode-email

[-- Attachment #1: Type: text/plain, Size: 725 bytes --]

Hi,

I'm having troubles getting more than one cell from an org table as a
variable in org-babel. Trying this example from the orgmode manual (
https://orgmode.org/manual/Environment-of-a-Code-Block.html):

#+NAME: example-table
| 1 | a |
| 2 | b |
| 3 | c |
| 4 | d |

#+BEGIN_SRC emacs-lisp :var data=example-table[,0]
  data
#+END_SRC

yields no result and in the *Messages* buffer:

executing Emacs-Lisp code block...
(data '(1 2 3 4))
Loading reftex...done
org-babel-insert-result: Wrong type argument: markerp, nil

This has worked for me in the past so I'm not sure what has changed other
than upgrading to emacs 27.2. Referencing a single cell [0,0] works as
expected.

Org 9.5
Emacs 27.2

Thanks for any help
Henrik

[-- Attachment #2: Type: text/html, Size: 1051 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-08 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08  7:45 Tables and org babel Henrik Frisk
2021-11-08  9:04 ` Eric S Fraga
2021-11-08 11:45 ` Greg Minshall
2021-11-08 11:54   ` Greg Minshall
2021-11-08 16:00     ` Henrik Frisk

Code repositories for project(s) associated with this 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).