From: thunk2@arcor.de (Thomas Plass)
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org
Subject: Re: [week?] (was: insert date-stamp for one month)
Date: Mon, 19 Aug 2019 14:29:16 +0200 [thread overview]
Message-ID: <23898.38428.221853.195105@AGAME7.local> (raw)
In-Reply-To: Your message of Sunday, August 18 2019 16:33:37 (ID: <87wofamtku.fsf_-_@mat.ucm.es>).
Hello,
Uwe Brauer wrote at 16:33 on August 18, 2019:
: The problem seems to be that there is no function
: calendar-last-day-of-week.
Well, there is, it's called `calendar-week-end-day'.
This returns the index into 'calendar-day-name-array. Note that the
variable 'calendar-week-start-day should be set properly (it defaults
to 0 = $SUNDAY, while I set this to 1, meaning $MONDAY).
This will only get you as far as computing the name of the day.
Computing a date and/or timestamp for an instance of that day name
relative to a date is quite another matter. The file
calendar/time-date.el might provide useful stuff for doing so.
Thomas
next prev parent reply other threads:[~2019-08-19 12:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-18 7:58 insert date-stamp for one month Uwe Brauer
2019-08-18 10:02 ` Thomas Plass
2019-08-18 10:21 ` Uwe Brauer
2019-08-18 14:33 ` [week?] (was: insert date-stamp for one month) Uwe Brauer
2019-08-19 12:29 ` Thomas Plass [this message]
2019-08-18 10:26 ` insert date-stamp for one month Ken Mankoff
2019-08-18 10:37 ` Uwe Brauer
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=23898.38428.221853.195105@AGAME7.local \
--to=thunk2@arcor.de \
--cc=emacs-orgmode@gnu.org \
--cc=oub@mat.ucm.es \
/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.