all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* diary sexp question
@ 2005-12-13  1:19 bxf4
  2005-12-13  2:31 ` Edward M. Reingold
  0 siblings, 1 reply; 7+ messages in thread
From: bxf4 @ 2005-12-13  1:19 UTC (permalink / raw)


Hello,

First, I'm not very knowledgeable about emacs lisp, but I'm working on
it.  I'm trying to create some weekly meetings (class times) in my
diary and I'd like them to appear every TWThF through the end of the
quarter.

I started with code from the info manual and tried to get the entry to
show up on particular days of the week, without limiting to a certain
time period.  It didn't work, though.

&%%(let (dayname (calendar-day-of-week date))
      (or (memq dayname '(2 4))
          (memq dayname '(3 5)))) 13:30--14:20 Psych 315

I was also trying to put the entry on particular days of the month,
but I don't think that was working either.
&%%(let (day (car (cdr date)))
      (or (= day 22)
          (= day 25))) print success

I'd like a sexp that took the following arguments:
- weekdays
- times
- range of dates for the appointments

I'd appreciate anyone pointing me in the right direction, or just
giving me the sexp (since I bet it's pretty easy for people who know
how they work).  Thank you for your time and help.




-- 
Brian P. Flaherty
Department of Psychology
University of Washington
Contact and other information at:
http://faculty.washington.edu/bxf4/index.shtml

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-12-15 19:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.