From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: reingold@emr.cs.iit.edu (Edward M. Reingold) Newsgroups: gmane.emacs.help Subject: Re: diary sexp question Date: 15 Dec 2005 13:30:15 -0600 Organization: Illinois Institute of Technology Message-ID: <85k6e6p394.fsf@emr.cs.iit.edu> References: <85fyoxk9ri.fsf@emr.cs.iit.edu> <858xunjsws.fsf@emr.cs.iit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134681899 15576 80.91.229.2 (15 Dec 2005 21:24:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2005 21:24:59 +0000 (UTC) Cc: bxf4@yahoo.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 15 22:24:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1En0aX-00013d-K5 for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Dec 2005 22:24:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1En0bB-0007F8-LD for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Dec 2005 16:25:13 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news.illinois.net!news.iit.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: emr.cs.iit.edu Original-X-Trace: condor2.cns.iit.edu 1134675015 13432 216.47.142.126 (15 Dec 2005 19:30:15 GMT) Original-X-Complaints-To: usenet@news.iit.edu Original-NNTP-Posting-Date: Thu, 15 Dec 2005 19:30:15 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:136332 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31967 Archived-At: >>>>> "b" == bxf4 writes: b> If I do this, b> &%%(progn (defun fall-quarter () (diary-block 9 27 2006 12 8 2006)) b> nil) &%%(progn (defun winter-quarter () (diary-block 1 3 2006 3 10 b> 2006)) nil) &%%(progn (defun spring-quarter () (diary-block 3 27 2006 6 b> 2 2006)) nil) b> how can I form the union of those three diary-blocks? You can put all of those defuns in one progn: &%%(progn (defun fall-quarter () (diary-block 9 27 2006 12 8 2006)) (defun winter-quarter () (diary-block 1 3 2006 3 10 2006)) (defun spring-quarter () (diary-block 3 27 2006 6 2 2006)) nil) Then you can have a diary entry &%%(or (fall-quarter) (winter-quarter) (spring-quarter)) Blah blah -- 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.