1. 23 Aug, 2018 1 commit
  2. 21 Aug, 2018 2 commits
  3. 18 Aug, 2018 1 commit
  4. 17 Aug, 2018 2 commits
  5. 13 Aug, 2018 4 commits
    • Paul Eggert's avatar
      Port better to x86 -fexcess-precision=fast · f882de8b
      Paul Eggert authored
      Problem reported by Eli Zaretskii in:
      * src/data.c (arithcompare): Work around incompatibility
      between gcc -fexcess-precision=fast and the C standard on x86,
      by capturing the results of floating-point comparisons before
      the excess precision spontaneously decays.  Although this fix
      might not work in general, it does work here and is probably
      good enough for the platforms we care about.
      (cherry picked from commit a84cef90)
    • Paul Eggert's avatar
      Add comment about floating point test · 34e75c14
      Paul Eggert authored
      * test/src/data-tests.el (data-tests--float-greater-than-fixnums):
      New constant.
      (data-tests-=, data-tests-<, data-tests->, data-tests-<=)
      (data-tests->=, data-tests-min): Use it.
    • Tino Calancha's avatar
      Ibuffer: Add toggle ibuffer-do-toggle-lock · e73e6838
      Tino Calancha authored
      Toggle the locked status in marked buffers or the buffer
      at point (Bug#32421).
      * lisp/ibuffer.el (ibuffer-do-toggle-lock): New command.
      (ibuffer-mode-map): Bind it to 'L'.
      (ibuffer-mode-operate-map): Add entries for
      `ibuffer-do-toggle-read-only' and `ibuffer-do-toggle-lock'.
      * etc/NEWS (Changes in Specialized Modes and Packages in Emacs 26.2):
      Announce the change.
    • Tino Calancha's avatar
      Ibuffer: Detect correctly the buffers running a process · 12f71167
      Tino Calancha authored
      * lisp/ibuffer.el (filename-and-process): Store the process buffer
      as a text property; check for such property to detect a buffer
      with a process (Bug#32420).
  6. 12 Aug, 2018 3 commits
    • Michael Albinus's avatar
      Backport fix for Bug#32226 · 18422976
      Michael Albinus authored
      * test/lisp/shadowfile-tests.el: Set Tramp variables for hydra.
      (shadow-test06-literal-groups, shadow-test07-regexp-groups)
      (shadow-test08-shadow-todo, shadow-test09-shadow-copy-files):
      Use `set-visited-file-name' instead of setting the value in
      `buffer-file-name' directly.
      (shadow-test08-shadow-todo, shadow-test09-shadow-copy-files):
      Test for writable temporary directory.  Suppress errors in
      cleanup.  (Bug#32226)
    • Charles A. Roelli's avatar
    • Yuri D'Elia's avatar
      Do not consider external packages to be removable (Bug#27822) · d2ad4ba4
      Yuri D'Elia authored
      Packages which are not directly user-installed shouldn't be autoremoved,
      since they can be setup through a different path (via
      `package-directory-list') where we have no authority over.
      * lisp/emacs-lisp/package.el (package--user-installed-p): New
      (package--removable-packages): Use it.
  7. 11 Aug, 2018 3 commits
  8. 10 Aug, 2018 1 commit
    • Filipp Gunbin's avatar
      Fix bugs in `auth-source-netrc-parse-one'. · 5e42c349
      Filipp Gunbin authored
      * lisp/auth-source.el (auth-source-netrc-parse-one): Ensure that match
        data is not overwritten in `auth-source-netrc-parse-next-interesting'.
        Ensure that blanks are skipped before and after going over comments
        and eols.
      * test/lisp/auth-source-tests.el (auth-source-test-netrc-parse-one): New test.
      (cherry picked from commit 60ff8101)
  9. 09 Aug, 2018 2 commits
    • Eli Zaretskii's avatar
      Fix copying text properties by 'format' · 71c92d89
      Eli Zaretskii authored
      * src/editfns.c (styled_format): Add the spec beginning index
      to the info recorded for each format spec, and use it to
      detect the case that a format spec and its text property end
      where the next spec with another property begins.  (Bug#32404)
      * test/src/editfns-tests.el (format-properties): Add tests for
    • Alexander Gramiak's avatar
      Improve error messages regarding initial-buffer-choice (Bug#29098) · 96be6b6e
      Alexander Gramiak authored
      * lisp/startup.el (command-line-1) <initial-buffer-choice>: Make the
      messages conform to Emacs conventions, and show the invalid return
      value in the message.
  10. 08 Aug, 2018 4 commits
  11. 07 Aug, 2018 3 commits
  12. 04 Aug, 2018 1 commit
    • Juri Linkov's avatar
      New function read-answer (Bug#31782) · cc233365
      Juri Linkov authored
      * lisp/emacs-lisp/map-ynp.el (read-answer-short): New defcustom.
      (read-answer): New function.
      * lisp/subr.el (assoc-delete-all): New function.
      * etc/NEWS: Announce them.
      * lisp/dired.el (dired-delete-file): Use read-answer.
      (dired--yes-no-all-quit-help): Remove function.
      (dired-delete-help): Remove defconst.
      (backported from master, "New function read-answer (bug#30073)" and
      "Respect non-saved value of `read-short-answer' (Bug#31782)")
  13. 02 Aug, 2018 2 commits
    • Eli Zaretskii's avatar
      Avoid assertion violations in maybe_produce_line_number · f0b8e64f
      Eli Zaretskii authored
      * src/xdisp.c (redisplay_window): Make sure desired_matrix is
      cleared before calling try_window.  This is important when
      display-line-numbers is non-nil, because line-number display code
      assumes each glyph row is completely cleared when it is called to
      produce a line number.  (Bug#32358)
    • Eli Zaretskii's avatar
      Avoid assertion violations in set_text_properties_1 · 7669bf78
      Eli Zaretskii authored
      * src/textprop.c (set_text_properties): If the call to
      modify_text_properties modifies the interval tree as side effect,
      recalculate the correct interval for START and END.  (Bug#32265)
  14. 01 Aug, 2018 1 commit
  15. 30 Jul, 2018 2 commits
  16. 29 Jul, 2018 2 commits
  17. 28 Jul, 2018 5 commits
  18. 27 Jul, 2018 1 commit
    • Noam Postavsky's avatar
      Don't fail to indent-sexp before a full sexp (Bug#31984) · 85791053
      Noam Postavsky authored
      * lisp/emacs-lisp/lisp-mode.el (indent-sexp): Only signal error if the
      initial forward-sexp fails.  Suppress scan-error forn any of the
      forward-sexp calls after that.
      * test/lisp/emacs-lisp/lisp-mode-tests.el (indent-sexp-cant-go): New