From: Foivos S. Zakkak <foivos@zakkak.net>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 21256@debbugs.gnu.org
Subject: bug#21256: [RFC] Extend holiday-greek-orthodox-easter in calendar
Date: Thu, 13 Aug 2015 21:38:37 +0300 [thread overview]
Message-ID: <yx80vbcj9gpe.fsf@zakkak.net> (raw)
In-Reply-To: <55CCDC6E.3090805@cs.ucla.edu>
[-- Attachment #1: Type: text/plain, Size: 2264 bytes --]
On 08/13/15 21:05 , Paul Eggert <eggert@cs.ucla.edu> wrote:
> [Moving this thread to the bug report email address.]
>
> Foivos S. Zakkak wrote:
>
>> Extend holiday-greek-orthodox-easter to work like holiday-easter-etc.
>
> Thanks, could you give the use case for this extension? My impression is that
> holiday-greek-orthodox-easter is intended for internal use, and the only place
> it's called wouldn't use this extension.
Hello Paul,
To the best of my knowledge there is no preset to properly display all
the Greek holidays. As a result, following the paradigms in [1] I
created a Greek localization. However there are various Greek-Orthodox
holidays that are relative to the Easter date (i.e., "Καθαρά Δευτέρα" is
48 days before the Greek-Orthodox Easter) and I was not able to define
them properly.
With this extension one can use the following configuration or similar:
--8<---------------cut here---------------start------------->8---
;; Greek public holidays
(setq holiday-christian-holidays
'((holiday-fixed 1 1 "Πρωτοχρονιά")
(holiday-fixed 1 6 "Θεοφάνεια")
(holiday-greek-orthodox-easter -48 "Καθαρά Δευτέρα")
(holiday-fixed 3 25 "Ευαγγελισμός της Θεοτόκου")
(holiday-greek-orthodox-easter -2 "Μεγάλη Παρασκευή")
(holiday-greek-orthodox-easter 0 "Κυριακή του Πάσχα")
(holiday-greek-orthodox-easter +1 "Δευτέρα του Πάσχα")
(holiday-fixed 5 1 "Εργατική Πρωτομαγιά")
(holiday-greek-orthodox-easter +49 "Πεντηκοστή")
(holiday-greek-orthodox-easter +50 "Αγίου Πνεύματος")
(holiday-fixed 8 15 "Η Κοίμηση της Θεοτόκου")
(holiday-fixed 12 25 "Χριστούγεννα")
(holiday-fixed 12 26 "Σύναξις Ὑπεραγίας Θεοτόκου Μαρίας")
))
--8<---------------cut here---------------end--------------->8---
[1] http://www.emacswiki.org/emacs/CalendarLocalization
Kind regards,
Foivos
--
WWW: foivos.zakkak.net
PGP: 7B40 69D9 29BA AE91 C0B3 220A 0846 BFD1 03F0 4EA1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 212 bytes --]
next prev parent reply other threads:[~2015-08-13 18:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <yx80fv3nz4w7.fsf@zakkak.net>
2015-08-13 18:01 ` bug#21256: [RFC] Extend holiday-greek-orthodox-easter in calendar Paul Eggert
2015-08-13 18:05 ` Paul Eggert
2015-08-13 18:38 ` Foivos S. Zakkak [this message]
2015-08-13 19:19 ` Paul Eggert
2015-08-13 19:49 ` Foivos S. Zakkak
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=yx80vbcj9gpe.fsf@zakkak.net \
--to=foivos@zakkak.net \
--cc=21256@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
/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.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).