Re: [Orgmode] [bug] Must declare value as string in org-agenda-custom-commands easy customize interface

2011-01-18 Thread Bastien
Hi Jeff,

Jeff Horn jrhorn...@gmail.com writes:

 On Sun, Jan 16, 2011 at 5:43 AM, David Maus dm...@ictsoc.de 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 :)

Best,

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [bug] Must declare value as string in org-agenda-custom-commands easy customize interface

2011-01-16 Thread Jeff Horn
On Sun, Jan 16, 2011 at 5:43 AM, David Maus dm...@ictsoc.de 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. If this is the case, shouldn't this be a
dropdown menu with sexp as an option for entering your own symbols?

It's just a minor gripe, and one for which I would submit a patch if I
knew enough elisp.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [bug] Must declare value as string in org-agenda-custom-commands easy customize interface

2011-01-06 Thread Jeff Horn
Only a minor annoyance. Posting in case anyone else runs into the same issue.

In the easy customize interface, when setting the value for a variable
in local settings for a custom command, the
org-agenda-todo-ignore-deadlines value of all must be preceded by a
single quote.[1] I expected this to automatically happen, as the easy
customize interface generally takes care of such escaping.

The parenthetical sexp leads me to believe this is the intended
behavior. Is this correct?

Footnotes:
[1] http://cl.ly/3ta0

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode