> Sent: Friday, December 11, 2020 at 4:28 PM
> From: "Marco Wahl" <marcowahls...@gmail.com>
> To: steve-humphr...@gmx.com
> Cc: "Org-Mode mailing list" <emacs-orgmode@gnu.org>
> Subject: Re: Using org-agenda-time-grid with lists
>
> steve-humphr...@gmx.com writes:
>
> > I am trying to insert finer timings in org-agenda with the following code.
> > Haw can one pass a list in a list?
> >
> > (setq tm '(number-sequence 800 2000 30))
> > (setq org-agenda-time-grid '((daily today require-timed)
> > tm "......" "----------------"))
> >
> >
> > But this works well
> >
> > (setq org-agenda-time-grid '((daily today require-timed)
> > (800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 2000)
> > "......" "----------------"))
>
> What about
>
> (setq tm '(number-sequence 800 2000 30))
>
> vs.
>
> (setq tm (number-sequence 800 2000 30))
>
> ?
Thank you Marco.
I have made two versions for calling org-agenda-time-grid, but the first does
not
comply with what the last call does. Yet the parameters are identical.
(setq grid-displ '(today daily require-timed))
(setq tm '(number-sequence 800 2000 100))
(message "tm: %s" tm)
(setq org-agenda-time-grid '('grid-displ 'tm
"......" "----------------"))
(setq org-agenda-time-grid '((today daily require-timed)
(800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 2000)
"......" "----------------"))
Incidentally, how can one print a list in messages buffer?
> HTH,
> --
> Marco
>
>