1. 20 Aug, 2019 13 commits
    • Paul Eggert's avatar
      Support larger TIMEs in (time-convert TIME t) · 5a955212
      Paul Eggert authored
      Also, improve the doc to match current behavior.
      * doc/lispref/os.texi (Time Conversion): Document that
      time-convert signals an error for infinite or NaN args,
      and that (time-convert TIME t) is exact otherwise.
      Mention float-time as an alternative to time-convert.
      (Time Calculations): Document that time-add and time-subtract
      are exact and do not decrease HZ below the minimum of their args.
      * src/timefns.c (decode_float_time): Don’t signal an error for
      floating-point arguments whose base-FLT_RADIX exponent is not less
      than DBL_MANT_DIG.  Instead, convert them to (TICKS . 1) values.
      Use two (instead of three) integer exponent comparisons in the
      typical case.
      * test/src/timefns-tests.el (time-arith-tests):
      Add more floating-point tests, including some tests
      that the old code fails.
      5a955212
    • Stephen Leake's avatar
      Delete built-in ada-mode; Gnu ELPA is a good replacement · a13c6420
      Stephen Leake authored
      * doc/misc/Makefile.in (INFO_COMMON): Delete ada-mode.
      
      * doc/misc/ada-mode.texi: Delete.
      
      * etc/NEWS: Mention ada-mode deleted.
      
      * lisp/progmodes/ada-mode.el: Delete.
      
      * lisp/progmodes/ada-prj.el: Delete.
      
      * lisp/progmodes/ada-stmt.el: Delete.
      
      * lisp/progmodes/ada-xref.el: Delete.
      a13c6420
    • Michael Albinus's avatar
      Another attempt to fix bug#32645 · fde614f4
      Michael Albinus authored
      * test/lisp/autorevert-tests.el ()
      (auto-revert-test02-auto-revert-deleted-file):
      * test/lisp/filenotify-tests.el (file-notify-test04-autorevert):
      Check `file-notify-valid-p', not that the descriptor is nil.
      fde614f4
    • Stefan Kangas's avatar
      68f086e6
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · af103ef3
      Glenn Morris authored
      615cff42 (origin/emacs-26) Fix process filter documentation (Bug#13400)
      beb1d222 Fix query-replace-regexp undo feature
      
      # Conflicts:
      #	test/lisp/replace-tests.el
      af103ef3
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 989c85e7
      Glenn Morris authored
      The following commit was skipped:
      
      190565b2 Support the new Japanese era name
      989c85e7
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 8f68449c
      Glenn Morris authored
      0b810ebc Fix a typo in char-width-table
      3f00db7c Minor update in admin/notes/unicode
      bcd0115e Fix lisp indent infloop on unfinished strings (Bug#37045)
      5f992d19 Improve commentary in composite.el
      3a04be20 ; Improve commentary in xdisp.c
      15de1d11 Fix markup in dired-x.texi
      bda7fc75 ; Fix typo in a doc string of speedbar.el
      6f57ef9d * src/callproc.c (Fcall_process): Doc fix.
      
      # Conflicts:
      #	doc/misc/dired-x.texi
      #	lisp/international/characters.el
      #	src/callproc.c
      8f68449c
    • Ulrich Müller's avatar
    • Mauro Aranda's avatar
      Don't display wrong ElDoc information when inside ELisp strings or comments · 4e0c5830
      Mauro Aranda authored
      * lisp/progmodes/elisp-mode.el (elisp--fnsym-in-current-sexp): Since
      forward-sexp assumes point is not in a string or comment, avoid
      calling it and then checking if point is inside a string, since that
      sometimes will fail with awkward results.  (Bug#35567)
      4e0c5830
    • Lars Ingebrigtsen's avatar
      Output `auto-coding-alist' in `describe-current-coding-system' · 08d7cabc
      Lars Ingebrigtsen authored
      * lisp/international/mule-diag.el
      (describe-current-coding-system): Also output the contents of
      `auto-coding-alist', which take precedence over
      `file-coding-system-alist' (bug#9575).
      08d7cabc
    • Lars Ingebrigtsen's avatar
      Add a new hook: `quit-window-hook' · afdf6798
      Lars Ingebrigtsen authored
      * doc/lispref/windows.texi (Quitting Windows): Mention in.
      
      * lisp/window.el (quit-restore-window): Run the new
      `quit-window-hook' before doing anything else (bug#9867).
      (quit-window): Note that the hook will be run in the doc string.
      
      * lisp/window.el (quit-window-hook): New variable.
      afdf6798
    • Paul Eggert's avatar
      Fix org-table 65536-second bug · 221a3272
      Paul Eggert authored
      * lisp/org/org-table.el (org-table-message-once-per-second):
      Fix bug when clock difference goes past a 65536-second boundary.
      Don’t assume particular format for current-time result.
      221a3272
    • Paul Eggert's avatar
      Fix time-add/time-sub validity checking · 2197ea89
      Paul Eggert authored
      * src/timefns.c (time_arith): Check the first arg for
      validity even if the second arg is not finite.
      * test/src/timefns-tests.el (time-arith-tests): Test this.
      2197ea89
  2. 19 Aug, 2019 3 commits
    • Noam Postavsky's avatar
      Fix process filter documentation (Bug#13400) · 615cff42
      Noam Postavsky authored
      * doc/lispref/processes.texi (Asynchronous Processes): Note that input
      may read when sending data as well.
      (Output from Processes): Note that functions which send data may also
      trigger reading from processes.
      (Input to Processes, Filter Functions): Note that filter functions may
      be called recursively.
      615cff42
    • Tino Calancha's avatar
      Fix query-replace-regexp undo feature · beb1d222
      Tino Calancha authored
      Ensure that non-regexp strings used with `looking-at' are quoted.
      * lisp/replace.el (perform-replace): Quote regexp (Bug#37073).
      * test/lisp/replace-tests.el (replace-tests-perform-replace-regexp-flag):
      New variable.
      (replace-tests-with-undo): Use it.
      (query-replace-undo-bug37073): Add tests.
      beb1d222
    • Stefan Monnier's avatar
      * lisp/erc/erc-stamp.el: Fix erc-echo-timestamp (bug#22700) · 50dc4ca8
      Stefan Monnier authored
      Use lexical-binding.
      (erc-add-timestamp): Store the timestamp in a closure placed in
      cursor-sensor-functions rather than stashing it in an ad-hoc
      `timestamp` property.
      (erc-echo-timestamp): Simplify accordingly.
      50dc4ca8
  3. 18 Aug, 2019 10 commits
  4. 17 Aug, 2019 14 commits
    • Lars Ingebrigtsen's avatar
      Make `describe-function' say that disabled functions are disabled · f38a16ee
      Lars Ingebrigtsen authored
      * lisp/help-fns.el (help-fns--disabled): New function (bug#10853).
      (help-fns-describe-function-functions): Add it to the list of
      function help functions.
      f38a16ee
    • Lars Ingebrigtsen's avatar
      Make newline-and-indent take a numeric prefix · 3efe59a8
      Lars Ingebrigtsen authored
      * lisp/simple.el (newline-and-indent): Take a prefix argument to
      say how many times to perform its action (bug#10927).
      3efe59a8
    • Lars Ingebrigtsen's avatar
      Issue a message on `C-x o' and there's no other window · 2b914531
      Lars Ingebrigtsen authored
      * lisp/window.el (other-window): Issue a message when the user
      types `C-x o' and there's no other window to select (bug#10999).
      2b914531
    • Lars Ingebrigtsen's avatar
      Issue a message on `C-x 1' when there's nothing to do · 78541163
      Lars Ingebrigtsen authored
      * lisp/window.el (delete-other-windows): Make `C-x 1' issue a
      message when there's no other windows to delete (bug#10999).
      78541163
    • Lars Ingebrigtsen's avatar
      Doc clarification in two comment-* functions · 669599b0
      Lars Ingebrigtsen authored
      * lisp/newcomment.el (comment-padright, comment-padleft): Note
      that `comment-normalize-vars' must be called first (bug#11944).
      669599b0
    • Paul Eggert's avatar
      Add FIXMEs for subsecond support · c90a4207
      Paul Eggert authored
      This adds FIXMEs to areas where Lisp code should support
      subsecond information in broken-down timestamps.
      It also fixes some unnecessary truncation of timestamps, and
      ports the code to a hypothetical future Emacs version where
      (decode-time) returns subsecond timestamps by default.
      * lisp/calc/calc-forms.el (calc-time, math-iso-dt-to-date)
      (calcFunc-now):
      * lisp/calendar/icalendar.el (icalendar--add-decoded-times):
      * lisp/calendar/iso8601.el (iso8601-parse-interval):
      Truncate seconds to an integer, and add a FIXME about
      subseconds support.
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime)
      (icalendar--decode-isoduration):
      Add a FIXME about subseconds support.
      * lisp/gnus/gnus-delay.el (gnus-delay-article):
      Don’t truncate seconds to an integer, as there’s no need
      to do that here.
      * lisp/gnus/gnus-util.el (gnus-seconds-today)
      (gnus-seconds-month, gnus-seconds-year):
      * lisp/gnus/message.el (message-make-expires-date):
      * lisp/org/org-timer.el (org-timer-show-remaining-time):
      * lisp/vc/ediff-mult.el (ediff-format-date):
      Truncate seconds to an integer, as that’s what’s wanted here.
      * lisp/midnight.el (midnight-next):
      Ceiling seconds to an integer, as that’s what wanted here.
      c90a4207
    • Juri Linkov's avatar
      * lisp/frameset.el (frameset-restore): Make sure last-focus frame has focus. · 66168068
      Juri Linkov authored
      Call select-frame-set-input-focus to restore focus on the frame
      that had last-focus-update frame parameter before saving frameset.
      (Bug#36894)
      66168068
    • Lars Ingebrigtsen's avatar
      Doc clarification for call-interactively · c81c041f
      Lars Ingebrigtsen authored
      * src/callint.c (Fcall_interactively): Be explicit about what we
      mean by "inquire" in the doc string (bug#15653).
      c81c041f
    • Paul Eggert's avatar
      Port test harness to Solaris 10 · 643df792
      Paul Eggert authored
      * test/Makefile.in (ELFILES): Port to Solaris 10, where
      ‘find’ does not support ‘-path’.
      643df792
    • Eli Zaretskii's avatar
      Minor update in admin/notes/unicode · 3f00db7c
      Eli Zaretskii authored
      * admin/notes/unicode: Mention changes to be done in
      setup-default-fontset in fontset.el.  (Bug#14461)
      3f00db7c
    • Noam Postavsky's avatar
      Fix lisp indent infloop on unfinished strings (Bug#37045) · bcd0115e
      Noam Postavsky authored
      * lisp/emacs-lisp/lisp-mode.el (lisp-indent-calc-next): Stop trying to
      skip over strings if we've hit the end of buffer.
      * test/lisp/emacs-lisp/lisp-mode-tests.el
      (lisp-indent-unfinished-string): New test.
      bcd0115e
    • Eli Zaretskii's avatar
      Improve commentary in composite.el · 5f992d19
      Eli Zaretskii authored
      * lisp/composite.el (compose-gstring-for-graphic)
      (compose-gstring-for-terminal): Add comments that explain
      Unicode General Category mnemonics in human-readable terms.
      (Bug#14461)
      5f992d19
    • Paul Eggert's avatar
      Update from Gnulib · 9e2ac255
      Paul Eggert authored
      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.
      9e2ac255
    • Eli Zaretskii's avatar
      Improve support of the ancient Egyptian script · c863170f
      Eli Zaretskii authored
      * lisp/international/fontset.el (script-representative-chars)
      (setup-default-fontset): Add Egyptian.  (Bug#15420)
      c863170f