* Show timegrid even if empty?
@ 2014-01-13 16:37 Martin Beck
2014-01-13 17:00 ` Nick Dokos
0 siblings, 1 reply; 2+ messages in thread
From: Martin Beck @ 2014-01-13 16:37 UTC (permalink / raw)
To: emacs orgmode-mailinglist
[-- Attachment #1: Type: text/html, Size: 724 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Show timegrid even if empty?
2014-01-13 16:37 Show timegrid even if empty? Martin Beck
@ 2014-01-13 17:00 ` Nick Dokos
0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2014-01-13 17:00 UTC (permalink / raw)
To: emacs-orgmode
"Martin Beck" <elwood151@web.de> writes:
> in a block agenda view, I also want to incorporate the time grid to see the appointments of a day.
>
> I tried with this code:
>
> (agenda "" ((org-agenda-overriding-header "Calendar") (org-agenda-span (quote day)) (org-agenda-entry-types (quote (:timestamp)))
> (org-agenda-time-grid (quote ("t")))))
>
The org-agenda-time-grid setting looks wrong: maybe try
(org-agenda-time-grid '((daily today nil) ;;; replaced require-timed with nil
#("----------------" 0 16
(org-heading t))
(800 1000 1200 1400 1600 1800 2000)))
but I'm not sure where the code you show above lives. I just tried setting
org-agenda-custom-commands like this:
--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
'(
("A" "normal agenda but always time grid" agenda ""
((org-agenda-time-grid '((daily today nil)
#("----------------" 0 16
(org-heading t))
(800 1000 1200 1400 1600 1800 2000)))))
))
--8<---------------cut here---------------end--------------->8---
and that seems to work.
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-13 17:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-13 16:37 Show timegrid even if empty? Martin Beck
2014-01-13 17:00 ` Nick Dokos
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.