1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

217 Commits

Author SHA1 Message Date
Glenn Morris
b149ecd8aa # Auto-commit of loaddefs files. 2015-03-02 13:18:43 -05:00
Paul Eggert
241260cc28 Revert changes installed by xwidgets merge 2015-02-01 11:45:15 -08:00
Glenn Morris
e8e483a974 # Auto-commit of loaddefs files. 2015-02-01 06:24:33 -05:00
Glenn Morris
17263d5184 Auto-commit of loaddefs files. 2015-01-01 06:17:46 -05:00
Dmitry Gutov
8dba53d239 Regenerate ldefs-boot.el 2014-12-25 22:19:29 +02:00
Glenn Morris
857f7dff81 Auto-commit of loaddefs files. 2014-12-01 13:36:14 -05:00
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
Glenn Morris
d87931d249 Auto-commit of loaddefs files. 2014-11-01 06:18:11 -04:00
Glenn Morris
8a8c62a169 Auto-commit of loaddefs files. 2014-10-01 06:20:05 -04:00
Paul Eggert
0f2ed59206 Spelling fixes.
* lisp/ses.el (ses-file-format-extend-parameter-list): Rename from
ses-file-format-extend-paramter-list.  All uses changed.
* lisp/gnus-cloud.el (gnus-cloud-parse-version-1): Fix misspelling
of ":delete".
2014-09-11 12:44:25 -07:00
Glenn Morris
acb6f20c3a Auto-commit of loaddefs files. 2014-09-01 06:21:26 -04:00
Glenn Morris
4844e0422f Auto-commit of loaddefs files. 2014-08-01 06:21:35 -04:00
Glenn Morris
a519335cc3 Auto-commit of loaddefs files. 2014-07-01 06:18:16 -04:00
Glenn Morris
ec0f0d2c4b Auto-commit of loaddefs files. 2014-06-01 06:22:49 -04:00
Glenn Morris
3e597f343e Auto-commit of loaddefs files. 2014-05-01 06:21:17 -04:00
Glenn Morris
a7ab7bc038 Auto-commit of loaddefs files. 2014-04-01 06:17:57 -04:00
Glenn Morris
504d5d5fad Auto-commit of loaddefs files. 2014-03-01 06:19:34 -05:00
Glenn Morris
2f31004a73 Auto-commit of loaddefs files. 2014-02-01 06:17:37 -05:00
Glenn Morris
9cadbf5a93 Auto-commit of loaddefs files. 2013-12-27 19:00:54 -05:00
Glenn Morris
5afca621fb Auto-commit of loaddefs files. 2013-12-01 06:22:43 -05:00
Glenn Morris
82bd64d838 Auto-commit of loaddefs files. 2013-11-01 06:21:34 -04:00
Glenn Morris
08518d4106 Auto-commit of loaddefs files. 2013-10-01 06:17:41 -04:00
Glenn Morris
a30edef8a9 Auto-commit of loaddefs files. 2013-09-01 06:25:27 -04:00
Glenn Morris
f90ac82148 Auto-commit of loaddefs files. 2013-07-01 06:20:51 -04:00
Glenn Morris
ad54ee69ba Auto-commit of loaddefs files. 2013-06-01 06:17:59 -04:00
Glenn Morris
9d02d82f21 Auto-commit of loaddefs files. 2013-05-01 06:17:34 -04:00
Glenn Morris
925d7ec008 Auto-commit of loaddefs files. 2013-04-01 06:21:03 -04:00
Glenn Morris
a4837536e2 Auto-commit of loaddefs files. 2013-03-01 06:17:35 -05:00
Glenn Morris
7f12eefa77 Auto-commit of loaddefs files. 2013-02-01 06:21:12 -05:00
Glenn Morris
a616be859b Auto-commit of loaddefs files. 2013-01-01 06:17:46 -05:00
Glenn Morris
a4b0cca119 Merge from emacs-24; up to 2012-12-01T13:25:13Z!cyd@gnu.org 2012-12-21 11:32:43 -08:00
Bastien Guerry
acc650b806 Fix typos. 2012-12-20 09:18:23 +01:00
Chong Yidong
c0c3924918 Bump version to 24.2.91.
Regenerate ldefs-boot.el and AUTHORS.
2012-12-15 22:16:02 +08:00
Chong Yidong
ce3e7725b4 Obsolete terminal.el.
* terminal.el: Move to obsolete/.
2012-12-04 11:04:31 +08:00
Glenn Morris
b9cf4db5c9 Auto-commit of loaddefs files. 2012-12-01 07:17:48 -05:00
Glenn Morris
ae067123d3 Auto-commit of loaddefs files. 2012-12-01 06:20:45 -05:00
Chong Yidong
ea0d348b1c Bump version to 24.2.90.
Regenerate AUTHORS and ldefs-boot.el.
2012-11-24 23:31:31 +08:00
Glenn Morris
7a8d34f74e Auto-commit of loaddefs files. 2012-11-01 06:19:27 -04:00
Stefan Monnier
57e5e467de * lisp/ldefs-boot.el: Update to reflect earlier fix in autoload.el 2012-10-12 15:08:23 -04:00
Glenn Morris
7692b36bc6 Auto-commit of loaddefs files. 2012-10-01 06:21:00 -04:00
Glenn Morris
25eac50084 Auto-commit of loaddefs files. 2012-09-01 06:20:47 -04:00
Glenn Morris
2a1e24765b Replace version 24.2 with 24.3 where appropriate (hopefully) 2012-08-15 09:29:11 -07:00
Glenn Morris
069bac5e5b Auto-commit of loaddefs files. 2012-08-01 06:20:52 -04:00
Glenn Morris
7c603e3ed3 Auto-commit of loaddefs files. 2012-07-01 06:23:35 -04:00
Stefan Monnier
36cec983d4 Further GV/CL cleanups.
* lisp/emacs-lisp/gv.el (gv-get): Autoload functions to find their
gv-expander.
(gv--defun-declaration): New function.
(defun-declarations-alist): Use it.
(gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
(gv-place): Autoload.
* lisp/emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
original definition of dotimes and dolist.
* lisp/emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
(cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
* lisp/emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
(cl-fifth, cl-sixth, cl-seventh, cl-eighth)
(cl-ninth, cl-tenth): Move gv handler to the function's definition.
* lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
to the function's definition.
* lisp/Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
* lisp/window.el:
* lisp/files.el:
* lisp/faces.el:
* lisp/env.el: Don't use CL.
2012-06-22 17:24:54 -04:00
Stefan Monnier
2ee3d7f0aa Provide generalized variables in core Elisp.
* lisp/emacs-lisp/gv.el: New file.
* lisp/subr.el (push, pop): Extend to generalized variables.
* lisp/loadup.el (macroexp): Unload if preloaded and uncompiled.
* lisp/emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
* lisp/emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
gv-define-simple-setter, and gv-define-expander.
Remove setf-methods defined in gv.  Rename cl-setf -> setf.
(cl-setf, cl-do-pop, cl-get-setf-method): Remove.
(cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
(cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
(cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
gv-letplace.
(cl-defstruct): Don't define setf-method any more.
* lisp/emacs-lisp/cl.el (flet): Don't autoload.
(cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
(define-setf-expander, defsetf, define-modify-macro)
(cl-struct-setf-expander): Move from cl-lib.el.
* lisp/emacs-lisp/syntax.el:
* lisp/emacs-lisp/ewoc.el:
* lisp/emacs-lisp/smie.el:
* lisp/emacs-lisp/cconv.el:
* lisp/emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
(timer--time): Use gv-define-simple-setter.
* lisp/emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
to avoid coding-system problems in subr.el.  Adjust all users.
(macroexp--maxsize, macroexp-small-p): New functions.
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
* lisp/scroll-bar.el (scroll-bar-mode):
* lisp/simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
(normal-erase-is-backspace-mode): Don't use the `eq' place.
* lisp/winner.el (winner-configuration, winner-make-point-alist)
(winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
* lisp/files.el (locate-file-completion-table): Avoid list*.

Fixes: debbugs:11657
2012-06-22 09:42:38 -04:00
Glenn Morris
4e8fa7d308 Auto-commit of loaddefs files. 2012-06-01 06:18:34 -04:00
Stefan Monnier
5a1ae34e60 Refresh ldefs-boot. 2012-05-17 21:48:05 -04:00
Glenn Morris
eb0ae1d143 Auto-commit of loaddefs files. 2012-05-01 06:20:43 -04:00
Chong Yidong
319bc402c8 Bump version to 24.0.95.
Regenerate AUTHORS and ldefs-boot.el.
2012-04-02 12:38:31 +08:00