changeset 97393:6a466042ab74

(Calendar Customizing): Mention whitespace variables and intermonth text. (Holiday Customizing): Add holiday-chinese.
author Glenn Morris <rgm@gnu.org>
date Sun, 10 Aug 2008 01:51:06 +0000
parents e01a98a71019
children 12d7b7da3f9a
files doc/emacs/cal-xtra.texi
diffstat 1 files changed, 19 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/cal-xtra.texi	Sun Aug 10 01:27:58 2008 +0000
+++ b/doc/emacs/cal-xtra.texi	Sun Aug 10 01:51:06 2008 +0000
@@ -27,6 +27,21 @@
 
 @node Calendar Customizing
 @subsection Customizing the Calendar
+
+@vindex calendar-intermonth-text
+@cindex calendar layout
+@cindex showing week numbers in the calendar
+  The layout of the calendar is to some extent customizable.  The
+display is unfortunately limited to three months (due to some
+deep-rooted and widespread assumptions in the code), but you can
+customize the whitespace used in the display by setting the variables:
+@code{calendar-left-margin}, @code{calendar-intermonth-spacing},
+@code{calendar-column-width}, @code{calendar-day-header-width}, and
+@code{calendar-day-digit-width}.  To display text between the months,
+for example week numbers, customize the variables
+@code{calendar-intermonth-header} and @code{calendar-intermonth-text} as
+described in their documentation.
+
 @vindex calendar-holiday-marker
 @vindex diary-entry-marker
   The variable @code{calendar-holiday-marker} specifies how to mark a
@@ -159,6 +174,9 @@
 (@var{dayname}=0 for Sunday, and so on); negative @var{k} means count back
 from the end of the month.
 
+@item (holiday-chinese @var{month} @var{day} @var{string})
+A fixed date on the Chinese calendar.
+
 @item (holiday-hebrew @var{month} @var{day} @var{string})
 A fixed date on the Hebrew calendar.
 
@@ -210,7 +228,7 @@
 so on).
 
   You can specify holidays that occur on fixed days of the Baha'i,
-Hebrew, Islamic, and Julian calendars too.  For example,
+Chinese, Hebrew, Islamic, and Julian calendars too.  For example,
 
 @smallexample
 (setq other-holidays