From: Carsten Dominik <dominik@science.uva.nl>
To: Manish <mailtomanish.sharma@gmail.com>
Cc: emacs org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: POLL: the 40 variables project
Date: Fri, 30 Jan 2009 09:38:51 +0100 [thread overview]
Message-ID: <45E50DB7-E2E5-4DBB-AD44-3CC650ADD1C1@uva.nl> (raw)
In-Reply-To: <e7cdbe30901300029p52f452fbs3a4e1a9257fd070@mail.gmail.com>
On Jan 30, 2009, at 9:29 AM, Manish wrote:
> 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
You need to change $2 and $1 to the relevant columns in your table,
maybe this is the problem? I made this formula on one of your
extracted tables where the variable was in column one and I have
created a new column 2 for the default values.
also, the formula seems to return (nil) or (t) instead of nil or t,
so it seems to add an additional pair of parenthesis.
- Carsten
>>
>
> 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
next prev parent reply other threads:[~2009-01-30 8:38 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-29 8:49 POLL: the 40 variables project Carsten Dominik
2009-01-29 11:13 ` Friedrich Delgado Friedrichs
2009-01-29 13:02 ` Carsten Dominik
2009-01-29 13:40 ` Dan Griswold
2009-01-29 11:46 ` Womick, Don
2009-01-29 11:59 ` Tassilo Horn
2009-01-29 13:37 ` Sebastian Rose
2009-01-29 13:30 ` Bernt Hansen
2009-01-29 13:46 ` Chris Leyon
2009-01-29 14:10 ` Matthew Lundin
2009-01-29 14:49 ` Bernt Hansen
2009-01-29 14:55 ` srandby
2009-01-29 16:01 ` Eric S Fraga
2009-01-29 16:40 ` Dan Davison
2009-01-29 16:40 ` Michael Ekstrand
2009-01-29 17:24 ` Sivaram Neelakantan
2009-01-29 17:56 ` Manish
2009-01-29 21:02 ` Dan Davison
2009-01-29 23:07 ` Carsten Dominik
2009-01-30 7:46 ` Manish
2009-01-30 8:18 ` Carsten Dominik
2009-01-30 8:29 ` Manish
2009-01-30 8:38 ` Carsten Dominik [this message]
2009-01-30 8:52 ` Manish
2009-01-30 9:16 ` Carsten Dominik
2009-01-30 10:35 ` Scot Becker
[not found] ` <e7cdbe30902011255y680747e8vb8731a775a73dc73@mail.gmail.com>
2009-02-01 22:15 ` Carsten Dominik
2009-02-02 10:36 ` Carsten Dominik
[not found] ` <87ljstx71e.fsf@gollum.intra.norang.ca>
2009-01-30 13:50 ` Carsten Dominik
2009-01-30 15:27 ` Carsten Dominik
2009-01-29 18:02 ` William Henney
2009-01-29 19:07 ` Peter Jones
2009-01-29 19:44 ` Hsiu-Khuern Tang
2009-01-29 22:06 ` Steven E. Harris
2009-01-29 22:43 ` Oliver Charles
2009-01-30 3:32 ` Ross Patterson
2009-01-30 12:13 ` Sebastian Rose
2009-01-30 3:44 ` Dennis Groves
2009-01-30 4:12 ` Manish
2009-01-30 4:46 ` Austin Frank
2009-01-30 8:17 ` Ulf Stegemann
2009-01-30 12:26 ` Sebastian Rose
2009-01-30 8:26 ` Cameron Horsburgh
2009-01-30 8:43 ` R: " Giovanni Ridolfi
2009-01-30 9:21 ` Manish
2009-01-30 11:09 ` Shaun Johnson
2009-01-30 12:08 ` Rainer Stengele
2009-01-30 12:48 ` Mikael Fornius
2009-01-30 15:56 ` William Henney
2009-01-30 16:12 ` Christian Egli
2009-01-30 16:34 ` Manuel Hermenegildo
2009-02-01 0:34 ` Samuel Wales
2009-01-30 16:36 ` Eric Schulte
2009-01-31 13:06 ` Martin Stemplinger
2009-02-01 15:18 ` James TD Smith
2009-02-04 15:29 ` Charles Sebold
2009-02-05 14:55 ` Manish
2009-02-04 21:28 ` Mike Newman
2014-01-17 20:55 ` [Orgmode] " Manish
2014-01-19 15:54 ` Bastien
2014-01-20 2:18 ` M
2014-01-20 11:17 ` Bastien
2014-01-20 11:38 ` Rainer M Krug
2014-01-20 11:47 ` Bastien
2014-01-20 17:07 ` Eric S Fraga
2014-01-20 7:05 ` henry atting
2014-01-20 11:16 ` Bastien
2014-04-30 15:29 ` Sungmin
2014-04-30 15:50 ` Eric S Fraga
[not found] <20090130091800.B54F32868C@mailhost.cs.tu-berlin.de>
2009-01-30 11:33 ` Stephan Schmitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45E50DB7-E2E5-4DBB-AD44-3CC650ADD1C1@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=mailtomanish.sharma@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public 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).