[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using org-agenda-time-grid with lists
From: |
steve-humphreys |
Subject: |
Re: Using org-agenda-time-grid with lists |
Date: |
Fri, 11 Dec 2020 16:45:28 +0100 |
> Sent: Friday, December 11, 2020 at 4:28 PM
> From: "Marco Wahl" <marcowahlsoft@gmail.com>
> To: steve-humphreys@gmx.com
> Cc: "Org-Mode mailing list" <emacs-orgmode@gnu.org>
> Subject: Re: Using org-agenda-time-grid with lists
>
> steve-humphreys@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
>
>
- Using org-agenda-time-grid with lists, steve-humphreys, 2020/12/11
- Re: Using org-agenda-time-grid with lists, Marco Wahl, 2020/12/11
- Re: Using org-agenda-time-grid with lists,
steve-humphreys <=
- Re: Using org-agenda-time-grid with lists, TRS-80, 2020/12/11
- Re: Using org-agenda-time-grid with lists, steve-humphreys, 2020/12/11
- Re: Using org-agenda-time-grid with lists, TRS-80, 2020/12/11
- Re: Using org-agenda-time-grid with lists, Christopher Dimech, 2020/12/11
- Re: Using org-agenda-time-grid with lists, TRS-80, 2020/12/11
- Re: Using org-agenda-time-grid with lists, Marco Wahl, 2020/12/11
- Re: Using org-agenda-time-grid with lists, steve-humphreys, 2020/12/11