From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanrong Lin Subject: Re: FR: date marking in calendar Date: Tue, 04 Mar 2008 21:09:08 -0500 Message-ID: <47CE00C4.8020609@gmail.com> References: <47CDC0CE.7030909@gmail.com> <878x0yp0vy.fsf@bzg.ath.cx> <874pbmjbep.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JWj4C-0002ZY-M0 for emacs-orgmode@gnu.org; Tue, 04 Mar 2008 21:09:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JWj4B-0002Y1-5A for emacs-orgmode@gnu.org; Tue, 04 Mar 2008 21:09:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWj4B-0002Xt-29 for emacs-orgmode@gnu.org; Tue, 04 Mar 2008 21:09:11 -0500 Received: from wr-out-0506.google.com ([64.233.184.225]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JWj4A-0007Ol-Oh for emacs-orgmode@gnu.org; Tue, 04 Mar 2008 21:09:10 -0500 Received: by wr-out-0506.google.com with SMTP id c46so1262904wra.18 for ; Tue, 04 Mar 2008 18:09:10 -0800 (PST) In-Reply-To: <874pbmjbep.fsf@bzg.ath.cx> 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, Thanks a lot for the suggestion. My appointments are in org files are agenda are marked with a tag, so using diary as you suggested does not work exactly as I wished. But I was not even aware of the existence of org-diary and its usage, maybe I can find some other use of it later on. Also, I did not see any calendar markings in my trial even with org-diary, but I suspect it might be because I ran emacs in a text terminal, not an X-window or Windows. I will try it later. Wanrong Bastien wrote: >> (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, > >