emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Niall Dooley <dooleyn@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: org-agenda-span value not quoted via customize interface
Date: Wed, 30 Aug 2017 13:00:36 +0100	[thread overview]
Message-ID: <CADS3Lq6Kyb9ppj5DKqctP1Yy6Wjdodd-nn=mRVGcegEn14pupA@mail.gmail.com> (raw)

Hi all,

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.

Regards,

Niall

Emacs : GNU Emacs 25.2.1 (i686-w64-mingw32) of 2017-04-24
Package: Org mode version 9.0.9 (9.0.9-68-g492420-elpaplus @
d:/.emacs.d/elpa/org-plus-contrib-20170807/)

             reply	other threads:[~2017-08-30 12:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-30 12:00 Niall Dooley [this message]
2017-08-30 13:55 ` Bug: org-agenda-span value not quoted via customize interface Sébastien Le Maguer
2017-08-30 14:13   ` Niall Dooley
2017-09-03 12:21 ` Nicolas Goaziou

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='CADS3Lq6Kyb9ppj5DKqctP1Yy6Wjdodd-nn=mRVGcegEn14pupA@mail.gmail.com' \
    --to=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).