From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanrong Lin Subject: Re: FR: date marking in calendar Date: Wed, 05 Mar 2008 14:45:22 -0500 Message-ID: <47CEF852.9050107@gmail.com> References: <47CDC0CE.7030909@gmail.com> <878x0yp0vy.fsf@bzg.ath.cx> <874pbmjbep.fsf@bzg.ath.cx> <47CE00C4.8020609@gmail.com> <87ejapc3db.fsf@bzg.ath.cx> <47CEC49F.7080601@gmail.com> <87mypdf8y5.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 1JWzYR-00052y-Fh for emacs-orgmode@gnu.org; Wed, 05 Mar 2008 14:45:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JWzYP-00051s-H6 for emacs-orgmode@gnu.org; Wed, 05 Mar 2008 14:45:30 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWzYP-00051n-8u for emacs-orgmode@gnu.org; Wed, 05 Mar 2008 14:45:29 -0500 Received: from fg-out-1718.google.com ([72.14.220.155]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JWzYO-000165-R5 for emacs-orgmode@gnu.org; Wed, 05 Mar 2008 14:45:29 -0500 Received: by fg-out-1718.google.com with SMTP id d23so1550747fga.30 for ; Wed, 05 Mar 2008 11:45:28 -0800 (PST) In-Reply-To: <87mypdf8y5.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 Cc: emacs-orgmode@gnu.org Thanks. It works now. I found I need only set (setq mark-diary-entries-in-calendar t) to have the markings show up. Wanrong Bastien wrote: > Wanrong Lin writes: > > >> Following your suggestion now I can see a pretty list of scheduled >> things when I run "diary", but I don't see any marking of dates in my >> calendar buffer. Is there anything I could have missed? >> > > (add-hook 'initial-calendar-window-hook 'mark-diary-entries) > > If %%(org-diary :scheduled :timestamp) throws an error, cheat a little > and use this instead: > > %%(condition-case nil (org-diary :scheduled :timestamp) (error nil)) > >