emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Niall Dooley <dooleyn@gmail.com>
To: "Sébastien Le Maguer" <slemaguer@coli.uni-saarland.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-agenda-span value not quoted via customize interface
Date: Wed, 30 Aug 2017 15:13:51 +0100	[thread overview]
Message-ID: <CADS3Lq6QCvDvcyqk0UfJjRQuGi3-Ye0b9Ej-Zet6eYq5KYHdvQ@mail.gmail.com> (raw)
In-Reply-To: <03cb2ed4-9c74-489f-a427-11411586e9de@coli.uni-saarland.de>

Hi Sébastien,

That's my point. I'm reporting that if such a custom command is created
through the customise interface with a setting of "Number of days in
agenda: org-agenda-span" and a choice of "day" then the quote (') is not
included.

It appears as (org-agenda-span day) instead of (org-agenda-span 'day).

Niall
Niall


On 30 August 2017 at 14:55, Sébastien Le Maguer
<slemaguer@coli.uni-saarland.de> wrote:
> Hello
>
> I might say something stupid buy isn't it 'day (with a simple quote) ?
>
> Sent from Blue
> On 30 Aug 2017, at 14:45, Niall Dooley <dooleyn@gmail.com> wrote:
>>
>> 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 14:14 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 [this message]
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=CADS3Lq6QCvDvcyqk0UfJjRQuGi3-Ye0b9Ej-Zet6eYq5KYHdvQ@mail.gmail.com \
    --to=dooleyn@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=slemaguer@coli.uni-saarland.de \
    /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).