Aloha Grant, Grant Rettke <g...@wisdomandwonder.com> writes:
> Hi, > > My goal is to define a table in org-mode, display it nicely to humans > using export, and tangle that same data table into > an elisp data structure for use elsewhere within the program. It might > look something like this: > > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > > * Modes > > This is a place for humans to keep track both of what > modes activated for what file types; and also what utilies are used > with those modes when they are activated. > > #+tblname: modes_data > | mode name | file_type | paredit | auto-save | > |-----------+-----------+---------+-----------| > | scheme | .scm | yes | yes | > | elisp | .el | yes | yes | > | ielm | nil | yes | no | > > * Test > > #+begin_src emacs-lisp :noweb tangle :tangle test.el > (mapcar (lambda (row) (message (car row))) modes_data) > #+end_src I think you want: #+header: :var modes-data=modes-data or something similar. hth, Tom -- Thomas S. Dye http://www.tsdye.com