emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Possible problem with org-agenda-time-grid
@ 2020-12-11 16:38 steve-humphreys
  2020-12-12  2:23 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: steve-humphreys @ 2020-12-11 16:38 UTC (permalink / raw)
  To: Org-Mode mailing list

I see big differences when using the two calls to "org-agenda-time-grid"
with identical parameters.


(setq tm '(number-sequence 800 2000 100))
(setq org-agenda-time-grid '((today daily require-timed) 'tm
   "" "----------------"))

(setq org-agenda-time-grid '((today daily require-timed)
   (800 900 1000 1100 1200 1300 1400 1500 1600 1700  1800 2000)
   "" "----------------"))

Regards
Steve


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

* Re: Possible problem with org-agenda-time-grid
  2020-12-11 16:38 Possible problem with org-agenda-time-grid steve-humphreys
@ 2020-12-12  2:23 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2020-12-12  2:23 UTC (permalink / raw)
  To: steve-humphreys, Org-Mode mailing list

steve-humphreys@gmx.com writes:

> (setq tm '(number-sequence 800 2000 100))
> (setq org-agenda-time-grid '((today daily require-timed) 'tm
>    "" "----------------"))

You need
(setq tm (number-sequence 800 2000 100))
(setq org-agenda-time-grid `((today daily require-timed) ,tm
    "" "----------------"))

See manual page "10 Evaluation" for details. Specifically, you need to
read 10.3 Quoting and 10.4 Backquote

Best,
Ihor



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

end of thread, other threads:[~2020-12-12  2:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 16:38 Possible problem with org-agenda-time-grid steve-humphreys
2020-12-12  2:23 ` Ihor Radchenko

Code repositories for project(s) associated with this 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).