*** /home/mfo/org/org-collector.el~ 2008-11-07 17:19:12.000000000 +0100 --- /home/mfo/org/org-collector.el 2008-11-07 18:14:23.000000000 +0100 *************** *** 27,45 **** Otherwise if prop looks like a list (meaning it starts with a '(') then read it as lisp, otherwise return it unmodified as a string." ! (if (stringp prop) ! (if prop ! (let ((out (string-to-number prop))) ! (if (equal out 0) ! (if (or (equal "(" (substring prop 0 1)) (equal "'" (substring prop 0 1))) ! (read prop) ! (if (string-match "^\\(+0\\|-0\\|0\\)$" prop) ! 0 ! (progn (set-text-properties 0 (length prop) nil prop) ! prop))) ! out)) ! nil) ! prop)) (defun org-dblock-write:propview (params) "collect the column specification from the #+cols line --- 27,43 ---- Otherwise if prop looks like a list (meaning it starts with a '(') then read it as lisp, otherwise return it unmodified as a string." ! (if (and (stringp prop) (not (equal prop ""))) ! (let ((out (string-to-number prop))) ! (if (equal out 0) ! (if (or (equal "(" (substring prop 0 1)) (equal "'" (substring prop 0 1))) ! (read prop) ! (if (string-match "^\\(+0\\|-0\\|0\\)$" prop) ! 0 ! (progn (set-text-properties 0 (length prop) nil prop) ! prop))) ! out)) ! prop)) (defun org-dblock-write:propview (params) "collect the column specification from the #+cols line