From: Tassilo Horn <tassilo@member.fsf.org>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Setting recurring deadlines
Date: Tue, 10 Feb 2009 10:03:31 +0100 [thread overview]
Message-ID: <87k57y8xzw.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <22773.1234218724@alphaville.usa.hp.com> (Nick Dokos's message of "Mon, 09 Feb 2009 17:32:04 -0500")
Nick Dokos <nicholas.dokos@hp.com> writes:
Hi Nick,
>> I was curious how to get that done, but I couldn't find a diary for
>> "each last day of a month" in diary, too. "Each second thursday in a
>> month" is on emacswiki, but all those complex dates I found are wired
>> to a specific day of the week...
>
> "Bah, how hard can that be?" - famous last words, now eaten (I did
> choke on them along the way) ...
>
> Here's my attempt (tested *very* lightly):
>
> &%%(let ((lastday (calendar-last-day-of-month (calendar-extract-month date)
> (calendar-extract-year date)))
> (day (calendar-extract-day date)))
> (= day lastday)) last day of month
Using `calendar-last-day-of-month' is unfair. ;-)
Bye,
Tassilo
prev parent reply other threads:[~2009-02-10 9:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 12:18 Setting recurring deadlines Varnit Suri
2009-02-09 14:33 ` Manish
2009-02-09 21:07 ` Tassilo Horn
2009-02-09 21:37 ` Carsten Dominik
2009-02-09 22:32 ` Nick Dokos
2009-02-10 9:03 ` Tassilo Horn [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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k57y8xzw.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).