emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] POLL: the 40 variables project


From: Manish
Subject: Re: [Orgmode] POLL: the 40 variables project
Date: Fri, 30 Jan 2009 13:59:01 +0530

On Fri, Jan 30, 2009 at 1:48 PM, Carsten Dominik wrote:
> Hi Manish,
>
> what can I say, awesome!

Thanks.

>
> To get the default values, you could do
>
> (get 'org-some-variable 'standard-value)

Nice.  Thanks.

>
> and evaluate this. You can do this with a formula in the table,
> I have successfully tried this:
>
> #+TBLFM: $2='(let ((x (prin1-to-string (get '$1 'standard-value))))
> (org-require-autoloaded-modules) (if (or (string-match "\n" x) (> (length x)
> 40)) "complex" x));L

The formula seems to work but I am getting nil for /all/ variables.
That does not seem right.  There would be some variable with non-nil
standard value, no?

-- 
Manish




reply via email to

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