From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: reingold@emr.cs.iit.edu (Edward M. Reingold) Newsgroups: gmane.emacs.help Subject: Re: diary question Date: 04 Nov 2003 11:00:07 -0600 Organization: Illinois Institute of Technology Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <85k76gxe5k.fsf@emr.cs.iit.edu> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067966542 10494 80.91.224.253 (4 Nov 2003 17:22:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2003 17:22:22 +0000 (UTC) Cc: Rudy Gevaert Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 04 18:22:17 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AH4si-00022r-00 for ; Tue, 04 Nov 2003 18:22:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AH4Z4-0001qy-Vf for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2003 12:01:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!wn14feed!wn13feed!worldnet.att.net!4.24.21.153!chcgil2-snh1.gtei.net!news.bbnplanet.com!chcgil2-snf1.gtei.net!news.gtei.net!news.illinois.net!news.iit.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: emr.cs.iit.edu Original-X-Trace: condor2.cns.iit.edu 1067965209 7398 216.47.142.126 (4 Nov 2003 17:00:09 GMT) Original-X-Complaints-To: usenet@news.iit.edu Original-NNTP-Posting-Date: Tue, 4 Nov 2003 17:00:09 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:117860 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13798 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13798 >>>>> "RG" == Rudy Gevaert writes: RG> Hi How can I mark al the uneven weeks? Do you mean the ISO week numbering? If so, for example, a diary entry for the Monday of each such week would be &%%(let* ((iso-date (calendar-iso-from-absolute (calendar-absolute-from-gregorian date))) (week (extract-calendar-month iso-date)) (day (extract-calendar-day iso-date))) (and (= day 1) (= (% week 2) 1))) Today is Monday of an odd week -- Professor Edward M. Reingold Email: reingold@iit.edu Chairman, Department of Computer Science Voice: (312) 567-3309 Illinois Institute of Technology Assistant: (312) 567-5152 Stuart Building Fax: (312) 567-5067 10 West 31st Street, Suite 236 Chicago, IL 60616-3729 U.S.A.