1. 07 Mar, 2017 9 commits
    • Paul Eggert's avatar
      ; Typo fixes in comment · 641ce935
      Paul Eggert authored
      641ce935
    • Phillip Lord's avatar
      Revert "Replace ldefs-boot with a much smaller file" · 542a7632
      Phillip Lord authored
      This reverts commit c27b6459.
      
      This commit has been reverted because the new mechanism was too
      sensitive to changes in the lisp source, generation of new ldefs-boot
      files was platform specific and resulted in warnings about undefined
      variables.
      
      See also 11436e2890d.
      542a7632
    • Phillip Lord's avatar
      Revert "Record autoloads till emacs dump" · e37bfd41
      Phillip Lord authored
      This reverts commit 72c668a9.
      
      This commit has been reverted because the new mechanism was too
      sensitive to changes in the lisp source, generation of new ldefs-boot
      files was platform specific and resulted in warnings about undefined
      variables.
      
      See also 11436e2890d.
      e37bfd41
    • Phillip Lord's avatar
      Revert "Remove unused ldefs-boot.el" · 7f5ad6b3
      Phillip Lord authored
      This reverts commit ef8c9f8f.
      
      This commit has been reverted because the new mechanism was too
      sensitive to changes in the lisp source, generation of new ldefs-boot
      files was platform specific and resulted in warnings about undefined
      variables.
      
      See also 11436e2890d.
      7f5ad6b3
    • Phillip Lord's avatar
      Revert "Remove conditional includes from bootstrap" · 41ed3c3d
      Phillip Lord authored
      This reverts commit 1b946305.
      
      This commit has been reverted because the new mechanism was too
      sensitive to changes in the lisp source, generation of new ldefs-boot
      files was platform specific and resulted in warnings about undefined
      variables.
      
      See also 11436e2890d.
      41ed3c3d
    • Phillip Lord's avatar
      Revert "Speed generation of ldefs-boot-auto" · 8f58747a
      Phillip Lord authored
      This reverts commit 7b5e1c82.
      
      This commit has been reverted because the new mechanism was too
      sensitive to changes in the lisp source, generation of new ldefs-boot
      files was platform specific and resulted in warnings about undefined
      variables.
      
      See also 11436e2890d.
      8f58747a
    • Phillip Lord's avatar
      Revert "Fix minor problems with loaddefs autogeneration" · 11436e28
      Phillip Lord authored
      This reverts commit f2bd2c1e.
      
      This commit has been reverted because the new mechanism was too
      sensitive to changes in the lisp source, generation of new ldefs-boot
      files was platform specific and resulted in warnings about undefined
      variables.
      11436e28
    • Noam Postavsky's avatar
      Set default when asking for send-mail-function (Bug#25874). · 66b7543e
      Noam Postavsky authored
      * lisp/mail/sendmail.el (sendmail-query-user-about-smtp): Pass first
      option as default for `completing-read'.
      66b7543e
    • Paul Eggert's avatar
      min and max now return one of their arguments · 37940b34
      Paul Eggert authored
      * doc/lispref/numbers.texi (Comparison of Numbers):
      * etc/NEWS: Document this.
      * src/data.c (Amax, Amin): Remove constants.  All uses removed.
      (minmax_driver): New function.
      (Fmax, Fmin): Use it instead of arith_driver.
      * test/src/data-tests.el (data-tests-max, data-tests-min): New tests.
      37940b34
  2. 06 Mar, 2017 3 commits
    • Alan Third's avatar
      Remove NSEvent loop from ns_select (bug#25265) · 3bd2e9e9
      Alan Third authored
      * src/nsterm.m (ns_select): Remove event processing loop and replace
      with simple test for a new event.
      3bd2e9e9
    • Eli Zaretskii's avatar
      A better fix for bug#25845 · eae5dcd5
      Eli Zaretskii authored
      * src/xdisp.c (font_for_underline_metrics): New function.
      * src/dispextern.h: Add its prototype.
      * src/xterm.c (x_draw_glyph_string):
      * src/w32term.c (x_draw_glyph_string):
      * src/nsterm.m (ns_draw_text_decoration): Call it.  This avoids
      having identical code 3 times in 3 different files.
      eae5dcd5
    • Tom Tromey's avatar
      Fix typos in EIEIO manual · 0fae08d0
      Tom Tromey authored
      * doc/misc/eieio.texi (Slot Options, Class Options): Fix typos.
      0fae08d0
  3. 05 Mar, 2017 12 commits
  4. 04 Mar, 2017 6 commits
  5. 03 Mar, 2017 10 commits
    • Paul Eggert's avatar
      87849fe3
    • Paul Eggert's avatar
      logb now works correctly on large integers · 74f87fd1
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add count-leading-zeros.
      * etc/NEWS: Document the change.
      * lib/count-leading-zeros.c, lib/count-leading-zeros.h:
      * m4/count-leading-zeros.m4: New files, copied from Gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * src/floatfns.c: Include count-leading-zeros.h.
      (Flogb): Do not convert fixnum to float before taking the log,
      as the rounding error can cause the answer to be off by 1.
      * src/lisp.h (EMACS_UINT_WIDTH): New constant.
      * test/src/floatfns-tests.el (logb-extreme-fixnum): New test.
      74f87fd1
    • Paul Eggert's avatar
      Merge from gnulib · f1fe3fcf
      Paul Eggert authored
      This incorporates:
      2017-02-25 maintainer-makefile: Fix AC_PROG_SED with autoconf cache.
      2017-02-24 ftoastr: port to -Wdouble-promotion
      * lib/ftoastr.c, m4/gnulib-common.m4: Copy from gnulib.
      f1fe3fcf
    • Eli Zaretskii's avatar
      Avoid duplicating characters recorded in macros · aaf86f30
      Eli Zaretskii authored
      * src/keyboard.c (record_char): Don't store in macro definitions
      characters that came from executing a macro.  (Bug#25860)
      aaf86f30
    • Eli Zaretskii's avatar
      Fix color component calculations in color.el · 7b00e956
      Eli Zaretskii authored
      * lisp/color.el (color-name-to-rgb): Use 16 bits per color component.
      (color-rgb-to-hex): Accept an optional argument
      DIGITS-PER-COMPONENT, defaulting to 4, and format the hexadecimal
      notation either for 8 or 16 bits per component.  (Bug#25890)
      * lisp/net/shr-color.el (shr-color->hexadecimal): Call
      color-rgb-to-hex with the optional argument of 2, to match color
      processing on the Web.
      7b00e956
    • Tino Calancha's avatar
      Use lexical binding in benchmark.el · 244de7b0
      Tino Calancha authored
      * lisp/emacs-lisp/benchmark.el: Enable lexical binding.
      (benchmark-elapse): Use 'declare'.
      * test/lisp/emacs-lisp/benchmark-tests.el: Add test suite.
      244de7b0
    • Noam Postavsky's avatar
      Switch pp.el to lexical binding · f5388ba8
      Noam Postavsky authored
      Additionally, do some minor code cleanup.
      
      * lisp/emacs-lisp/pp.el: Set lexical-binding.
      (pp-buffer): Use skip-syntax-forward.
      (pp-eval-expression): Use push.
      (pp-last-sexp): Use with-syntax-table.
      * test/lisp/emacs-lisp/pp-tests.el: New tests.
      f5388ba8
    • Chunyang Xu's avatar
      Fix completing-read call in reb-change-syntax · 55c0c3e3
      Chunyang Xu authored
      * lisp/emacs-lisp/re-builder.el (reb-change-syntax): Use 'default' arg
      of completing-read.
      
      Copyright-paperwork-exempt: yes
      55c0c3e3
    • Rolf Ade's avatar
      sql-mode w/ sqlite: In-memory database · 71871670
      Rolf Ade authored
      Enable the usage of an in-memory database. Prior to this, sql-mode w/
      sqlite could only be used with file databases.
      * list/progmodes/sql.el (sql-get-login-ext): Don't expand an empty
      file name provided by the user, but call sub-process sqlite with that,
      in which case it uses an in-memory database.
      
      Copyright-paperwork-exempt: yes
      71871670
    • Allen Li's avatar
      Stop abbrev-prefix-mark from adding extra newline (Bug#25767) · c733d916
      Allen Li authored
      `abbrev--before-point' does not adjust `pos' to account for when it
      deletes the "-" left by abbrev-prefix-mark.  Therefore, when
      `abbrev-before-point' goes to restore point, it moves point one
      character too far forward.
      
      * lisp/abbrev.el (abbrev--before-point): Adjust pos when deleting "-".
      c733d916