aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2008-03-29 23:40:00 +0000
committerGlenn Morris2008-03-29 23:40:00 +0000
commit571388b02026551a759725f142cd2291683db027 (patch)
tree9dd8bddd9969b99c2da093ce438e81a47b6ff475 /doc
parentb54eb5847e204a1f7a3014cbbbdaa9687a0cc984 (diff)
downloademacs-571388b02026551a759725f142cd2291683db027.tar.gz
emacs-571388b02026551a759725f142cd2291683db027.zip
Update for `calendar-date-style' replacing `european-calendar'.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/calendar.texi37
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 @@
12008-03-29 Glenn Morris <rgm@gnu.org>
2
3 * calendar.texi: Update for `calendar-date-style' replacing
4 `european-calendar'.
5
12008-03-28 Chong Yidong <cyd@stupidchicken.com> 62008-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
1197formatting a date. The examples all show dates in American order 1197formatting 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,
1199month, year) as an option. 1199month, year) and ISO order (year, month, day) as options.
1200 1200
1201@example 1201@example
12024/20/93 Switch-over to new tabulation system 12024/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 1240comes before the month), or the ISO style (in which the order is year,
1241comes before the month---type @kbd{M-x european-calendar} while in the 1241month, day), type @kbd{M-x calendar-set-date-style} while in the
1242calendar, or set the variable @code{european-calendar-style} to @code{t} 1242calendar, or customize the variable @code{calendar-date-style}. This
1243with @kbd{M-x customize}, or @emph{before} using any calendar or diary 1243affects how diary dates are interpreted, date display, and the order in
1244command. This mode interprets all dates in the diary in the European 1244which some commands expect their arguments to be given.
1245manner, and also uses European style for displaying diary dates. (Note
1246that there is no comma after the @var{monthname} in the European style.)
1247To 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
1251applies to any date falling on that day of the week. You can abbreviate 1247applies 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
1343This entry applies to October 31 in any year after 1948; @samp{10 31 1339This entry applies to October 31 in any year after 1948; @samp{10 31
13441948} specifies the date. (If you are using the European calendar 13401948} specifies the date. (If you are using the European or ISO
1345style, the month and day are interchanged.) The reason this expression 1341calendar style, the input order of month, day and year is different.)
1346requires a beginning year is that advanced diary functions can use it to 1342The reason this expression requires a beginning year is that advanced
1347calculate the number of elapsed years. 1343diary 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
1350dates. Here is a block diary entry that applies to all dates from June 1346dates. 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
1359The @samp{6 24 1990} indicates the starting date and the @samp{7 10 1990} 1355The @samp{6 24 1990} indicates the starting date and the @samp{7 10 1990}
1360indicates the stopping date. (Again, if you are using the European calendar 1356indicates the stopping date. (Again, if you are using the European or ISO
1361style, the month and day are interchanged.) 1357calendar 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
1383This entry applies to March 1, 1990 and every 50th day following; 1379This 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
1385European calendar style, the month and day are interchanged.) 1381European or ISO calendar style, the input order of month, day and year
1382is 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
1388nonmarking entry, give a numeric argument to the command. For example, 1385nonmarking entry, give a numeric argument to the command. For example,