From: Jean Louis <bugs@gnu.support>
To: Christopher Dimech <dimech@gmx.com>
Cc: Michael Heerdegen <michael_heerdegen@web.de>, help-gnu-emacs@gnu.org
Subject: Re: Emacs Calendar - Removing holidays
Date: Thu, 19 Nov 2020 23:09:51 +0300 [thread overview]
Message-ID: <X7bRDzHYInCDyfwV@protected.rcdrun.com> (raw)
In-Reply-To: <trinity-16492777-32a9-42bc-a762-3fca2e2234d1-1605815579748@3c-app-mailcom-bs14>
* Christopher Dimech <dimech@gmx.com> [2020-11-19 22:53]:
> Have used calendar-mark-diary-entries-flag and the dates
> get marked.
>
> (setq calendar-mark-diary-entries-flag t)
>
> I also want to set other dates for appointments and other dates
> and using holiday, although holiday is not an appropriate term.
>
> Is there something like holidays but work related. Because
> I do not want to show standard holidays like christian, hebrew,
> etc.
On GNU ELPA search for holidays and download one of those packages and
you may use such to make your own.
See example here:
https://github.com/abo-abo/netherlands-holidays
Also see in Emacs Manual:
File: emacs.info, Node: Holiday Customizing, Next: Mayan Calendar, Prev: Calendar Customizing, Up: Advanced Calendar/Diary Usage
31.13.2 Customizing the Holidays
--------------------------------
The general holidays are, by default, holidays common throughout the
United States. In contrast, ‘holiday-local-holidays’ and
‘holiday-other-holidays’ are both empty by default. These are intended
for system-wide settings and your individual use, respectively.
For example, suppose you want to add Bastille Day, celebrated in
France on July 14 (i.e., the fourteenth day of the seventh month). You
can do this as follows:
(setq holiday-other-holidays '((holiday-fixed 7 14 "Bastille Day")))
(setq holiday-other-holidays
'((holiday-hebrew 10 2 "Last day of Hanukkah")
(holiday-islamic 3 12 "Mohammed's Birthday")
(holiday-julian 4 2 "Jefferson's Birthday")))
prev parent reply other threads:[~2020-11-19 20:09 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-19 13:56 Emacs Calendar - Removing holidays Christopher Dimech
2020-11-19 14:02 ` Christopher Dimech
2020-11-19 14:09 ` Jean Louis
2020-11-19 15:21 ` Christopher Dimech
2020-11-19 15:32 ` Jean Louis
2020-11-19 15:37 ` Christopher Dimech
2020-11-19 15:43 ` Christopher Dimech
2020-11-19 16:05 ` Jean Louis
2020-11-19 16:38 ` Christopher Dimech
2020-11-19 16:26 ` Michael Heerdegen
2020-11-19 16:46 ` Christopher Dimech
2020-11-19 17:21 ` Christopher Dimech
2020-11-19 18:58 ` Michael Heerdegen
2020-11-19 19:06 ` Jean Louis
2020-11-19 19:40 ` Michael Heerdegen
2020-11-19 19:52 ` Jean Louis
2020-11-19 20:17 ` Christopher Dimech
2020-11-19 20:50 ` Michael Heerdegen
2020-11-19 20:59 ` Christopher Dimech
2020-11-19 21:11 ` Christopher Dimech
2020-11-21 19:47 ` Michael Heerdegen
2020-11-21 20:16 ` Christopher Dimech
2020-11-19 20:24 ` Michael Heerdegen
2020-11-19 20:36 ` Christopher Dimech
2020-11-19 19:52 ` Christopher Dimech
2020-11-19 20:09 ` Jean Louis [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.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=X7bRDzHYInCDyfwV@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=dimech@gmx.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/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).