Org-mode mailing list
 help / color / mirror / 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

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git