all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Eliachevitch <m.eliachevitch@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Emacs calendar to display nth weekay in month, e.g. every 3rd Wednesday
Date: Sun, 11 Jan 2015 21:03:14 +0100	[thread overview]
Message-ID: <54B2D702.3020307@gmx.net> (raw)

Hi,

There are several events for me each month which take place for example
on the 3rd Wednesday or on the first Tuesday of each month. Is there
some way to add them to my diary file, so that they will be added to the
list of diary entries and displayed in the calendar for all dates to
which this rule applies?

Maybe there is already some functionality to do this, but I haven't
found it yet. At least it's justnot  a simple regex on the date. If
there is something like this, I would like to know.

I am actually a newbie when it comes to programming in emacs lisp. I
have just started this week. I managed to create a function that checks
if a date is for example a 3rd Wednesday, but I am still not sure how to
combine it with the diary. I would have to implement some special syntax
for entering it into the diary file and add some regexes for that and
should study the diary code more... I still haven't figured out how
entries are added to the diary-entries-list.

So if somebody who knows the emacs calendar could provide some help or
hints, I would be really thankful.

Greetings,
Michael



             reply	other threads:[~2015-01-11 20:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-11 20:03 Michael Eliachevitch [this message]
2015-01-11 20:37 ` Emacs calendar to display nth weekay in month, e.g. every 3rd Wednesday Tory S. Anderson
2015-01-20  3:01   ` Robert Thorpe

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=54B2D702.3020307@gmx.net \
    --to=m.eliachevitch@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    /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.