1. 17 Sep, 2017 9 commits
    • Paul Eggert's avatar
      Merge from Gnulib · 6bbbc38b
      Paul Eggert authored
      This incorporates:
      2017-09-16 manywarnings: port to GCC on 64-bit MS-Windows
      2017-09-13 all: Replace many more http URLs by https URLs
      * build-aux/config.guess, build-aux/config.sub:
      * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
      * lib/allocator.h, lib/count-leading-zeros.h:
      * lib/count-trailing-zeros.h, lib/dup2.c, lib/filevercmp.c:
      * lib/fstatat.c, lib/fsync.c, lib/ftoastr.c, lib/ftoastr.h:
      * lib/intprops.h, lib/signal.in.h, lib/stdio-impl.h, lib/stdio.in.h:
      * lib/unistd.in.h, lib/utimens.c, m4/alloca.m4, m4/extern-inline.m4:
      * m4/fstatat.m4, m4/gnulib-common.m4, m4/manywarnings.m4:
      * m4/std-gnu11.m4, m4/sys_types_h.m4, m4/vararrays.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
    • Michael Albinus's avatar
      Fix compatibility problem in Tramp · 57249fb2
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-interrupt-process): Better error handling.
      * lisp/net/tramp-compat.el (default-toplevel-value): Move up.
      (top): Do not call `tramp-change-syntax' anymore.
      (tramp-compat-directory-name-p): New defalias.
      * lisp/net/tramp-adb.el (tramp-adb-handle-copy-file):
      * lisp/net/tramp-sh.el (tramp-sh-handle-copy-directory):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-copy-file): Use it.
      * test/lisp/net/tramp-tests.el (tramp-test28-interrupt-process):
      Modify test.
    • Eli Zaretskii's avatar
      Avoid GCC 7 compilation warning in eval.c · 411bec82
      Eli Zaretskii authored
      * src/eval.c (push_handler_nosignal): Use CACHEABLE to work around
      GCC compilation warning.  Suggested by Paul Eggert <eggert@cs.ucla.edu>
      in http://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00492.html.
    • Mark Oteiza's avatar
      ; Partially revert c3445aed · 34a6774d
      Mark Oteiza authored
      The pdf-view-mode entry had been added recently and should not have been
      * lisp/net/mailcap.el: Restore pdf-view-mode entry from the pdf-tools
    • Michael Albinus's avatar
      Adapt Tramp version. Do not merge · 3003ac04
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "".
      (customize-package-emacs-version-alist): Add Tramp version
      integrated in Emacs 26.1.
    • Tom Tromey's avatar
      Search for Syntax section when viewing MDN · 48d39c39
      Tom Tromey authored
      * lisp/textmodes/css-mode.el (css--mdn-after-render): Also search for
      "Syntax" section.
    • Tom Tromey's avatar
      Allow smerge-keep-current to work for empty hunks · 9d101376
      Tom Tromey authored
      * lisp/vc/smerge-mode.el (smerge-get-current): Allow point to be at
      * test/lisp/vc/smerge-mode-tests.el: New file.
    • Tom Tromey's avatar
      Call vc-setup-buffer in vc-git-log-{in,out}going · 13aba24a
      Tom Tromey authored
      * lisp/vc/vc-git.el (vc-git-log-incoming, vc-git-log-outgoing): Call
    • Stefan Monnier's avatar
      Fix last change to textmodes/page-ext.el · 1d599df5
      Stefan Monnier authored
      * lisp/textmodes/page-ext.el (pages-directory): Make buffer writable
      while we build it (bug#28431).
  2. 16 Sep, 2017 17 commits
  3. 15 Sep, 2017 12 commits
    • Vincent Belaïche's avatar
    • Vincent Belaïche's avatar
      Make landscape layout with geometry package rather than a PostScript special. · d1458d0f
      Vincent Belaïche authored
      * lisp/calendar/cal-tex.el (cal-tex-preamble): Make 12pt the
      default class option.
      (cal-tex-year, cal-tex-cursor-month-landscape): Pass landscape
      request to `cal-tex-insert-preamble' function call within the
      class option string.
      (cal-tex-cursor-month): Don't pass any longer "12pt" argument
      to `cal-tex-insert-preamble' function, as it is default.
      (cal-tex-insert-preamble): Suppress landscape and size
      argument, and replace them by a class-options string
      argument. Do not insert any longer "\special{landscape}" in
      case of landscape layout, as the job is made by the geometry
    • Mark Oteiza's avatar
    • Eli Zaretskii's avatar
      One more attempt to avoid GCC 7 warnings in dispnew.c · 541b596b
      Eli Zaretskii authored
      * src/dispnew.c (adjust_glyph_matrix): Use eassume instead of
      eassert, to avoid compilation warnings about NULL pointer
    • Mark Oteiza's avatar
      Fix color-distance docstring · 6e38b925
      Mark Oteiza authored
      Also feed the translated color to the metric argument.
      * src/xfaces.c (color-distance): Reword docstring to be more helpful.
      Avoid duplicating effort in lcms2 by passing the translated 16 bit RGB
      instead of the function's color arguments.
    • Michael Albinus's avatar
      Improve Tramp behaviour according to bug#27986 · 7911ebc6
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-handle-copy-file):
      * lisp/net/tramp-sh.el (tramp-sh-handle-copy-directory):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-copy-file): Check, that NEWNAME is a
      directory name when existing.  Use `file-name-as-directory'
      where appropriate.
    • Mark Oteiza's avatar
      ; Partially revert previous commit · 1c700547
      Mark Oteiza authored
      The reduction in was because I broke it.
      * lisp/json.el (json-pop): Do not bind at compile time something needed
      at run time.
    • Mark Oteiza's avatar
      More JSON optimization · 3b783a75
      Mark Oteiza authored
      Last I checked, inlining json-skip-whitespace didn't make much
      difference.  However, changing defsubsts to define-inline results
      in roughly 15% reduction in read time on a 200K file.
      * lisp/json.el (json-advance, json-peek, json-pop):
      (json-skip-whitespace): Inline with define-inline.
      (json-read-keyword): Don't use whitespace syntax.
      (json-add-to-object): Simpler condition.
    • Eli Zaretskii's avatar
      Avoid crashes due to invalid error forms from sentinels/filters · 817e92b2
      Eli Zaretskii authored
      * src/process.c (exec_sentinel_error_handler): Make sure the error
      form passed to cmd_error_internal is a cons cell.  (Bug#28430)
    • Eli Zaretskii's avatar
      Avoid compilation warnings with GCC 7 on MS-Windows · 015172d1
      Eli Zaretskii authored
      * src/w32term.c (w32_setup_relief_color, construct_mouse_click)
      (w32_read_socket): Initialize variables to shut up bogus
      compilation warnings from GCC 7.
      * src/unexw32.c (COPY_CHUNK, COPY_PROC_CHUNK): Cast to DWORD_PTR
      to avoid compiler warnings about printing signed values using %x
      format spec.
      * src/dispnew.c (adjust_glyph_matrix): Add eassert to avoid
      compiler warning about possible NULL pointer dereference.
      * src/lisp.h (pI): Tweak the definition some more for MinGW64.
    • Martin Rudalics's avatar
      Define gnutls_rnd for WINDOWSNT and HAVE_GNUTLS3 case only · 025e2165
      Martin Rudalics authored
      * src/fns.c (gnutls_rnd): Define for WINDOWSNT and HAVE_GNUTLS3
      case only to avoid unused macros warning otherwise.
    • Martin Rudalics's avatar
      In w32heap.c bump up DUMPED_HEAP_SIZE · 0ce6b431
      Martin Rudalics authored
      * src/w32heap.c (DUMPED_HEAP_SIZE): Bump up DUMPED_HEAP_SIZE
      to 13*1024*1024 for 32-bit non-wide-integer builds.
  4. 14 Sep, 2017 2 commits