emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Leo <sdl.web@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Highlight current date in agenda buffer
Date: Wed, 21 Jan 2009 13:52:20 -0500	[thread overview]
Message-ID: <87ocy03317.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <xbaimydksi7r.fsf@cam.ac.uk> (Leo's message of "Wed\, 21 Jan 2009 17\:05\:12 +0000")

Leo <sdl.web@gmail.com> writes:

> My friend asked about how to have the current date highlighted when
> in the week view of the agenda. Any ideas?

I have the following in my .emacs

(add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))

and then just '.' in the agenda goes to today with the hilighted line.
When starting the agenda (week, month view) the current line is always
on today's date for me.

It's not exactly what you want but it Works Great For Me(tm)

I also have the week view starting on today and looking 6 days into the
future so the first day of the current week is always today.

 (setq org-agenda-start-on-weekday nil)


  reply	other threads:[~2009-01-21 18:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-21 17:05 Highlight current date in agenda buffer Leo
2009-01-21 18:52 ` Bernt Hansen [this message]
2009-01-26  2:11   ` chunhui

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:

  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=87ocy03317.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=sdl.web@gmail.com \


* 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


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).