emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Ponce <aaronponce@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-agenda-time-grid with org-agenda-prefix-format
Date: Wed, 9 Jan 2013 13:31:38 -0500	[thread overview]
Message-ID: <CAMKdsOw5L-O1PLw_DPau7fGPKj51dYQSeb3nc3NwrL7+kMZ2UQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 959 bytes --]

I cannot seem to get a time grid with the 'today' option to work when I set
a custom prefix for my agenda items. The agenda loads 2 or 3 lines and then
stops where the grid lines are supposed to be. This is my set up:

(setq org-agenda-time-grid (quote ((daily today remove-match) ; cannot
have 'today' option indicated here
                                    #("----------------" 0 16 (org-heading
t))
                                   (830 1000 1200 1300 1500 1700))))


 (setq org-agenda-prefix-format
 '((agenda . " %-12:c%?-12t% s%(concat \"[\"(org-format-outline-path
(org-get-outline-path)) \"]\")")
 (timeline . " % s")
 (todo . " %i %-12:c")
 (tags . " %i %-12:c%(concat \"[\"(org-format-outline-path
(org-get-outline-path)) \"]\")")
 (search . " %-12:c")))


I wanted my agenda items to include parent information; I achieved this
with org-agenda-prefix-format, but cannot seem to get the time grid to show
for the current day at the same time...

[-- Attachment #2: Type: text/html, Size: 1280 bytes --]

             reply	other threads:[~2013-01-09 18:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-09 18:31 Aaron Ponce [this message]
2013-01-10 10:48 ` org-agenda-time-grid with org-agenda-prefix-format Bastien

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMKdsOw5L-O1PLw_DPau7fGPKj51dYQSeb3nc3NwrL7+kMZ2UQ@mail.gmail.com \
    --to=aaronponce@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 public 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).