From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Highlight current date in agenda buffer Date: Wed, 21 Jan 2009 13:52:20 -0500 Message-ID: <87ocy03317.fsf@gollum.intra.norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPiBh-0008FV-3a for emacs-orgmode@gnu.org; Wed, 21 Jan 2009 13:52:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPiBe-0008BY-1K for emacs-orgmode@gnu.org; Wed, 21 Jan 2009 13:52:28 -0500 Received: from [199.232.76.173] (port=44015 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPiBd-0008BF-Rb for emacs-orgmode@gnu.org; Wed, 21 Jan 2009 13:52:25 -0500 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:56813) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LPiBd-0007jR-IZ for emacs-orgmode@gnu.org; Wed, 21 Jan 2009 13:52:25 -0500 In-Reply-To: (Leo's message of "Wed\, 21 Jan 2009 17\:05\:12 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Leo Cc: emacs-orgmode@gnu.org Leo 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) HTH, Bernt