aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Doc clarification for call-interactivelyLars Ingebrigtsen2019-08-171-2/+3
| | | | | | | | | | | | | | | * src/callint.c (Fcall_interactively): Be explicit about what we mean by "inquire" in the doc string (bug#15653).
* | | Port test harness to Solaris 10Paul Eggert2019-08-171-2/+2
| | | | | | | | | | | | | | | * test/Makefile.in (ELFILES): Port to Solaris 10, where ‘find’ does not support ‘-path’.
* | | Update from GnulibPaul Eggert2019-08-171-23/+34
| | | | | | | | | | | | | | | | | | | | | This incorporates: 2019-08-17 intprops: port to Oracle Developer Studio 12.6 2019-08-14 intprops: support uchar, ushort _WRAPV dests * lib/intprops.h: Copy from Gnulib.
* | | Improve support of the ancient Egyptian scriptEli Zaretskii2019-08-171-2/+4
| | | | | | | | | | | | | | | * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Add Egyptian. (Bug#15420)
* | | Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2019-08-1715-310/+343
|\ \ \
| * | | Have time-add etc. respect CURRENT_TIME_LIST tooPaul Eggert2019-08-171-3/+6
| | | | | | | | | | | | | | | | | | | | * src/timefns.c (time_arith) [!CURRENT_TIME_LIST]: Don’t generate a list, since CURRENT_TIME_LIST is false.
| * | | More-compatible subsecond calendrical timestampsPaul Eggert2019-08-1615-307/+337
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of appending a subseconds member to the result of ‘decode-time’, this keeps the format unchanged unless you give a new optional argument to ‘decode-time’. Also, the augmented format now puts the subsecond info in the SECONDS element, so the total number of elements is unchanged; this is more compatible with code that expects the traditional 9 elements, such as ‘(pcase decoded-time (`(,SEC ,MIN ,HOUR ,DAY ,MON ,YEAR ,DOW ,DST ,ZONE) ...) ...)’. * doc/lispref/os.texi, doc/misc/emacs-mime.texi, etc/NEWS: * lisp/net/soap-client.el (soap-decode-date-time): * lisp/simple.el (decoded-time): Document the new behavior. * lisp/calendar/icalendar.el (icalendar--decode-isodatetime): * lisp/calendar/iso8601.el (iso8601-parse) (iso8601-parse-time, iso8601-parse-duration) (iso8601--decoded-time): * lisp/calendar/parse-time.el (parse-time-string): * lisp/calendar/time-date.el (decoded-time-add) (decoded-time--alter-second): * lisp/org/org.el (org-parse-time-string): * lisp/simple.el (decoded-time): * src/timefns.c (Fdecode_time, Fencode_time): * test/lisp/calendar/icalendar-tests.el: (icalendar--decode-isodatetime): * test/lisp/calendar/iso8601-tests.el (test-iso8601-date-years) (test-iso8601-date-dates, test-iso8601-date-obsolete) (test-iso8601-date-weeks, test-iso8601-date-ordinals) (test-iso8601-time, test-iso8601-combined) (test-iso8601-duration, test-iso8601-intervals) (standard-test-dates, standard-test-time-of-day-fractions) (standard-test-time-of-day-beginning-of-day) (standard-test-time-of-day-utc) (standard-test-time-of-day-zone) (standard-test-date-and-time-of-day, standard-test-interval): * test/lisp/calendar/parse-time-tests.el (parse-time-tests): * test/src/timefns-tests.el (format-time-string-with-zone) (encode-time-dst-numeric-zone): Revert recent changes that added a SUBSECS member to calendrical timestamps, since that component is no longer present (the info, if any, is now in the SECONDS member). * lisp/calendar/time-date.el (decoded-time-add) (decoded-time--alter-second): Support fractional seconds in the new form. Simplify. * src/timefns.c (Fdecode_time): Support new arg FORM. (Fencode_time): Support subsecond resolution. * test/src/timefns-tests.el (format-time-string-with-zone) (decode-then-encode-time): Test subsecond calendrical timestamps.
* | | | Fix a recent documentation changeEli Zaretskii2019-08-171-1/+2
|/ / / | | | | | | | | | | | | * doc/emacs/windows.texi (Other Window): Add a cross-reference to "Rebinding". (Bug#12431)
* | | Broaden format-seconds to Lisp timestampsPaul Eggert2019-08-161-1/+1
| | | | | | | | | | | | | | | * lisp/calendar/time-date.el (format-seconds): Accept any Lisp timestamp instead of insisting on a number.
* | | Subtracting “now” from “now” should yield zeroPaul Eggert2019-08-162-4/+15
| | | | | | | | | | | | | | | | | | * src/timefns.c (time_arith): Arrange for (time-subtract nil nil) to yield 0, to be consistent with (time-equal-p nil nil). * test/lisp/calendar/time-date-tests.el (test-time-since): New test.
* | | Fix time-add rounding bugPaul Eggert2019-08-165-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this fix, time arithmetic yielded results that were not mathematically accurate, even though the exact results were representable; for example, (time-add 0 1e-13) yielded a timestamp equal to 0 instead of to 1e-13. * lisp/timezone.el (timezone-time-from-absolute): Let time-add do its thing rather than using floating point internally, which has rounding errors. We now have bignums and so don’t need floating point to avoid overflow issues. * src/timefns.c (timeform_sub_ps_p): New function. (time_arith): If either argument is a float, represent the result exactly instead of discarding sub-ps info. * test/lisp/timezone-tests.el (timezone-tests-time-from-absolute): Don’t assume (HI LO US PS) timestamp format. * test/src/emacs-module-tests.el (mod-test-add-nanosecond/valid): Don’t assume that time-add discards sub-ns info. * test/src/timefns-tests.el (time-rounding-tests): Add regression test to detect time-add rounding bug.
* | | Mention `next-multiframe-window' when talking about `other-window'Lars Ingebrigtsen2019-08-161-0/+7
| | | | | | | | | | | | | | | | | | * doc/emacs/windows.texi (Other Window): Mention the `next-multiframe-window' command here (which is otherwise not documented in the manual) (bug#12431).
* | | Add missing skeleton entries in autotype.texiLars Ingebrigtsen2019-08-161-1/+11
| | | | | | | | | | | | | | | * doc/misc/autotype.texi: Add missing entries found in the doc string to `skeleton-insert' (bug#12563).
* | | Make checkdoc check cl-lib function docstringsAlex Branham2019-08-161-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Remove calls to delete-region to avoid deleting final " (bug#26328). * lisp/emacs-lisp/checkdoc.el (checkdoc--next-docstring) (checkdoc-defun-info): Include cl-defun, cl-defgeneric, cl-defmethod. (checkdoc-this-string-valid-engine): Add cl-lib supported keywords. (checkdoc-defun-info): Ensure function parameters are a "flat" list (bug#37034).
* | | Avoid deleting closing quotation mark in checkdocAlex Branham2019-08-161-10/+5
| | | | | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Remove calls to delete-region to avoid deleting final " (bug#26328).
* | | Revert "package.el: Allow Package-Requires to span multiple lines (Bug#36301)"Thomas Fitzsimmons2019-08-161-3/+1
| | | | | | | | | | | | | | | | | | This reverts commit 19c1e4c81c7442dea48253e5961b6e54d78b6f0a. This commit broke some package tests, reverting for now.
* | | Mention that text properties are removed in substitute-command-keysLars Ingebrigtsen2019-08-161-2/+2
| | | | | | | | | | | | | | | * src/doc.c (Fsubstitute_command_keys): Restore the bit in the doc string that mentions that text properties is removed (bug#17052).
* | | Add some examples in "Adding Generalized Variables"Lars Ingebrigtsen2019-08-151-6/+35
| | | | | | | | | | | | | | | * doc/lispref/variables.texi (Adding Generalized Variables): Add examples for `gv-define-expander' and `gv-letplace' (bug#13343).
* | | package.el: Allow Package-Requires to span multiple lines (Bug#36301)Thomas Fitzsimmons2019-08-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (lm-header-multiline): Declare function. (package-buffer-info): Parse Package-Requires with lm-header-multiline instead of lm-header. (Bug#36301)
* | | Do not recreate full URL for proxied HTTPS requests (Bug#35969)Thomas Fitzsimmons2019-08-151-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/url/url-http.el (url-http-create-request): Do not recreate full URL for proxied HTTPS requests. (url-https-proxy-after-change-function): Do not bind url-http-proxy to nil before calling url-http-create-request. (Bug#35969)
* | | Make diary-european-date-forms elements mutually exclusiveAndreas Merziger2019-08-151-1/+1
| | | | | | | | | | | | | | | * lisp/calendar/calendar.el (diary-european-date-forms): Make the elements mutually exclusive (bug#13536).
* | | Fix up previous cl-def* changes in bovineLars Ingebrigtsen2019-08-151-2/+2
| | | | | | | | | | | | | | | | | | | | | * lisp/cedet/semantic/bovine/el.el (lambda): cl-defun* doesn't exist (bug#17005). (lambda): Add cl-defstruct. (semantic-up-context): Add cl- forms.
* | | Reimplement the `fill-flowed' function to respect space stuffingLars Ingebrigtsen2019-08-152-50/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/mail/flow-fill.el (fill-flowed): Reimplement the function to respect space-stuffing (bug#17190). * test/lisp/mail/flow-fill-tests.el (fill-flow-tests-fill-flowed-stuffed): New test. (fill-flow-tests-fill-flowed-decode): Rename the test so that it actually runs.
* | | Fix eshell-mode-map initializationAlex Branham2019-08-1510-100/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/eshell/esh-mode.el (eshell-mode-map, eshell-command-map): Set up normal keymaps and prefix commands rather than re-initializing them in each eshell buffer * lisp/eshell/em-cmpl.el (eshell-cmpl-mode-map, eshell-cmpl-mode) (eshell-cmpl-initialize): * lisp/eshell/em-hist.el (eshell-hist-mode-map, eshell-hist-mode) (eshell-hist-initialize): * lisp/eshell/em-pred.el (eshell-pred-mode-map, eshell-pred-mode) (eshell-pred-initialize): * lisp/eshell/em-prompt.el (eshell-prompt-mode-map, eshell-prompt-mode) (eshell-prompt-initialize): * lisp/eshell/em-rebind.el (eshell-rebind-mode-map, eshell-rebind-mode) (eshell-rebind-initialize): * lisp/eshell/esh-arg.el (eshell-arg-mode-map, eshell-arg-mode) (eshell-arg-initialize): * lisp/eshell/esh-proc.el (eshell-proc-mode-map, eshell-proc-mode) (eshell-proc-initialize): * lisp/eshell/esh-var.el (eshell-var-mode-map, eshell-var-mode) (eshell-var-initialize): Create a new minor mode with a keymap and call it in the module initialization function. bug#33808 bug#22792
* | | Rename variables and functions with "auto-load" in their namesLars Ingebrigtsen2019-08-157-24/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/building.texi (Lisp Libraries): Adjust documentation. * lisp/help-fns.el (help--symbol-completion-table): Adjust usage. * lisp/help-fns.el (help-enable-completion-autoload): Change name from auto-load and declare an obsolete alias (bug#13418). * lisp/help.el (help-enable-autoload): Ditto. * lisp/progmodes/vhdl-mode.el: Ditto. (vhdl-create-mode-menu, vhdl-mode): Adjust usage. (vhdl-autoload-project): Rename from auto-load and declare an obsolete alias.
* | | Remove mentions of XEmacs from the Gnus manual and faqLars Ingebrigtsen2019-08-152-187/+46
| | | | | | | | | | | | | | | * doc/misc/gnus-faq.texi: * doc/misc/gnus.texi: Remove references to XEmacs throughout.
* | | Mention what effect nil has as the prompt for read-event/char/etcLars Ingebrigtsen2019-08-152-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/commands.texi (Reading One Event): Mention that "" has the same effect as nil as a prompt. * src/lread.c (Fread_event, Fread_char_exclusive, Fread_char): Mention what happens when PROMPT is nil/"" in the doc string (bug#15012).
* | | etc/NEWS: Note that `list-processes' includes port numbers now.Lars Ingebrigtsen2019-08-151-0/+3
| | |
* | | Fix typeof portability issue with bitfieldsPaul Eggert2019-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Glenn Morris in: https://lists.gnu.org/r/emacs-devel/2019-08/msg00300.html * src/lisp.h (lisp_h_make_fixnum): Use typeof (+(n)) instead of typeof (n), so that it works with compilers that do not allow typeof to be applied to a bitfield.
* | | Fix rounding errors with float timestampsPaul Eggert2019-08-152-78/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When converting from float to (TICKS . HZ) form, do the conversion exactly. When converting from (TICKS . HZ) form to float, round to even precisely. This way, successfully converting a float to (TICKS . HZ) and back yields a value numerically equal to the original. * src/timefns.c (flt_radix_power_size): New constant. (flt_radix_power): New static var. (decode_float_time): Convert the exact numeric value rather than guessing TIMESPEC_HZ resolution. (s_ns_to_double): Remove; no longer needed. (frac_to_double): New function. (decode_ticks_hz): It is now the caller’s responsibility to pass a valid TICKS and HZ. All callers changed. Use frac_to_double to round (TICKS . HZ) precisely. (decode_time_components): When decoding nil, use decode_ticks_hz since it rounds precisely. (syms_of_timefns): Initialize flt_radix_power. * test/src/timefns-tests.el (float-time-precision): New test.
* | | Give auto-revert-test02-auto-revert-deleted-file a chance on hydraMichael Albinus2019-08-151-1/+1
| | | | | | | | | | | | | | | * test/lisp/autorevert-tests.el (auto-revert-test02-auto-revert-deleted-file): Don't skip on hydra.
* | | Improve Tramp manualMichael Albinus2019-08-151-0/+12
| | | | | | | | | | | | | | | * doc/misc/tramp.texi (GVFS based methods): Explain using `ftp' and `smb' methods.
* | | Debug out-of-range make_fixnum argsPaul Eggert2019-08-154-12/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With --enable-checking, make_fixnum (N) now checks that N is in fixnum range. Suggested by Pip Cet in: https://lists.gnu.org/r/emacs-devel/2019-07/msg00548.html A new function make_ufixnum (N) is for the rare cases where N is intended to be unsigned and is in the range 0..INTMASK. * configure.ac (AC_C_TYPEOF): Add. (HAVE_STATEMENT_EXPRESSIONS): Resurrect this macro. * src/fns.c (Frandom, hashfn_eq, hashfn_equal, hashfn_user_defined): * src/profiler.c (hashfn_profiler): Use make_ufixnum rather than make_fixum, since the argument is an unsigned integer in the range 0..INTMASK rather than a signed integer in the range MOST_NEGATIVE_FIXNUM..MOST_POSITIVE_FIXNUM. Typically this is for hashes. * src/lisp.h (lisp_h_make_fixnum_wrap) [USE_LSB_TAG]: Rename from lisp_h_make_fixnum. (lisp_h_make_fixnum): Redefine in terms of lisp_h_make_fixnum_wrap. Check for fixnum overflow on compilers like GCC that have statement expressions and typeof. (FIXNUM_OVERFLOW_P): Move up. (make_fixnum): Check for fixnum overflow. (make_ufixnum): New function, which checks that the arg fits into 0..INTMASK range.
* | | Fix some fixnum overflow problems in ccl.cPaul Eggert2019-08-151-12/+23
| | | | | | | | | | | | | | | * src/ccl.c (ccl_driver, Fccl_execute, Fccl_execute_on_string): Don’t assume CCL registers fit into fixnums.
* | | Port mod-test-nanoseconds to 32-bit EmacsPaul Eggert2019-08-151-1/+1
| | | | | | | | | | | | | | | * test/src/emacs-module-tests.el (mod-test-nanoseconds): Don’t assume -1000000000 is a fixnum.
* | | Include port numbers in `M-x list-processes'Lars Ingebrigtsen2019-08-151-6/+11
| | | | | | | | | | | | | | | * lisp/simple.el (list-processes--refresh): Include the port numbers in the network connection list (bug#13604).
* | | Add some cl- concept index entriesLars Ingebrigtsen2019-08-151-0/+2
| | | | | | | | | | | | | | | * doc/misc/cl.texi (Argument Lists): Add a couple of concept index entried (bug#13606).
* | | Clarify the doc string of complete-with-actionLars Ingebrigtsen2019-08-141-8/+14
| | | | | | | | | | | | | | | * lisp/minibuffer.el (complete-with-action): Doc string clarification (bug#13993).
* | | Clean up Gnus manual reference to XEmacs variablesLars Ingebrigtsen2019-08-141-19/+0
| | | | | | | | | | | | | | | * doc/misc/gnus.texi (XVarious): Remove section about XEmacs variables that have been removed.
* | | Minor Scroll Bars clarificationLars Ingebrigtsen2019-08-141-7/+8
| | | | | | | | | | | | | | | * doc/emacs/frames.texi (Scroll Bars): Clarify what we mean by "customize" here (bug#14321).
* | | Arrange custom-face-attributes closer to how heavy they areLars Ingebrigtsen2019-08-141-10/+10
| | | | | | | | | | | | | | | * lisp/cus-face.el (custom-face-attributes): Arrange the weights more in order of how heavy they are (bug#15526).
* | | Use gnus-summary-button-forward in gnus-summary-mode-mapLars Ingebrigtsen2019-08-141-2/+2
| | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-mode-map): Use `gnus-summary-button-forward' instead of the obsolete `gnus-summary-widget-forward'.
* | | Remove INT_ADD_WRAPV bug workaroundsPaul Eggert2019-08-144-18/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c (free_cons): * src/casefiddle.c (do_casify_multibyte_string): * src/editfns.c (styled_format): * src/image.c (png_load_body): Remove recent workarounds for INT_ADD_WRAPV bugs since the bugs have been fixed (Bug#37006).
* | | Add C-b/f/p/n keystrokes in `M-x snake'Lars Ingebrigtsen2019-08-141-1/+6
| | | | | | | | | | | | | | | * lisp/play/snake.el (snake-mode-map): Add the C-b/f/p/n in addition to the cursor keys (bug#16720).
* | | Update from GnulibPaul Eggert2019-08-142-42/+147
| | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2019-08-14 intprops: pacify picky GCC 2019-08-14 intprops: support unsigned *_WRAPV results 2019-08-12 verify: improve diagnostic quality in recent GCC * lib/intprops.h, lib/verify.h: Copy from Gnulib.
* | | Add cl-def* forms to bovine/el.elLars Ingebrigtsen2019-08-141-0/+4
| | | | | | | | | | | | | | | * lisp/cedet/semantic/bovine/el.el (lambda): Add the cl-def* variations to allow semantic to find the definitions (bug#17005).
* | | Don't alter function name face height in manoj-dark themeLars Ingebrigtsen2019-08-141-1/+1
| | | | | | | | | | | | | | | | | | * etc/themes/manoj-dark-theme.el (manoj-dark): Don't alter the height of function name faces, because this makes many tabulated modes not longer line up (bug#17042).
* | | Respect the BUFFER parameter in `fill-flowed'Lars Ingebrigtsen2019-08-141-1/+6
| | | | | | | | | | | | | | | * lisp/mail/flow-fill.el (fill-flowed): `current-buffer' is always non-nil, so respect the BUFFER parameter. Also add a doc string.
* | | Output the maintainer and author(s) in the package description bufferLars Ingebrigtsen2019-08-141-1/+31
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (describe-package-1): Output maintainer and author(s) (bug#17573). (package--print-email-button): New function.
* | | ; Fix typoes.Juri Linkov2019-08-152-4/+4
| | |