aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2008-08-10 01:51:23 +0000
committerGlenn Morris2008-08-10 01:51:23 +0000
commita43a8a2e815da1aa665e67b229d438259890fc32 (patch)
tree8fc9ac37cbbe26d4c2d71421b8cb359117f4feeb /doc
parent5c94b31cbcebc400e64b14b7b60666d5995780e4 (diff)
downloademacs-a43a8a2e815da1aa665e67b229d438259890fc32.tar.gz
emacs-a43a8a2e815da1aa665e67b229d438259890fc32.zip
(Calendar Customizing): Mention whitespace variables and intermonth text.
(Holiday Customizing): Add holiday-chinese.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog6
-rw-r--r--doc/emacs/cal-xtra.texi20
2 files changed, 25 insertions, 1 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 703974c1362..280aceeb569 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,9 @@
12008-08-10 Glenn Morris <rgm@gnu.org>
2
3 * cal-xtra.texi (Calendar Customizing): Mention whitespace variables
4 and intermonth text.
5 (Holiday Customizing): Add holiday-chinese.
6
12008-08-08 Eli Zaretskii <eliz@gnu.org> 72008-08-08 Eli Zaretskii <eliz@gnu.org>
2 8
3 * files.texi (Log Buffer, Diff Mode): Fix last changes. Add indexing. 9 * files.texi (Log Buffer, Diff Mode): Fix last changes. Add indexing.
diff --git a/doc/emacs/cal-xtra.texi b/doc/emacs/cal-xtra.texi
index b7a9795e401..32a0f7b4d72 100644
--- a/doc/emacs/cal-xtra.texi
+++ b/doc/emacs/cal-xtra.texi
@@ -27,6 +27,21 @@ diary suit your personal tastes.
27 27
28@node Calendar Customizing 28@node Calendar Customizing
29@subsection Customizing the Calendar 29@subsection Customizing the Calendar
30
31@vindex calendar-intermonth-text
32@cindex calendar layout
33@cindex showing week numbers in the calendar
34 The layout of the calendar is to some extent customizable. The
35display is unfortunately limited to three months (due to some
36deep-rooted and widespread assumptions in the code), but you can
37customize the whitespace used in the display by setting the variables:
38@code{calendar-left-margin}, @code{calendar-intermonth-spacing},
39@code{calendar-column-width}, @code{calendar-day-header-width}, and
40@code{calendar-day-digit-width}. To display text between the months,
41for example week numbers, customize the variables
42@code{calendar-intermonth-header} and @code{calendar-intermonth-text} as
43described in their documentation.
44
30@vindex calendar-holiday-marker 45@vindex calendar-holiday-marker
31@vindex diary-entry-marker 46@vindex diary-entry-marker
32 The variable @code{calendar-holiday-marker} specifies how to mark a 47 The variable @code{calendar-holiday-marker} specifies how to mark a
@@ -159,6 +174,9 @@ The @var{k}th @var{dayname} in @var{month} on the Gregorian calendar
159(@var{dayname}=0 for Sunday, and so on); negative @var{k} means count back 174(@var{dayname}=0 for Sunday, and so on); negative @var{k} means count back
160from the end of the month. 175from the end of the month.
161 176
177@item (holiday-chinese @var{month} @var{day} @var{string})
178A fixed date on the Chinese calendar.
179
162@item (holiday-hebrew @var{month} @var{day} @var{string}) 180@item (holiday-hebrew @var{month} @var{day} @var{string})
163A fixed date on the Hebrew calendar. 181A fixed date on the Hebrew calendar.
164 182
@@ -210,7 +228,7 @@ the month (1 specifies the first occurrence, 2 the second occurrence,
210so on). 228so on).
211 229
212 You can specify holidays that occur on fixed days of the Baha'i, 230 You can specify holidays that occur on fixed days of the Baha'i,
213Hebrew, Islamic, and Julian calendars too. For example, 231Chinese, Hebrew, Islamic, and Julian calendars too. For example,
214 232
215@smallexample 233@smallexample
216(setq other-holidays 234(setq other-holidays