From: gebser@speakeasy.net
Subject: calendar fun (MS XP)
Date: Mon, 12 Jul 2004 13:25:26 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.44.0407121257350.1780-100000@localhost.localdomain> (raw)
Hey, emacs gurus,
I'm using emacs v.21.3.1 on Window$ XP.
When emacs loads I would like it to display the standard three-month
calendar in a smaller window at the bottom. So I put;
(calendar)
in my .emacs. Works great. So far, so good.
I would also like the calendar to mark today. I used "Customize" to set
this, it put:
'(today-visible-calendar-hook (quote (calendar-mark-today))))
in my .emacs and it worked the first time. Since then, when I load
emacs, it doesn't, i.e., the calendar is still displayed but today is
not underlined.
I'd also like the entries in my diary file (including the holidays which
appear when I do "M-x diary") to be highlighted. I tried to do this via
Customize, Customize put:
'(initial-calendar-window-hook (quote (mark-diary-entries)))
in my .emacs, but no days are highlighted. If, however, I put the mark
at the end of the above line and do "C-x C-e", then put the mark on the
second-to-last closed paren and do "C-x C-e", the diary entries are
highlighted, but not the holidays.
Because I really don't learn very much when I use Customize and because
I've not found it to be reliable, I'd rather put elisp code into my
.emacs. Does someone know the code I'd need to do what I've described
above? I.e.:
Upon loading emacs display calendar with diary entries and diary's
holidays highlighted and today underlined.
tmia,
ken
reply other threads:[~2004-07-12 17:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0407121257350.1780-100000@localhost.localdomain \
--to=gebser@speakeasy.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.
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).