From mboxrd@z Thu Jan 1 00:00:00 1970 From: Niall Dooley Subject: Re: Bug: org-agenda-span value not quoted via customize interface Date: Wed, 30 Aug 2017 15:13:51 +0100 Message-ID: References: <03cb2ed4-9c74-489f-a427-11411586e9de@coli.uni-saarland.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn3lN-00009U-AA for emacs-orgmode@gnu.org; Wed, 30 Aug 2017 10:14:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn3lJ-0003tV-2V for emacs-orgmode@gnu.org; Wed, 30 Aug 2017 10:14:37 -0400 Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]:32799) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dn3lI-0003t1-T8 for emacs-orgmode@gnu.org; Wed, 30 Aug 2017 10:14:33 -0400 Received: by mail-qt0-x22e.google.com with SMTP id e2so27761336qta.0 for ; Wed, 30 Aug 2017 07:14:32 -0700 (PDT) In-Reply-To: <03cb2ed4-9c74-489f-a427-11411586e9de@coli.uni-saarland.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: =?UTF-8?Q?S=C3=A9bastien_Le_Maguer?= Cc: emacs-orgmode@gnu.org Hi S=C3=A9bastien, 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=C3=A9bastien Le Maguer 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 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) >> "\\=3D.*\\[#A\\]")))))))) >> >> I receive the following error: >> >> Symbol=E2=80=99s 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/) >> >