emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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

      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 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 \
    --subject='Re: Re: Setting recurring deadlines' \
    /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

Code repositories for project(s) associated with this 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).