diff options
| author | Glenn Morris | 2008-03-29 23:40:00 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-03-29 23:40:00 +0000 |
| commit | 571388b02026551a759725f142cd2291683db027 (patch) | |
| tree | 9dd8bddd9969b99c2da093ce438e81a47b6ff475 /doc | |
| parent | b54eb5847e204a1f7a3014cbbbdaa9687a0cc984 (diff) | |
| download | emacs-571388b02026551a759725f142cd2291683db027.tar.gz emacs-571388b02026551a759725f142cd2291683db027.zip | |
Update for `calendar-date-style' replacing `european-calendar'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/calendar.texi | 37 |
2 files changed, 22 insertions, 20 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 05c9b1cf608..9fa2b666455 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-03-29 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * calendar.texi: Update for `calendar-date-style' replacing | ||
| 4 | `european-calendar'. | ||
| 5 | |||
| 1 | 2008-03-28 Chong Yidong <cyd@stupidchicken.com> | 6 | 2008-03-28 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * mark.texi (Mark): Rearrange nodes. | 8 | * mark.texi (Mark): Rearrange nodes. |
diff --git a/doc/emacs/calendar.texi b/doc/emacs/calendar.texi index cfa7d2e28a6..208a5ca6acf 100644 --- a/doc/emacs/calendar.texi +++ b/doc/emacs/calendar.texi | |||
| @@ -1196,7 +1196,7 @@ the entire file with @kbd{s} (@code{diary-show-all-entries}). | |||
| 1196 | Here are some sample diary entries, illustrating different ways of | 1196 | Here are some sample diary entries, illustrating different ways of |
| 1197 | formatting a date. The examples all show dates in American order | 1197 | formatting a date. The examples all show dates in American order |
| 1198 | (month, day, year), but Calendar mode supports European order (day, | 1198 | (month, day, year), but Calendar mode supports European order (day, |
| 1199 | month, year) as an option. | 1199 | month, year) and ISO order (year, month, day) as options. |
| 1200 | 1200 | ||
| 1201 | @example | 1201 | @example |
| 1202 | 4/20/93 Switch-over to new tabulation system | 1202 | 4/20/93 Switch-over to new tabulation system |
| @@ -1234,18 +1234,14 @@ this matches any month, day, or year, respectively. Thus, a diary entry | |||
| 1234 | @samp{3/*/*} matches any day in March of any year; so does @samp{march | 1234 | @samp{3/*/*} matches any day in March of any year; so does @samp{march |
| 1235 | *}. | 1235 | *}. |
| 1236 | 1236 | ||
| 1237 | @vindex european-calendar-style | 1237 | @vindex calendar-date-style |
| 1238 | @findex european-calendar | 1238 | @findex calendar-set-date-style |
| 1239 | @findex american-calendar | 1239 | If you prefer the European style of writing dates (in which the day |
| 1240 | If you prefer the European style of writing dates---in which the day | 1240 | comes before the month), or the ISO style (in which the order is year, |
| 1241 | comes before the month---type @kbd{M-x european-calendar} while in the | 1241 | month, day), type @kbd{M-x calendar-set-date-style} while in the |
| 1242 | calendar, or set the variable @code{european-calendar-style} to @code{t} | 1242 | calendar, or customize the variable @code{calendar-date-style}. This |
| 1243 | with @kbd{M-x customize}, or @emph{before} using any calendar or diary | 1243 | affects how diary dates are interpreted, date display, and the order in |
| 1244 | command. This mode interprets all dates in the diary in the European | 1244 | which some commands expect their arguments to be given. |
| 1245 | manner, and also uses European style for displaying diary dates. (Note | ||
| 1246 | that there is no comma after the @var{monthname} in the European style.) | ||
| 1247 | To go back to the (default) American style of writing dates, type | ||
| 1248 | @kbd{M-x american-calendar}. | ||
| 1249 | 1245 | ||
| 1250 | You can use the name of a day of the week as a generic date which | 1246 | You can use the name of a day of the week as a generic date which |
| 1251 | applies to any date falling on that day of the week. You can abbreviate | 1247 | applies to any date falling on that day of the week. You can abbreviate |
| @@ -1341,10 +1337,10 @@ entry. The entry looks like this: | |||
| 1341 | 1337 | ||
| 1342 | @noindent | 1338 | @noindent |
| 1343 | This entry applies to October 31 in any year after 1948; @samp{10 31 | 1339 | This entry applies to October 31 in any year after 1948; @samp{10 31 |
| 1344 | 1948} specifies the date. (If you are using the European calendar | 1340 | 1948} specifies the date. (If you are using the European or ISO |
| 1345 | style, the month and day are interchanged.) The reason this expression | 1341 | calendar style, the input order of month, day and year is different.) |
| 1346 | requires a beginning year is that advanced diary functions can use it to | 1342 | The reason this expression requires a beginning year is that advanced |
| 1347 | calculate the number of elapsed years. | 1343 | diary functions can use it to calculate the number of elapsed years. |
| 1348 | 1344 | ||
| 1349 | A @dfn{block} diary entry applies to a specified range of consecutive | 1345 | A @dfn{block} diary entry applies to a specified range of consecutive |
| 1350 | dates. Here is a block diary entry that applies to all dates from June | 1346 | dates. Here is a block diary entry that applies to all dates from June |
| @@ -1357,8 +1353,8 @@ dates. Here is a block diary entry that applies to all dates from June | |||
| 1357 | 1353 | ||
| 1358 | @noindent | 1354 | @noindent |
| 1359 | The @samp{6 24 1990} indicates the starting date and the @samp{7 10 1990} | 1355 | The @samp{6 24 1990} indicates the starting date and the @samp{7 10 1990} |
| 1360 | indicates the stopping date. (Again, if you are using the European calendar | 1356 | indicates the stopping date. (Again, if you are using the European or ISO |
| 1361 | style, the month and day are interchanged.) | 1357 | calendar style, the input order of month, day and year is different.) |
| 1362 | 1358 | ||
| 1363 | @kindex i b @r{(Calendar mode)} | 1359 | @kindex i b @r{(Calendar mode)} |
| 1364 | @findex insert-block-diary-entry | 1360 | @findex insert-block-diary-entry |
| @@ -1382,7 +1378,8 @@ which looks like this: | |||
| 1382 | @noindent | 1378 | @noindent |
| 1383 | This entry applies to March 1, 1990 and every 50th day following; | 1379 | This entry applies to March 1, 1990 and every 50th day following; |
| 1384 | @samp{3 1 1990} specifies the starting date. (If you are using the | 1380 | @samp{3 1 1990} specifies the starting date. (If you are using the |
| 1385 | European calendar style, the month and day are interchanged.) | 1381 | European or ISO calendar style, the input order of month, day and year |
| 1382 | is different.) | ||
| 1386 | 1383 | ||
| 1387 | All three of these commands make marking diary entries. To insert a | 1384 | All three of these commands make marking diary entries. To insert a |
| 1388 | nonmarking entry, give a numeric argument to the command. For example, | 1385 | nonmarking entry, give a numeric argument to the command. For example, |