1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 21:50:37 -08:00
emacs/etc
Paul Eggert 93fe420942 New (TICKS . HZ) timestamp format
This follows on a suggestion by Stefan Monnier in:
https://lists.gnu.org/r/emacs-devel/2018-08/msg00991.html
(Bug#32902).
* doc/lispref/buffers.texi (Modification Time):
* doc/lispref/os.texi (Processor Run Time, Time Calculations)
* doc/lispref/processes.texi (System Processes):
* doc/lispref/text.texi (Undo):
Let the "Time of Day" section cover timestamp format details.
* doc/lispref/os.texi (Time of Day):
Say that timestamp internal format should not be assumed.
Document new (ticks . hz) format.  Omit mention of seconds-to-time
since it is now just an alias for encode-time.
(Time Conversion): Document encode-time extension.
* etc/NEWS: Mention changes.
* lisp/calendar/cal-dst.el (calendar-system-time-basis): Now const.
* lisp/calendar/cal-dst.el (calendar-absolute-from-time)
(calendar-time-from-absolute)
(calendar-next-time-zone-transition):
* lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
Simplify by using bignums, (TICKS . HZ), and new encode-time.
* lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
Simplify by using bignums and new encode-time.
* lisp/calendar/parse-time.el (parse-iso8601-time-string):
Handle DST more accurately, by using new encode-time.
* lisp/calendar/time-date.el (seconds-to-time):
* lisp/calendar/timeclock.el (timeclock-seconds-to-time):
Now just an alias for encode-time.
* lisp/calendar/time-date.el (days-to-time):
* lisp/emacs-lisp/timer.el (timer--time-setter):
* lisp/net/ntlm.el (ntlm-compute-timestamp):
* lisp/obsolete/vc-arch.el (vc-arch-add-tagline):
* lisp/org/org-id.el (org-id-uuid, org-id-time-to-b36):
* lisp/tar-mode (tar-octal-time):
Don't assume timestamps default to list form.
* lisp/tar-mode.el (tar-parse-octal-long-integer):
Now an obsolete alias for tar-parse-octal-integer.
* src/keyboard.c (decode_timer): Adjust to changes to
time decoding functions elsewhere.
* src/timefns.c: Include bignum.h, limits.h.
(FASTER_TIMEFNS): New macro.
(WARN_OBSOLETE_TIMESTAMPS, CURRENT_TIME_LIST)
(timespec_hz, trillion, ztrillion):
New constants.
(make_timeval): Use TIME_T_MAX instead of its definiens.
(check_time_validity, time_add, time_subtract):
Remove.  All uses removed.
(disassemble_lisp_time): Remove; old code now folded into
decode_lisp_time.  All callers changed.
(invalid_hz, s_ns_to_double, ticks_hz_list4, mpz_set_time)
(timespec_mpz, timespec_ticks, time_hz_ticks)
(lisp_time_hz_ticks, lisp_time_seconds)
(time_form_stamp, lisp_time_form_stamp, decode_ticks_hz)
(decode_lisp_time, mpz_time, list4_to_timespec):
New functions.
(decode_float_time, decode_time_components, lisp_to_timespec):
Adjust to new struct lisp_time, which does not lose
information like the old one did.
(enum timeform): New enum.
(decode_time_components): New arg FORM.  All callers changed.
RESULT and DRESULT are now mutually exclusive; no callers need
to change because of this.
(decode_time_components, lisp_time_struct)
(lisp_seconds_argument, time_arith, make_lisp_time, Ffloat_time)
(Fencode_time):
Add support for (TICKS . HZ) form.
(DECODE_SECS_ONLY): New constant.
(lisp_time_struct): 2nd arg is now enum timeform, not int.
All callers changed.
(check_tm_member): Support bignums.m
(Fencode_time): Add new two-arg functionality.
* src/systime.h (struct lisp_time): Now ticks+hz rather than
hi+lo+us+ps, since ticks+hz does not lose info.
* test/src/systime-tests.el (time-equal-p-nil-nil):
New test.
2018-10-06 23:31:04 -07:00
..
charsets Update copyright year to 2018 2018-01-01 00:57:59 -08:00
e Prefer straight quoting in some etc text files 2015-08-26 14:09:07 -07:00
forms Update copyright year to 2018 2018-01-01 00:57:59 -08:00
gnus
images Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
nxml Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
org Update Org to v9.1.9 2018-03-27 23:34:41 +02:00
refcards Fix ‘make clean’ with a file named ‘-.o’ 2018-09-24 10:45:07 -07:00
schema Update copyright year to 2018 2018-01-01 00:57:59 -08:00
srecode Update copyright year to 2018 2018-01-01 00:57:59 -08:00
themes Disable no-byte-compile in built-in themes 2018-07-13 11:28:16 -04:00
tutorials Fix copyright years by hand 2018-01-01 01:02:09 -08:00
AUTHORS * etc/AUTHORS: Update. 2018-05-25 17:19:29 +02:00
CALC-NEWS ; Fix doc typos related to indefinite articles 2018-02-16 17:33:57 -05:00
CENSORSHIP Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ChangeLog.1 Update copyright year to 2018 2018-01-01 00:57:59 -08:00
compilation.txt Update copyright year to 2018 2018-01-01 00:57:59 -08:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
DEBUG Merge from emacs-26 2018-06-10 18:43:49 -04:00
DEVEL.HUMOR Prefer straight quoting in some etc text files 2015-08-26 14:09:07 -07:00
DISTRIB Update copyright year to 2018 2018-01-01 00:57:59 -08:00
edt-user.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
emacs-buffer.gdb Bring emacs-buffer.gdb up to date with recent lisp.h changes. 2018-01-26 18:52:19 -08:00
emacs.appdata.xml * etc/emacs.appdata.xml: Update Emacs screenshot. 2018-06-06 20:55:33 +02:00
emacs.desktop * etc/emacs.desktop: Add "Keywords". 2014-10-30 21:10:19 -07:00
emacs.icon
emacs.service Notify systemd in daemon-initialized and kill-emacs (Bug#31498) 2018-07-25 21:07:03 -04:00
enriched.txt ; * etc/enriched.txt (hanging-indents): Remove extra indent. 2018-09-17 22:46:22 +03:00
ERC-NEWS Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ETAGS.EBNF ; Fix doc typos related to indefinite articles 2018-02-16 17:33:57 -05:00
ETAGS.README Update copyright year to 2018 2018-01-01 00:57:59 -08:00
FTP Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
future-bug
GNU Update copyright year to 2015 2015-01-01 09:18:06 -08:00
GNUS-NEWS Update copyright year to 2018 2018-01-01 00:57:59 -08:00
gnus-tut.txt Update copyright year to 2018 2018-01-01 00:57:59 -08:00
grep.txt Update copyright year to 2018 2018-01-01 00:57:59 -08:00
HELLO * etc/HELLO: Add a few more scripts. 2018-05-26 15:11:20 +03:00
HISTORY * etc/HISTORY: Cite Brinkoff on early history. 2018-07-01 08:25:46 -07:00
JOKES
LINUX-GNU Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
MACHINES Update copyright year to 2018 2018-01-01 00:57:59 -08:00
MH-E-NEWS Update copyright year to 2018 2018-01-01 00:57:59 -08:00
MORE.STUFF
NEWS New (TICKS . HZ) timestamp format 2018-10-06 23:31:04 -07:00
NEWS.1-17 * etc/NEWS.18: Use outline-mode and a more standard format 2018-09-28 15:54:15 -04:00
NEWS.18 * etc/NEWS.18: Use outline-mode and a more standard format 2018-09-28 15:54:15 -04:00
NEWS.19 Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
NEWS.20 Use “Cc” for email copies, as per RFC 5322. 2018-05-20 11:02:50 -07:00
NEWS.21 ; Fix doc typos related to indefinite articles 2018-02-16 17:33:57 -05:00
NEWS.22 ; Fix doc typos related to indefinite articles 2018-02-16 17:33:57 -05:00
NEWS.23 Update copyright year to 2018 2018-01-01 00:57:59 -08:00
NEWS.24 Update copyright year to 2018 2018-01-01 00:57:59 -08:00
NEWS.25 Update copyright year to 2018 2018-01-01 00:57:59 -08:00
NEWS.26 Merge from origin/emacs-26 2018-10-03 09:23:16 -07:00
NEXTSTEP Update copyright year to 2018 2018-01-01 00:57:59 -08:00
NXML-NEWS Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ORDERS Make etc/FTP and etc/ORDERS obsolete 2014-01-09 21:44:51 -05:00
ORG-NEWS Update Org to v9.1.9 2018-03-27 23:34:41 +02:00
package-keyring.gpg * etc/package-keyring.gpg: New file. 2014-09-24 10:28:27 -04:00
PROBLEMS Merge from origin/emacs-26 2018-09-15 09:20:32 -07:00
ps-prin0.ps Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ps-prin1.ps Update copyright year to 2018 2018-01-01 00:57:59 -08:00
publicsuffix.txt Update publicsuffix.txt. 2016-02-06 16:11:18 +11:00
README Update copyright year to 2018 2018-01-01 00:57:59 -08:00
rgb.txt
ses-example.ses Update copyright year to 2018 2018-01-01 00:57:59 -08:00
spook.lines
TERMS Update copyright year to 2018 2018-01-01 00:57:59 -08:00
THE-GNU-PROJECT Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
TODO Doc fixes re obsolete items 2018-03-13 13:49:05 -04:00
WHY-FREE Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
yow.lines Prefer straight quoting in some etc text files 2015-08-26 14:09:07 -07:00

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2018 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)