Define indentation in normal dialect for let-syntax,
[bpt/emacs.git] / lisp / calendar / cal-french.el
CommitLineData
7e1dae73
JB
1;;; cal-french.el --- calendar functions for the French Revolutionary calendar.
2
780249f8 3;; Copyright (C) 1988, 89, 92, 94, 95, 1997 Free Software Foundation, Inc.
7e1dae73
JB
4
5;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
e9571d2a
ER
6;; Keywords: calendar
7;; Human-Keywords: French Revolutionary calendar, calendar, diary
7e1dae73
JB
8
9;; This file is part of GNU Emacs.
10
59243403
RS
11;; GNU Emacs is free software; you can redistribute it and/or modify
12;; it under the terms of the GNU General Public License as published by
13;; the Free Software Foundation; either version 2, or (at your option)
14;; any later version.
15
7e1dae73 16;; GNU Emacs is distributed in the hope that it will be useful,
59243403
RS
17;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19;; GNU General Public License for more details.
20
21;; You should have received a copy of the GNU General Public License
b578f267
EN
22;; along with GNU Emacs; see the file COPYING. If not, write to the
23;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24;; Boston, MA 02111-1307, USA.
7e1dae73
JB
25
26;;; Commentary:
27
28;; This collection of functions implements the features of calendar.el and
29;; diary.el that deal with the French Revolutionary calendar.
30
d098eb39 31;; Technical details of the French Revolutionary calendar can be found in
327c8eb2
RS
32;; ``Calendrical Calculations, Part II: Three Historical Calendars'' by
33;; E. M. Reingold, N. Dershowitz, and S. M. Clamen, Software--Practice and
34;; Experience, Volume 23, Number 4 (April, 1993), pages 383-404.
7e1dae73
JB
35
36;; Comments, corrections, and improvements should be sent to
37;; Edward M. Reingold Department of Computer Science
38;; (217) 333-6733 University of Illinois at Urbana-Champaign
39;; reingold@cs.uiuc.edu 1304 West Springfield Avenue
40;; Urbana, Illinois 61801
41
42;;; Code:
43
44(require 'calendar)
45
780249f8
RS
46(defun french-calendar-accents ()
47 "True if diacritical marks are available."
48 (and (or window-system
49 (terminal-coding-system))
50 (or enable-multibyte-characters
51 (and (char-table-p standard-display-table)
52 (equal (aref standard-display-table 161) [161])))))
327c8eb2 53
9fadf1a5
ER
54(defconst french-calendar-epoch (calendar-absolute-from-gregorian '(9 22 1792))
55 "Absolute date of start of French Revolutionary calendar = September 22, 1792.")
56
7e1dae73 57(defconst french-calendar-month-name-array
780249f8
RS
58 ["Vende'miaire" "Brumaire" "Frimaire" "Nivo^se" "Pluvio^se" "Vento^se"
59 "Germinal" "Flore'al" "Prairial" "Messidor" "Thermidor" "Fructidor"])
60
61(defconst french-calendar-multibyte-month-name-array
62