[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [bug] Must declare value as string in org-agenda-custom-co
Re: [Orgmode] [bug] Must declare value as string in org-agenda-custom-commands easy customize interface
Tue, 18 Jan 2011 10:02:52 +0100
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
Jeff Horn <address@hidden> writes:
> On Sun, Jan 16, 2011 at 5:43 AM, David Maus <address@hidden> wrote:
>> From my understanding this is correct. The dialog allows you to set
>> an arbitrary symbol to an arbitrary value, i.e. not limited to another
>> symbol (e.g. 'all). Thus a sexp is required and the single quote in
>> front of the symbol all is the short hand notation of (quote all).
> Thanks for your reply, David.
Yes, David is right, in the case demonstrated by your screenshot, the
customize interface asks for the sexp "'all" -- not just "all", since
the value of the variable is indeed "'all" -- not "all" :)
> If this is the case, shouldn't this be a
> dropdown menu with "sexp" as an option for entering your own symbols?
I'm not sure what you mean.
Defining local settings lets you pick up a local setting from a list
(defined in org-agenda-custom-commands-local-options). When selecting
the last choice "Any variable", it lets you define a variable that is
*not* in this list (there are so many of them available!) -- such a
variable asks for a sexp.
> It's just a minor gripe, and one for which I would submit a patch if I
> knew enough elisp.
Maybe I misunderstood what you ask... please rephrase if necessary :)