From: reingold@emr.cs.iit.edu (Edward M. Reingold)
Cc: bxf4@yahoo.com
Subject: Re: diary sexp question
Date: 15 Dec 2005 13:30:15 -0600 [thread overview]
Message-ID: <85k6e6p394.fsf@emr.cs.iit.edu> (raw)
In-Reply-To: m2u0da6an0.fsf@frost.local
>>>>> "b" == bxf4 <bxf4@yahoo.com> 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.
prev parent reply other threads:[~2005-12-15 19:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-13 1:19 diary sexp question bxf4
2005-12-13 2:31 ` Edward M. Reingold
2005-12-14 7:27 ` bxf4
2005-12-14 21:00 ` Edward M. Reingold
2005-12-15 8:13 ` bxf4
2005-12-15 8:46 ` bxf4
2005-12-15 19:30 ` Edward M. Reingold [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85k6e6p394.fsf@emr.cs.iit.edu \
--to=reingold@emr.cs.iit.edu \
--cc=bxf4@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).