diff options
| author | Paul Eggert | 2012-10-23 00:57:42 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-10-23 00:57:42 -0700 |
| commit | c4132fd4f0afc4329479cf071752a7e6fa3462f2 (patch) | |
| tree | eb704d6ece41984fe98ce1fb6e41264f68dcc044 | |
| parent | 8740abe19ad7b713ff0986e089acd543cc5bb1cd (diff) | |
| download | emacs-c4132fd4f0afc4329479cf071752a7e6fa3462f2.tar.gz emacs-c4132fd4f0afc4329479cf071752a7e6fa3462f2.zip | |
Fix outdated timestamp documentation in Elisp manual.
* doc/lispref/files.texi (File Attributes):
* doc/lispref/text.texi (Undo):
Time stamp resolution is now 1 picosecond, not 1 second.
* etc/NEWS: Document increased precision in undo list.
Fixes: debbugs:12706
| -rw-r--r-- | doc/lispref/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 5 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 9 | ||||
| -rw-r--r-- | etc/ChangeLog | 5 | ||||
| -rw-r--r-- | etc/NEWS | 3 |
5 files changed, 22 insertions, 7 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 6bd0297252d..a767bbf1fce 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-10-23 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix outdated timestamp documentation in Elisp manual (bug#12706). | ||
| 4 | * files.texi (File Attributes): | ||
| 5 | * text.texi (Undo): | ||
| 6 | Time stamp resolution is now 1 picosecond, not 1 second. | ||
| 7 | |||
| 1 | 2012-10-23 Chong Yidong <cyd@gnu.org> | 8 | 2012-10-23 Chong Yidong <cyd@gnu.org> |
| 2 | 9 | ||
| 3 | * display.texi (Font Lookup): Remove font-list-limit. | 10 | * display.texi (Font Lookup): Remove font-list-limit. |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 9424a661236..285e6406426 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1220,9 +1220,8 @@ point number. | |||
| 1220 | The file's @acronym{GID}, likewise. | 1220 | The file's @acronym{GID}, likewise. |
| 1221 | 1221 | ||
| 1222 | @item | 1222 | @item |
| 1223 | The time of last access, as a list of two integers. | 1223 | The time of last access, as a list of four integers @code{(@var{sec-high} |
| 1224 | The first integer has the high-order 16 bits of time, | 1224 | @var{sec-low} @var{microsec} @var{picosec})}. (This is similar to the |
| 1225 | the second has the low 16 bits. (This is similar to the | ||
| 1226 | value of @code{current-time}; see @ref{Time of Day}.) Note that on | 1225 | value of @code{current-time}; see @ref{Time of Day}.) Note that on |
| 1227 | some FAT-based filesystems, only the date of last access is recorded, | 1226 | some FAT-based filesystems, only the date of last access is recorded, |
| 1228 | so this time will always hold the midnight of the day of last access. | 1227 | so this time will always hold the midnight of the day of last access. |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index a5910ea921b..50b97cd4204 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -1233,11 +1233,12 @@ reinsert it is @code{(abs @var{position})}. If @var{position} is | |||
| 1233 | positive, point was at the beginning of the deleted text, otherwise it | 1233 | positive, point was at the beginning of the deleted text, otherwise it |
| 1234 | was at the end. | 1234 | was at the end. |
| 1235 | 1235 | ||
| 1236 | @item (t @var{high} . @var{low}) | 1236 | @item (t @var{sec-high} @var{sec-low} @var{microsec} @var{picosec}) |
| 1237 | This kind of element indicates that an unmodified buffer became | 1237 | This kind of element indicates that an unmodified buffer became |
| 1238 | modified. The elements @var{high} and @var{low} are two integers, each | 1238 | modified. The list @code{(@var{sec-high} @var{sec-low} @var{microsec} |
| 1239 | recording 16 bits of the visited file's modification time as of when it | 1239 | @var{picosec})} represents the visited file's modification time as of |
| 1240 | was previously visited or saved. @code{primitive-undo} uses those | 1240 | when it was previously visited or saved, using the same format as |
| 1241 | @code{current-time}; see @ref{Time of Day}. @code{primitive-undo} uses those | ||
| 1241 | values to determine whether to mark the buffer as unmodified once again; | 1242 | values to determine whether to mark the buffer as unmodified once again; |
| 1242 | it does so only if the file's modification time matches those numbers. | 1243 | it does so only if the file's modification time matches those numbers. |
| 1243 | 1244 | ||
diff --git a/etc/ChangeLog b/etc/ChangeLog index 0df52d531d2..3ebe18b407f 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-10-23 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix outdated timestamp documentation in Elisp manual (bug#12706). | ||
| 4 | * NEWS: Document increased precision in undo list. | ||
| 5 | |||
| 1 | 2012-10-21 Glenn Morris <rgm@gnu.org> | 6 | 2012-10-21 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * images/icons/hicolor/32x32/apps/emacs22.png: | 8 | * images/icons/hicolor/32x32/apps/emacs22.png: |
| @@ -843,6 +843,9 @@ stamps are still accepted. | |||
| 843 | The PSECS slot is new, and uses picosecond resolution. It can be | 843 | The PSECS slot is new, and uses picosecond resolution. It can be |
| 844 | accessed via the new timer--psecs accessor. | 844 | accessed via the new timer--psecs accessor. |
| 845 | 845 | ||
| 846 | *** Last-modified time stamps in undo lists now are of the form | ||
| 847 | (t HI-SECS LO-SECS USECS PSECS) instead of (t HI-SECS . LO-SECS). | ||
| 848 | |||
| 846 | +++ | 849 | +++ |
| 847 | ** Floating point functions now always return special values like NaN, | 850 | ** Floating point functions now always return special values like NaN, |
| 848 | instead of signaling errors, if given invalid args, e.g. (log -1.0). | 851 | instead of signaling errors, if given invalid args, e.g. (log -1.0). |