Mercurial > emacs
comparison lispref/os.texi @ 90789:c0409ee15cee
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 670-674)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 209-210)
- Merge from emacs--devo--0
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-185
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 21 Mar 2007 13:33:07 +0000 |
parents | 95d0cdf160ea 688108e29e1b |
children | 4ef881a120fe |
comparison
equal
deleted
inserted
replaced
90788:a12805fdabe8 | 90789:c0409ee15cee |
---|---|
1040 | 1040 |
1041 The value has the form @code{(@var{offset} @var{name})}. Here | 1041 The value has the form @code{(@var{offset} @var{name})}. Here |
1042 @var{offset} is an integer giving the number of seconds ahead of UTC | 1042 @var{offset} is an integer giving the number of seconds ahead of UTC |
1043 (east of Greenwich). A negative value means west of Greenwich. The | 1043 (east of Greenwich). A negative value means west of Greenwich. The |
1044 second element, @var{name}, is a string giving the name of the time | 1044 second element, @var{name}, is a string giving the name of the time |
1045 zone. Both elements change when daylight savings time begins or ends; | 1045 zone. Both elements change when daylight saving time begins or ends; |
1046 if the user has specified a time zone that does not use a seasonal time | 1046 if the user has specified a time zone that does not use a seasonal time |
1047 adjustment, then the value is constant through time. | 1047 adjustment, then the value is constant through time. |
1048 | 1048 |
1049 If the operating system doesn't supply all the information necessary to | 1049 If the operating system doesn't supply all the information necessary to |
1050 compute the value, the unknown elements of the list are @code{nil}. | 1050 compute the value, the unknown elements of the list are @code{nil}. |
1123 The year, an integer typically greater than 1900. | 1123 The year, an integer typically greater than 1900. |
1124 @item dow | 1124 @item dow |
1125 The day of week, as an integer between 0 and 6, where 0 stands for | 1125 The day of week, as an integer between 0 and 6, where 0 stands for |
1126 Sunday. | 1126 Sunday. |
1127 @item dst | 1127 @item dst |
1128 @code{t} if daylight savings time is effect, otherwise @code{nil}. | 1128 @code{t} if daylight saving time is effect, otherwise @code{nil}. |
1129 @item zone | 1129 @item zone |
1130 An integer indicating the time zone, as the number of seconds east of | 1130 An integer indicating the time zone, as the number of seconds east of |
1131 Greenwich. | 1131 Greenwich. |
1132 @end table | 1132 @end table |
1133 | 1133 |
1143 Year numbers less than 100 are not treated specially. If you want them | 1143 Year numbers less than 100 are not treated specially. If you want them |
1144 to stand for years above 1900, or years above 2000, you must alter them | 1144 to stand for years above 1900, or years above 2000, you must alter them |
1145 yourself before you call @code{encode-time}. | 1145 yourself before you call @code{encode-time}. |
1146 | 1146 |
1147 The optional argument @var{zone} defaults to the current time zone and | 1147 The optional argument @var{zone} defaults to the current time zone and |
1148 its daylight savings time rules. If specified, it can be either a list | 1148 its daylight saving time rules. If specified, it can be either a list |
1149 (as you would get from @code{current-time-zone}), a string as in the | 1149 (as you would get from @code{current-time-zone}), a string as in the |
1150 @code{TZ} environment variable, @code{t} for Universal Time, or an | 1150 @code{TZ} environment variable, @code{t} for Universal Time, or an |
1151 integer (as you would get from @code{decode-time}). The specified | 1151 integer (as you would get from @code{decode-time}). The specified |
1152 zone is used without any further alteration for daylight savings time. | 1152 zone is used without any further alteration for daylight saving time. |
1153 | 1153 |
1154 If you pass more than seven arguments to @code{encode-time}, the first | 1154 If you pass more than seven arguments to @code{encode-time}, the first |
1155 six are used as @var{seconds} through @var{year}, the last argument is | 1155 six are used as @var{seconds} through @var{year}, the last argument is |
1156 used as @var{zone}, and the arguments in between are ignored. This | 1156 used as @var{zone}, and the arguments in between are ignored. This |
1157 feature makes it possible to use the elements of a list returned by | 1157 feature makes it possible to use the elements of a list returned by |
1695 | 1695 |
1696 @node Recording Input | 1696 @node Recording Input |
1697 @subsection Recording Input | 1697 @subsection Recording Input |
1698 | 1698 |
1699 @defun recent-keys | 1699 @defun recent-keys |
1700 This function returns a vector containing the last 100 input events from | 1700 This function returns a vector containing the last 300 input events from |
1701 the keyboard or mouse. All input events are included, whether or not | 1701 the keyboard or mouse. All input events are included, whether or not |
1702 they were used as parts of key sequences. Thus, you always get the last | 1702 they were used as parts of key sequences. Thus, you always get the last |
1703 100 input events, not counting events generated by keyboard macros. | 1703 100 input events, not counting events generated by keyboard macros. |
1704 (These are excluded because they are less interesting for debugging; it | 1704 (These are excluded because they are less interesting for debugging; it |
1705 should be enough to see the events that invoked the macros.) | 1705 should be enough to see the events that invoked the macros.) |