1. 29 Mar, 2020 1 commit
  2. 27 Mar, 2020 1 commit
    • Mattias Engdegård's avatar
      Calc: don't treat nil as an integer (bug#40155) · c2b8ce44
      Mattias Engdegård authored
      Make Math-num-integerp return false for nil, following Math-integerp
      which was changed in the bignum reform.  This fixes a crash in
      calc-graph-fast.
      
      Reported by Narendra Joshi.
      
      * lisp/calc/calc-macs.el (Math-num-integerp): Not true for nil.
      * test/lisp/calc/calc-tests.el (calc-Math-integerp): New tests.
      c2b8ce44
  3. 25 Mar, 2020 2 commits
  4. 24 Mar, 2020 1 commit
  5. 23 Mar, 2020 6 commits
    • Mattias Engdegård's avatar
      Calc: Declare dynamic variable bound in lexbind code (bug#40185) · 8db6b432
      Mattias Engdegård authored
      * lisp/calc/calc.el: Declare math-comp-selected as dynamic.
      8db6b432
    • Eli Zaretskii's avatar
      Don't build the Gnulib 'utimens' module on MinGW · d66331ae
      Eli Zaretskii authored
      * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_utimens): Omit the
      'utimens' module in the MinGW build: 'utimens' is not used by
      Emacs, and 'fdutimens' is implemented in w32.c.
      d66331ae
    • Phillip Lord's avatar
      Add Harfbuzz dependency · f2351a68
      Phillip Lord authored
      * admin/nt/dist-build/build-dep-zips.py: Add harfbuzz as a dependency.
      f2351a68
    • Noam Postavsky's avatar
      Don't signal during backtrace unrewind (Bug#40088) · 8944310d
      Noam Postavsky authored
      backtrace_eval_unrewind is used to temporarily reverse
      let-bindings (it's called with a positive argument to reverse
      bindings, and then a negative argument to re-apply them) by
      backtrace--locals and backtrace-eval.  For the SPECPDL_LET_DEFAULT and
      SPECPDL_LET_LOCAL cases (which occur for let-bindings on buffer-local
      variables), the code calls Fdefault_value and Fbuffer_local_value on
      the symbol.
      
      For symbols which are unbound at top-level, the first (with positive
      argument) call to backtrace_eval_unrewind will set the symbol's value
      to unbound (putting the current value in the specpdl's "old value"
      slot).  On the second (with negative argument) call,
      backtrace_eval_unrewind attempts to retrieve the symbol's value with
      Fdefault_value or Fbuffer_local_value, but that raises a void-variable
      signal.  This interrupts the restoration of the let-bindings, so any
      other variables more recent on the stack will now have the wrong
      value.
      
      * src/data.c (default_value): Make non-static.
      * src/lisp.h: Declare it.
      * src/eval.c (backtrace_eval_unrewind): Replace the calls to
      Fdefault_value and Fbuffer_local_value with default_value and
      buffer_local_value, respectively.  The latter do exactly the same as
      the former, except if the symbol's value is Qunbound they just return
      it instead of signaling void-variable.
      8944310d
    • Noam Postavsky's avatar
      Fix a couple of problems in changelog generating functions · 8709aadd
      Noam Postavsky authored
      * lisp/vc/diff-mode.el (diff-add-log-current-defuns): If there is a
      scan-error when calling end-of-defun, go to end of hunk.  This can
      easily happen since we are calling end-of-defun on a partial code
      fragment from a diff.
      * lisp/vc/log-edit.el (log-edit-generate-changelog-from-diff): Bind
      display-buffer-overriding-action around the log-edit-show-diff call
      only.  Otherwise, it can affect, for example, debugger windows
      triggered by the diff-add-log-current-defuns call.
      8709aadd
    • Noam Postavsky's avatar
      Fix cl-concatenate (Bug#40180) · 9ab85f08
      Noam Postavsky authored
      * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use apply, to avoid
      adding extra nesting of args.
      * test/lisp/emacs-lisp/cl-extra-tests.el (cl-concatenate): New test.
      9ab85f08
  6. 21 Mar, 2020 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of project.el commands · 561e9fb9
      Eli Zaretskii authored
      * lisp/progmodes/project.el (project-find-regexp): Require 'grep'
      to be able to call 'grep-read-files'.
      (project-search, project-query-replace-regexp): Doc fixes.
      
      * doc/emacs/maintaining.texi (Projects): New section.
      * doc/emacs/emacs.texi (Top): Add "Projects" to the detailed menu.
      561e9fb9
  7. 20 Mar, 2020 1 commit
  8. 19 Mar, 2020 4 commits
  9. 18 Mar, 2020 1 commit
    • Philipp Stephani's avatar
      Remove raw carriage return characters from test file. · e92b8e53
      Philipp Stephani authored
      This protects against tools that mangle newline characters in text
      files.
      
      * test/lisp/electric-tests.el (electric-pair-mode-newline-between-parens)
      (electric-layout-mode-newline-between-parens-without-e-p-m)
      (electric-layout-mode-newline-between-parens-without-e-p-m-2): Escape
      carriage return characters.
      e92b8e53
  10. 17 Mar, 2020 1 commit
    • Robert Pluim's avatar
      Recalculate default font when switching font backend · 5747a59a
      Robert Pluim authored
      This is an updated version of the patch by Dmitry Antipov
      <dmantipov@yandex.ru> in
      <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23386#43>.
      
      Fixes Bug#23386
      
      * src/dispextern.h (struct redisplay_interface): New member
      default_font_parameter.
      * src/xterm.h: Add prototype for x_default_font_parameter.
      * src/xterm.c (x_redisplay_interface): Initialize
      default_font_parameter member.
      * src/xfns.c (x_default_font_parameter): Make non-static.
      * src/w32term.h: Add prototype for w32_default_font_parameter
      * src/w32fns.c (w32_default_font_parameter): Make non-static.
      * src/w32term.c (w32_redisplay_interface): Initialize
      default_font_parameter member.
      * src/nsterm.m (ns_redisplay_interface): Add dummy
      ns_default_font_parameter (there is currently only one possible font
      backend on macOS).  Initialize default_font_parameter member.
      * src/frame.c (gui_set_font_backend): Recalculate default font using
      RIF default_font_parameter to avoid crash when changing font backend.
      5747a59a
  11. 16 Mar, 2020 2 commits
  12. 14 Mar, 2020 7 commits
    • Juri Linkov's avatar
      * lisp/image/image-converter.el: Support more ImageMagick versions (bug#39994) · f8254aad
      Juri Linkov authored
      * lisp/image/image-converter.el (image-converter--probe): Match
      a possible additional second column in some ImageMagick versions
      of "convert -list format".
      f8254aad
    • Eli Zaretskii's avatar
      Support Unicode 13.0 · 5beb2695
      Eli Zaretskii authored
      * admin/unidata/BidiBrackets.txt:
      * admin/unidata/BidiMirroring.txt:
      * admin/unidata/Blocks.txt:
      * admin/unidata/NormalizationTest.txt:
      * admin/unidata/SpecialCasing.txt:
      * admin/unidata/UnicodeData.txt:
      * admin/unidata/copyright.html:
      * test/manual/BidiCharacterTest.txt: Updated files imported from
      Unicode v13.0.
      
      * admin/unidata/blocks.awk: Add "Symbols for Legacy Computing" to
      known aliases.
      
      * lisp/international/fontset.el (script-representative-chars)
      (setup-default-fontset): Add new scripts.
      * lisp/international/characters.el: Set syntax for Symbols for
      Legacy Computing characters.  Update setting of char-width-table.
      * lisp/international/mule-cmds.el (ucs-names): Update ranges of
      characters for which we want names in 'ucs-names'.
      
      * test/lisp/international/ucs-normalize-tests.el
      (ucs-normalize-tests--failing-lines-part1)
      (ucs-normalize-tests--failing-lines-part2): Update according to
      'ucs-normalize-check-failing-lines'.
      5beb2695
    • Lars Ingebrigtsen's avatar
      Fix regression in wisent-total-conflicts · 3a671ad7
      Lars Ingebrigtsen authored
      * lisp/cedet/semantic/wisent/comp.el (wisent-total-conflicts):
      There may not be a current source file.  In that case, don't try
      to keep track of the number of expected conflicts (bug#39911).
      3a671ad7
    • Alan Mackenzie's avatar
      * lisp/progmodes/cc-defs.el (c-version): update to 5.34.1 for Emacs 27.1 · dcc943be
      Alan Mackenzie authored
      Don't merge to master.
      dcc943be
    • Philipp Stephani's avatar
    • Stefan Kangas's avatar
      Improve Package Menu hiding docstrings · cbe64310
      Stefan Kangas authored
      * lisp/emacs-lisp/package.el (package-menu-toggle-hiding): Add
      reference to 'package-menu-hidden-regexps'.
      * lisp/emacs-lisp/package.el (package-menu-hide-package): Improve
      docstring to say that hiding is saved in a user option.  Fix a
      typo.  (Bug#39436)
      cbe64310
    • Eli Zaretskii's avatar
      Fix display of Big5 characters when using Fontconfig · 8d28c98a
      Eli Zaretskii authored
      * src/ftfont.c (fc_charset_table): Fix the value of the big-5
      representative codepoint.  Reported by Brian Schack
      <bschack-cocoa@usa.net>.  (Bug#40057)
      
      * src/macfont.m (cf_charset_table): Adjust the comment.
      8d28c98a
  13. 13 Mar, 2020 4 commits
  14. 12 Mar, 2020 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (cancel-change-group): Fix bug#39680 · c1ce9fa7
      Stefan Monnier authored
      Don't re-use an existing `pending-undo-list` even if (eq last-command 'undo)
      since there might have been changes to the buffer since that `undo` command
      and the `pending-undo-list` can hence be invalid for the current
      buffer contents.
      c1ce9fa7
  15. 11 Mar, 2020 1 commit
  16. 09 Mar, 2020 4 commits
  17. 08 Mar, 2020 2 commits