From: Michael Heerdegen <michael_heerdegen@web.de>
To: "Gijs Hillenius" <gijs@hillenius.net>
Cc: emacs-devel@gnu.org
Subject: Re: diary-lib.el how about adding diary-schedule
Date: Wed, 25 Aug 2021 12:55:53 +0200 [thread overview]
Message-ID: <87fsux7pza.fsf@web.de> (raw)
In-Reply-To: <87pmu22csm.fsf@hillenius.net> ("Gijs Hillenius"'s message of "Wed, 25 Aug 2021 09:39:37 +0200")
Gijs Hillenius <gijs@hillenius.net> writes:
> this indeed does what I want:
>
> %%(and (diary-block 15 07 2020 30 06 2021) (diary-cyclic 7 15 07 2020))
> 14:00-14:30 some weekly meeting
If you need this often, you can also just define something like
#+begin_src emacs-lisp
(defun my-diary-block-cyclic (m1 d1 y1 m2 d2 y2 n &optional mark)
(and (diary-cyclic n m1 d1 y1)
(diary-block m1 d1 y1 m2 d2 y2 mark)))
#+end_src
in your config and use that in your diary.
Michael.
next prev parent reply other threads:[~2021-08-25 10:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-20 9:57 diary-lib.el how about adding diary-schedule Gijs Hillenius
2021-08-21 13:09 ` Lars Ingebrigtsen
2021-08-22 7:33 ` Gijs Hillenius
2021-08-22 21:59 ` Lars Ingebrigtsen
2021-08-24 14:37 ` Michael Heerdegen
2021-08-25 7:39 ` Gijs Hillenius
2021-08-25 10:55 ` Michael Heerdegen [this message]
2021-08-26 15:22 ` Michael Heerdegen
2021-08-26 19:48 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fsux7pza.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=emacs-devel@gnu.org \
--cc=gijs@hillenius.net \
/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.
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.