1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 19:31:02 -08:00
emacs/etc
Paul Eggert 0921dbc3ab Improve time stamp handling, and be more consistent about it.
This implements a suggestion made in:
http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
Among other things, this means timer.el no longer needs to
autoload the time-date module.
* doc/lispref/os.texi (Time of Day, Time Conversion, Time Parsing)
(Processor Run Time, Time Calculations):
Document the new behavior, plus be clearer about the old behavior.
(Idle Timers): Take advantage of new functionality.
* etc/NEWS: Document the changes.
* lisp/allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
* lisp/arc-mode.el (archive-ar-summarize):
* lisp/calendar/time-date.el (seconds-to-time, days-to-time, time-since):
* lisp/emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
(run-at-time, with-timeout-suspend, with-timeout-unsuspend):
* lisp/net/tramp.el (tramp-time-less-p, tramp-time-subtract):
* lisp/proced.el (proced-time-lessp):
* lisp/timezone.el (timezone-time-from-absolute):
* lisp/type-break.el (type-break-schedule, type-break-time-sum):
Simplify by using new functionality.
* lisp/calendar/cal-dst.el (calendar-next-time-zone-transition):
Do not return time values in obsolete and undocumented (HI . LO)
format; use (HI LO) instead.
* lisp/calendar/time-date.el (with-decoded-time-value):
Treat 'nil' as current time.  This is mostly for XEmacs.
(encode-time-value, with-decoded-time-value): Obsolete.
(time-add, time-subtract, time-less-p): Use no-op autoloads, for
XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
* lisp/ldefs-boot.el: Update to match new time-date.el
* lisp/proced.el: Do not require time-date.
* src/editfns.c (invalid_time): New function.
Use it instead of 'error ("Invalid time specification")'.
(time_add, time_subtract, time_arith, Ftime_add, Ftime_less_p)
(decode_float_time, lisp_to_timespec, lisp_time_struct):
New functions.
(make_time_tail, make_time): Remove.  All uses changed to use
new functions or plain list4i.
(disassemble_lisp_time): Return effective length if successful.
Check that LOW is an integer, if it's combined with other components.
(decode_time_components): Decode into struct lisp_time, not
struct timespec, so that we can support a wide set of times
regardless of whether time_t is signed.  Decode plain numbers
as seconds since the Epoch, and nil as the current time.
(lisp_time_argument, lisp_seconds_argument, Ffloat_time):
Reimplement in terms of new functions.
(Fencode_time): Just use list2i.
(syms_of_editfns): Add time-add, time-subtract, time-less-p.
* src/keyboard.c (decode_timer): Don't allow the new formats (floating
point or nil) in timers.
* src/systime.h (LO_TIME_BITS): New constant.  Use it everywhere in
place of the magic number '16'.
(struct lisp_time): New type.
(decode_time_components): Use it.
(lisp_to_timespec): New decl.
2014-11-16 20:41:22 -08:00
..
charsets etc/charsets/README: Delete a stray quote character. 2014-09-27 12:36:08 +03:00
e Spelling fixes. 2011-11-26 20:43:11 -08:00
forms Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
gnus Spelling fixes. 2011-11-19 18:29:42 -08:00
images Newsticker: Show feedicons in treeview. Small fix in opml export. 2014-10-19 18:50:15 +02:00
nxml Nuke arch-tags. 2011-01-15 15:16:57 -08:00
org Sync with Org 8.2.8. 2014-10-03 10:13:51 +02:00
refcards Stop keeping etc/refcards/emacsver.tex in the repository 2014-11-09 16:57:01 -08:00
schema Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
srecode Update from CEDET trunk. 2014-11-10 01:04:30 +01:00
themes Merge from emacs-24 2014-09-30 19:19:31 -04:00
tutorials Fix etc/tutorials/TUTORIAL.he, again. 2014-10-14 20:59:39 +03:00
.gitignore Use just DOC instead of DOC-nn.mm. 2013-05-15 16:12:53 -04:00
AUTHORS Bump version to 24.4 2014-10-16 21:56:41 -07:00
CALC-NEWS Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
CENSORSHIP Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
ChangeLog Improve time stamp handling, and be more consistent about it. 2014-11-16 20:41:22 -08:00
compilation.txt Support Guile backtraces in compilation mode. 2014-08-13 21:17:21 +02:00
CONTRIBUTE Fix minor Bazaar leftovers. 2014-11-13 09:17:19 -08:00
COPYING Change to GPLv3. 2007-07-25 07:00:38 +00:00
DEBUG etc/DEBUG: Improve instructions for debugging infinite loops. 2014-10-22 18:19:44 +03:00
DEVEL.HUMOR PS: I re-read the manual of bzr to make sure I don't break anything. 2013-08-02 16:26:22 +02:00
DISTRIB Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
edt-user.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
emacs-buffer.gdb Remove DATA_SEG_BITS. 2014-04-16 08:16:35 -07:00
emacs.appdata.xml * etc/emacs.appdata.xml: New file 2014-08-27 18:53:26 -07:00
emacs.desktop * etc/emacs.desktop: Add "Keywords". 2014-10-30 21:10:19 -07:00
emacs.icon
enriched.txt Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
ERC-NEWS Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
ETAGS.EBNF Specify coding if Latin-1 Emacs would misinterpret. 2014-05-24 15:23:47 -07:00
ETAGS.README Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
FTP Make etc/FTP and etc/ORDERS obsolete 2014-01-09 21:44:51 -05:00
future-bug Rename configure.in to configure.ac. 2012-07-08 21:52:49 -07:00
GNU Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
GNUS-NEWS Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
gnus-tut.txt Misc bugfixes made in Gnus master 2014-01-31 01:56:00 +00:00
grep.txt Misc small fixes. 2014-01-31 11:41:54 +02:00
HELLO Remove unneeded directional marks from etc/HELLO. 2014-10-13 15:36:00 +03:00
JOKES Spelling fixes. 2011-11-14 12:23:26 -08:00
LINUX-GNU Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
MACHINES * etc/MACHINES: Misc small edits. 2014-05-06 09:02:45 -07:00
MH-E-NEWS Merge from emacs-24; up to 2014-07-12T04:06:32Z!dmantipov@yandex.ru. 2014-09-29 22:06:42 -07:00
MORE.STUFF * etc/MORE.STUFF: Replace contents with pointer to efaq.info. 2014-01-09 14:14:28 -05:00
NEWS Improve time stamp handling, and be more consistent about it. 2014-11-16 20:41:22 -08:00
NEWS.1-17 Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
NEWS.18 Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
NEWS.19 Misc accumulated ChangeLog convention fixes 2014-08-28 18:18:39 -04:00
NEWS.20 Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
NEWS.21 * etc/NEWS.21: lesstif.org domain is defunct, use sourceforge site. 2014-01-23 23:43:34 -08:00
NEWS.22 Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
NEWS.23 Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
NEWS.24 Merge from emacs-24; up to 2014-08-07T11:49:36Z!rrt@sc3d.org 2014-11-03 16:49:37 -05:00
NEXTSTEP Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
NXML-NEWS * etc/NXML-NEWS: Add standard copyright and license notice. 2014-10-14 09:09:09 -07:00
ORDERS Make etc/FTP and etc/ORDERS obsolete 2014-01-09 21:44:51 -05:00
ORG-NEWS Specify coding if Latin-1 Emacs would misinterpret. 2014-05-24 15:23:47 -07:00
package-keyring.gpg * etc/package-keyring.gpg: New file. 2014-09-24 10:28:27 -04:00
PROBLEMS Remove support for DJGPP < 2.02 2014-08-09 17:12:33 +01:00
ps-prin0.ps Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
ps-prin1.ps Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
publicsuffix.txt * etc/publicsuffix.txt: Update from source. 2014-06-26 20:33:00 -04:00
README Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
rgb.txt
ses-example.ses Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
spook.lines * etc/spook.lines: Minor commentary update 2013-08-28 21:05:19 -04:00
TERMS Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
THE-GNU-PROJECT Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
TODO * TODO: Remove char/unsigned char, long long, IRIX unexelf.c. 2014-09-29 22:49:54 -07:00
WHY-FREE Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
yow.lines

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.

`forms-d2.dat' is an example data file used by forms-d2.el.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

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