emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Niall Dooley <dooleyn@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-agenda-span value not quoted via customize interface
Date: Sun, 03 Sep 2017 14:21:29 +0200	[thread overview]
Message-ID: <87o9qskm5y.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CADS3Lq6Kyb9ppj5DKqctP1Yy6Wjdodd-nn=mRVGcegEn14pupA@mail.gmail.com> (Niall Dooley's message of "Wed, 30 Aug 2017 13:00:36 +0100")

Hello,

Niall Dooley <dooleyn@gmail.com> writes:

> This is my first mail to this list so please tell me if I haven't
> followed the expected conventions.
>
> I created the following org-agenda-custom-command via the customise
> interface
>
>  '(org-agenda-custom-commands
>    (quote
>     (("A" "Priority #A tasks" agenda ""
>       ((org-agenda-span day)
>        (org-agenda-overriding-header "Today's priority #A tasks: ")
>        (org-agenda-skip-function
>         (quote
>          (org-agenda-skip-entry-if
>           (quote notregexp)
>           "\\=.*\\[#A\\]"))))))))
>
> I receive the following error:
>
> Symbol’s value as variable is void: day
>
> The default value of week seems to be quoted. Manually, quoting the
> value day in the above snippet resolves the error. So it just seems like
> choosing a value through the available choices in the customise
> interface does not automatically quote the choice.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

      parent reply	other threads:[~2017-09-03 12:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-30 12:00 Bug: org-agenda-span value not quoted via customize interface Niall Dooley
2017-08-30 13:55 ` Sébastien Le Maguer
2017-08-30 14:13   ` Niall Dooley
2017-09-03 12:21 ` Nicolas Goaziou [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=87o9qskm5y.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=dooleyn@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).