1. 28 Aug, 2018 7 commits
  2. 27 Aug, 2018 1 commit
  3. 25 Aug, 2018 4 commits
    • Sergey Vinokurov's avatar
      Fix detection of freed emacs_values (Bug#32479) · 54fb383a
      Sergey Vinokurov authored
      * src/emacs-module.c (module_free_global_ref): Compare a value to be
      freed with all entries of the list.
      
      * test/data/emacs-module/mod-test.c (Fmod_test_globref_free): New
      function.
      (emacs_module_init): Make it accessible from Lisp.
      * test/src/emacs-module-tests.el (mod-test-globref-free-test): New
      test which uses it.
      54fb383a
    • Noam Postavsky's avatar
      ; Fix out-of-tree build for mod-test.so · 769d0cda
      Noam Postavsky authored
      * test/Makefile.in: Don't look for emacs-module.h in $(srcdir), since
      it is generated.
      769d0cda
    • Eli Zaretskii's avatar
      Avoid crashes with very wide TTY frames on MS-Windows · 9a1329e9
      Eli Zaretskii authored
      * src/w32console.c <glyph_base>: Reduce the number of elements
      to 80.
      <glyphs, glyphs_len>: New static variables.
      (w32con_clear_end_of_line): If the line is wider than the
      current size of the "empty row" in 'glyphs', reallocate
      'glyphs' to support the full width of the frame.  This
      avoids segfaults when the frame is wider than 256 columns.
      (Bug#32445)
      9a1329e9
    • Wenjamin Petrenko's avatar
      Prevent `modify-file-local-variable-prop-line' from adding extra ';' · 9a613d3e
      Wenjamin Petrenko authored
      * lisp/files-x.el (modify-file-local-variable-prop-line): Handle
      whitespace when checking if there's already a ';' before the
      variable (Bug#23294).
      
      Copyright-paperwork-exempt: yes
      9a613d3e
  4. 24 Aug, 2018 1 commit
    • Glenn Morris's avatar
      Update GNOME bugtracker URLs · 624e7dc7
      Glenn Morris authored
      * configure.ac, admin/notes/multi-tty, etc/PROBLEMS:
      * src/emacs.c (main):
      * src/xterm.c (x_connection_closed): Update GNOME bugtracker URLs.
      ; * src/gtkutil.c (xg_display_close):
      ; * src/image.c (svg_load_image): Update URLs in comments.
      624e7dc7
  5. 23 Aug, 2018 1 commit
  6. 21 Aug, 2018 2 commits
  7. 18 Aug, 2018 1 commit
  8. 17 Aug, 2018 2 commits
  9. 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:
      https://lists.gnu.org/r/emacs-devel/2018-08/msg00380.html
      * 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)
      f882de8b
    • 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.
      34e75c14
    • 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.
      e73e6838
    • 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).
      12f71167
  10. 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)
      18422976
    • Charles A. Roelli's avatar
      614cc65f
    • 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
      function.
      (package--removable-packages): Use it.
      d2ad4ba4
  11. 11 Aug, 2018 3 commits
  12. 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)
      5e42c349
  13. 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
      bug#32404.
      71c92d89
    • 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.
      96be6b6e
  14. 08 Aug, 2018 4 commits
  15. 07 Aug, 2018 3 commits
  16. 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)")
      cc233365