From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Show timegrid even if empty?
Date: Mon, 13 Jan 2014 12:00:39 -0500 [thread overview]
Message-ID: <87sisrn7ew.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: trinity-5558d5aa-6fbe-46ad-a51e-4242b9981244-1389631068106@3capp-webde-bs36
"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
prev parent reply other threads:[~2014-01-13 17:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-13 16:37 Show timegrid even if empty? Martin Beck
2014-01-13 17:00 ` Nick Dokos [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sisrn7ew.fsf@alphaville.bos.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.