emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastien.guerry@wikimedia.fr>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: David Maus <dmaus@ictsoc.de>, Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: [bug] Must declare value as string in org-agenda-custom-commands easy customize interface
Date: Tue, 18 Jan 2011 10:02:52 +0100	[thread overview]
Message-ID: <87y66ieg8z.fsf@gnu.org> (raw)
In-Reply-To: <AANLkTimy1Hk3=5t-Mj7akaHawCvOUf5t-x2CZ+JzH9DJ@mail.gmail.com> (Jeff Horn's message of "Sun, 16 Jan 2011 07:49:54 -0500")

Hi Jeff,

Jeff Horn <jrhorn424@gmail.com> writes:

> On Sun, Jan 16, 2011 at 5:43 AM, David Maus <dmaus@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

      reply	other threads:[~2011-01-18  9:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06 16:45 [bug] Must declare value as string in org-agenda-custom-commands easy customize interface Jeff Horn
2011-01-16 10:43 ` David Maus
2011-01-16 12:49   ` Jeff Horn
2011-01-18  9:02     ` Bastien [this message]

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=87y66ieg8z.fsf@gnu.org \
    --to=bastien.guerry@wikimedia.fr \
    --cc=dmaus@ictsoc.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrhorn424@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).