emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Arbitrary lisp functions in column-attributes


From: Aaron Ecay
Subject: Re: [O] Arbitrary lisp functions in column-attributes
Date: Sun, 03 Nov 2013 17:38:08 -0500
User-agent: Notmuch/0.16+113~g516efb7 (http://notmuchmail.org) Emacs/24.3.50.1 (x86_64-unknown-linux-gnu)

Hi Mark,

How about using an elisp babel block, with tabular results?  Something
like (tested only very lightly):

#+BEGIN_SRC elisp :results table
  (cons
   (list "Header A" "Header B")
   (cons 'hline
         (org-map-entries
          (lambda ()
            (list
             (princ (org-entry-get (point) "FOO"))
             (princ (identity (org-entry-get (point) "BAR"))))))))
#+END_SRC

Replace ‘identity’ with your desired lisp-level processing.

-- 
Aaron Ecay



reply via email to

[Prev in Thread] Current Thread [Next in Thread]