diff options
| author | Glenn Morris | 2008-08-10 01:51:23 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-08-10 01:51:23 +0000 |
| commit | a43a8a2e815da1aa665e67b229d438259890fc32 (patch) | |
| tree | 8fc9ac37cbbe26d4c2d71421b8cb359117f4feeb | |
| parent | 5c94b31cbcebc400e64b14b7b60666d5995780e4 (diff) | |
| download | emacs-a43a8a2e815da1aa665e67b229d438259890fc32.tar.gz emacs-a43a8a2e815da1aa665e67b229d438259890fc32.zip | |
(Calendar Customizing): Mention whitespace variables and intermonth text.
(Holiday Customizing): Add holiday-chinese.
| -rw-r--r-- | doc/emacs/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/emacs/cal-xtra.texi | 20 | ||||
| -rw-r--r-- | etc/NEWS | 4 |
3 files changed, 29 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 @@ | |||
| 1 | 2008-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 | |||
| 1 | 2008-08-08 Eli Zaretskii <eliz@gnu.org> | 7 | 2008-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 | ||
| 35 | display is unfortunately limited to three months (due to some | ||
| 36 | deep-rooted and widespread assumptions in the code), but you can | ||
| 37 | customize 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, | ||
| 41 | for example week numbers, customize the variables | ||
| 42 | @code{calendar-intermonth-header} and @code{calendar-intermonth-text} as | ||
| 43 | described 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 |
| 160 | from the end of the month. | 175 | from the end of the month. |
| 161 | 176 | ||
| 177 | @item (holiday-chinese @var{month} @var{day} @var{string}) | ||
| 178 | A 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}) |
| 163 | A fixed date on the Hebrew calendar. | 181 | A fixed date on the Hebrew calendar. |
| 164 | 182 | ||
| @@ -210,7 +228,7 @@ the month (1 specifies the first occurrence, 2 the second occurrence, | |||
| 210 | so on). | 228 | so 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, |
| 213 | Hebrew, Islamic, and Julian calendars too. For example, | 231 | Chinese, Hebrew, Islamic, and Julian calendars too. For example, |
| 214 | 232 | ||
| 215 | @smallexample | 233 | @smallexample |
| 216 | (setq other-holidays | 234 | (setq other-holidays |
| @@ -614,17 +614,21 @@ prefixes, eg `calendar-french-'. The old names you are likely to use | |||
| 614 | directly still exist, for the time being, as aliases, but please start | 614 | directly still exist, for the time being, as aliases, but please start |
| 615 | using the new names. | 615 | using the new names. |
| 616 | 616 | ||
| 617 | +++ | ||
| 617 | *** The whitespace in the calendar layout can be customized. | 618 | *** The whitespace in the calendar layout can be customized. |
| 618 | See the variables: | 619 | See the variables: |
| 619 | calendar-left-margin, calendar-intermonth-spacing, calendar-column-width, | 620 | calendar-left-margin, calendar-intermonth-spacing, calendar-column-width, |
| 620 | calendar-day-header-width, and calendar-day-digit-width. | 621 | calendar-day-header-width, and calendar-day-digit-width. |
| 621 | 622 | ||
| 623 | +++ | ||
| 622 | *** Text (e.g. ISO weeks) can be displayed between the calendar months. | 624 | *** Text (e.g. ISO weeks) can be displayed between the calendar months. |
| 623 | See the variables calendar-intermonth-header and calendar-intermonth-text. | 625 | See the variables calendar-intermonth-header and calendar-intermonth-text. |
| 624 | 626 | ||
| 627 | +++ | ||
| 625 | *** The function `holiday-chinese' computes holidays on the Chinese calendar. | 628 | *** The function `holiday-chinese' computes holidays on the Chinese calendar. |
| 626 | It has been used to add items to the list `holiday-oriental-holidays'. | 629 | It has been used to add items to the list `holiday-oriental-holidays'. |
| 627 | 630 | ||
| 631 | --- | ||
| 628 | *** `diary-remind' accepts a negative number -DAYS as a shorthand for | 632 | *** `diary-remind' accepts a negative number -DAYS as a shorthand for |
| 629 | the list (1 2 ... DAYS). | 633 | the list (1 2 ... DAYS). |
| 630 | 634 | ||