all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug: org-agenda-span value not quoted via customize interface
@ 2017-08-30 12:00 Niall Dooley
  2017-08-30 13:55 ` Sébastien Le Maguer
  2017-09-03 12:21 ` Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Niall Dooley @ 2017-08-30 12:00 UTC (permalink / raw)
  To: emacs-orgmode

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/)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: org-agenda-span value not quoted via customize interface
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Sébastien Le Maguer @ 2017-08-30 13:55 UTC (permalink / raw)
  To: Niall Dooley; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

Hello

I might say something stupid buy isn't it 'day (with a simple quote) ?

⁣Sent from Blue ​

On 30 Aug 2017, 14:45, 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/)

[-- Attachment #2: Type: text/html, Size: 1857 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: org-agenda-span value not quoted via customize interface
  2017-08-30 13:55 ` Sébastien Le Maguer
@ 2017-08-30 14:13   ` Niall Dooley
  0 siblings, 0 replies; 4+ messages in thread
From: Niall Dooley @ 2017-08-30 14:13 UTC (permalink / raw)
  To: Sébastien Le Maguer; +Cc: emacs-orgmode

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/)
>>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: org-agenda-span value not quoted via customize interface
  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-09-03 12:21 ` Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2017-09-03 12:21 UTC (permalink / raw)
  To: Niall Dooley; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-03 12:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.