From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: FR: date marking in calendar Date: Tue, 04 Mar 2008 23:51:26 +0000 Message-ID: <874pbmjbep.fsf@bzg.ath.cx> References: <47CDC0CE.7030909@gmail.com> <878x0yp0vy.fsf@bzg.ath.cx> 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 1JWguy-0002or-EE for emacs-orgmode@gnu.org; Tue, 04 Mar 2008 18:51:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JWguv-0002oa-Pk for emacs-orgmode@gnu.org; Tue, 04 Mar 2008 18:51:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWguv-0002oX-II for emacs-orgmode@gnu.org; Tue, 04 Mar 2008 18:51:29 -0500 Received: from fk-out-0910.google.com ([209.85.128.190]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JWguv-0005SP-3B for emacs-orgmode@gnu.org; Tue, 04 Mar 2008 18:51:29 -0500 Received: by fk-out-0910.google.com with SMTP id 26so1136647fkx.10 for ; Tue, 04 Mar 2008 15:51:28 -0800 (PST) In-Reply-To: <878x0yp0vy.fsf@bzg.ath.cx> (Bastien's message of "Tue, 04 Mar 2008 22:42:09 +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: emacs-orgmode@gnu.org Bastien writes: >> If I have (setq mark-holidays-in-calendar t), the calendar window will >> mark all holidays. I am thinking it will be great if we can mark >> appointments in org-files. > > (require 'diary-lib) > (add-hook 'diary-display-hook 'fancy-diary-display) > > Adding this in your ~/.diary file should do it: > > %%(org-diary :scheduled :timestamp :deadline) A note of caution: If you have *many* appointments in your org agenda files, then each fancy display of the calendar will be much slower. If you just need to use `d' on a calendar date, but don't want the dates to be fontified, add `&' before the diary sexp: &%%(org-diary :scheduled :timestamp :deadline) HTH, -- Bastien