1. 19 Mar, 2017 2 commits
  2. 18 Mar, 2017 5 commits
  3. 17 Mar, 2017 10 commits
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      MS-Windows followup for switch from Automake · d2458e5f
      Eli Zaretskii authored
      * nt/INSTALL:
      * nt/INSTALL.W64: Remove references to Automake.  (Bug#26100)
    • Paul Eggert's avatar
      ; Spelling fixes · de9e1724
      Paul Eggert authored
    • Paul Eggert's avatar
      Fixups for GNU Make switchover · 2f893509
      Paul Eggert authored
      This fixes some minor problems introduced in the recent switch to GNU
      Make, discovered by further testing.  Without some of these changes
      'make -j' would sometimes have race conditions caused by missing
      dependencies.  (Bug#26100)
      * .gitignore: Remove src/stamp-h.in, src/stamp-h1.
      * Makefile.in ($(MAKEFILE_NAME)): Depend on configure, not
      src/config.in, since the former's timestamp now represents
      the latter's.
      ($(srcdir)/configure): Use plain ./autogen.sh, for consistency
      with other autogen.sh invocations.
      Remove rule, as this file is no longer created.
      * Makefile.in (top_distclean):
      * src/Makefile.in (bootstrap-clean):
      No need to remove stamp-h1, as that was an Automake byproduct
      and Automake is no longer in use.
      * lib/Makefile.in, src/Makefile.in:
      (AUTOCONF_INPUTS, $(top_srcdir)/configure): Remove.
      (../config.status, Makefile): Simplify by limiting dependencies
      to files we care about and files in the repository, and by
      using just one file to represent the timestamps on multiple
      targets updated by the same rule.
      * autogen.sh: Do not create or use src/stamp-h.in.
      Instead, have 'find' test the two output files directly.
    • Paul Eggert's avatar
      Switch from Automake to GNU Make · 65faa7bc
      Paul Eggert authored
      Emacs assumes GNU Make, and GNU Make has much of the functionality of
      Automake built-in.  The Emacs build process uses Automake primarily
      because Emacs uses some Gnulib code and Gnulib formerly required
      Automake.  Now that Gnulib no longer requires Automake, Emacs can
      stop using Automake and this should simplify Emacs maintenance
      in the future (Bug#26100).  Although this patch may look long, most of
      it is generated automatically: the changes to build-aux/config.guess,
      build-aux/config.sub, build-aux/install-sh, and lib/gnulib.mk.in are
      all done by admin/merge-gnulib.
      * .gitignore: Remove build-aux/ar-lib, build-aux/compile,
      build-aux/config.guess, build-aux/config.sub, build-aux/depcomp,
      build-aux/install-sh, build-aux/missing, and lib/Makefile.in,
      as they are no longer built by autogen.sh.
      Add lib/gnulib.mk, as it is now built by 'configure'.
      Remove nt/gnulib.mk, as it is no longer built by 'make'.
      * INSTALL.REPO, README, admin/make-tarball.txt:
      Remove mention of Automake.
      ($(srcdir)/aclocal.m4, AUTOMAKE_INPUTS)
      ($(srcdir)/lib/Makefile.in, $(srcdir)/nt/gnulib.mk, am--refresh):
      ($(MAKEFILE_NAME)): Depend on lib/gnulib.mk.in.
      ($(srcdir)/configure, $(srcdir)/src/stamp-h.in)
      Use autogen.sh instead of doing it by hand.
      * admin/merge-gnulib (AVOIDED_MODULES, avoided_flags)):
      New vars, to simplify processing of avoided modules.
      (GNULIB_TOOL_FLAGS): Move --avoid flags into AVOIDED_MODULES.
      Add --gnu-make, and change makefile name to gnulib.mk.in.
      Copy config.guess, config.sub, and install-sh too, since
      Automake no longer does that for us.
      * admin/notes/copyright:
      * admin/update_autogen (genfiles):
      Update list of files.
      Remove hack for nt/gnulib.mk, a file that is no longer needed.
      * autogen.sh (progs): Remove Automake.
      (automake_min): Remove.
      Build aclocal.m4 so that autoreconf need not use aclocal.
      * build-aux/config.guess, build-aux/config.sub:
      * build-aux/install-sh:
      New files, copied from Gnulib.  These are now updated by
      admin/merge-gnulib instead by autogen.sh.
      (AC_PROG_CC_C_O): Call this instead of AM_PROG_CC_C_O.
      (BUILDING_FOR_WINDOWSNT, HYBRID_MALLOC_LIB): Remove; no longer needed.
      (--disable-silent-rules): New option, since Automake no longer
      does this for us.
      (AM_V, AM_DEFAULT_V): Set unconditionally, and do not bother
      with AM_SUBST_NOTMAKE.
      (AC_PROG_INSTALL): Add call.
      (MAKEINFO): Do not bother with the 'missing' program.
      (AC_CONFIG_FILES): Add Makefile, lib/gnulib.mk.
      (SUBDIR_MAKEFILES): Remove duplication.
      * lib/Makefile.am: Remove, replacing with:
      * lib/Makefile.in: New file, with the old Makefile.am contents
      and with the following changes:
      (AM_CFLAGS, DEFAULT_INCLUDES, libegnu_a_SOURCES, libegnu_a_LIBADD)
      (EXTRA_libegnu_a_SOURCES, libegnu_a_SHORTNAME, libegnu_a_CPPFLAGS):
      (VPATH, abs_top_builddir, top_builddir, top_srcdir, all, AM_V_AR)
      (libgnu.a, libegnu.a, ETAGS, $(ETAGS), tags, TAGS, clean)
      (mostlyclean, distclean, bootstrap-clean, maintainer-clean):
      New macros and rules, since Automake no longer does them.
      Include ../nt/gnulib-cfg.mk if SYSTEM_TYPE is windows-nt,
      instead of including ../nt/gnulib.mk if BUILDING_FOR_WINDOWS_NT.
      Include dependency files if AUTO_DEPEND.
      New macros.
      (bootstrap-clean): Depend on distclean, not maintainer-clean,
      and remove gnulib.mk.
      (AUTOCONF_INPUTS, $(top_srcdir)/configure, ../config.status, Makefile):
      New macros and rules, copied from ../Makefile.in.
      ($(libegnu_a_OBJECTS), $(libgnu_a_OBJECTS)): Depend on BUILT_SOURCES.
      (.c.o, e-%.o): New generic rules.
      * lib/gnulib.mk: Remove.
      * lib/gnulib.mk.in: New file, which is built by autogen.sh
      and contains much of what used to be in lib/gnulib.mk.
      * m4/gnulib-common.m4: Copy from gnulib.
      * make-dist: Do not distribute build-aux/compile, build-aux/depcomp,
      build-aux/missing, build-aux/ar-lib, lib/Makefile.am, nt/gnulib.mk,
      nt/gnulib-modules-to-delete.cfg.  Distribute lib/Makefile.in,
      lib/gnulib.mk.in, and nt/gnulib-cfg.mk instead.
      * nt/Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0)
      (am__v_GEN_1, ${srcdir}/gnulib.mk): Remove.
      * nt/gnulib-cfg.mk: New file, which supersedes ...
      * nt/gnulib-modules-to-delete.cfg: ... this file, which is removed.
      * src/Makefile.in (ACLOCAL_INPUTS): Remove.
      ($(top_srcdir)/configure, ../config.status, config.in Makefile):
      Defer to parent Makefile.
    • Paul Eggert's avatar
      Don't suggest Mailutils on MS-Windows · 9c07e888
      Paul Eggert authored
      * configure.ac: Don't suggest GNU Mailutils on MS-Windows, as it
      hasn't been ported.
    • Thien-Thi Nguyen's avatar
      Fix bug: Range-check integer ‘alpha’ frame parm value · 3c46ac7d
      Thien-Thi Nguyen authored
      Typo introduced 2013-04-01, "Prefer < to >
      in range checks such as 0 <= i && i < N".
      * src/frame.c (x_set_alpha): Use ‘ialpha’, not ‘alpha’.
    • Michael Albinus's avatar
      Fix Bug#26127 · 6b2f3ba0
      Michael Albinus authored
      * lisp/filenotify.el (file-notify--rm-descriptor): Check, that
      there is a function which could be called.  (Bug#26127)
      * test/lisp/filenotify-tests.el (file-notify--test-cleanup):
      Clear also `file-notify-descriptors'.
      (file-notify--test-make-temp-name): Move up.
      (file-notify-test02-rm-watch): New test.
      (file-notify-test03-events, file-notify-test04-autorevert)
      (file-notify-test07-many-events, file-notify-test08-backup)
      (file-notify-test10-sufficient-resources): Rename.
    • Eli Zaretskii's avatar
    • Paul Eggert's avatar
      Emacs 'movemail' is now a configure-time option · 9f771f64
      Paul Eggert authored
      The new configure option --with-mailutils lets the builder say
      that Emacs should assume that GNU Mailutils is installed, instead
      of continuing to build and install its own limited and insecure
      substitute for 'movemail'.
      * INSTALL, etc/NEWS, etc/PROBLEMS: Mention --with-mailutils.
      * configure.ac: Add --with-mailutils option.
      (with_mailutils): New variable.
      Do not bother configuring 'movemail' when not building it.
      Warn about issues relating to --with-mailutils.
      * doc/emacs/rmail.texi (Movemail): Mention --with-mailutils.
      (Movemail, Remote Mailboxes): Document port numbers in
      POP and IMAP URLs.
      * lib-src/Makefile.in (with_mailutils): New macro.
      (UTILITIES): Use it.
  4. 16 Mar, 2017 3 commits
    • Stefan Monnier's avatar
      Add obarray-size and fix tests accordingly. Use obarrayp in cedet. · ffbb4684
      Stefan Monnier authored
      * lisp/obarray.el (obarray-size): New function.
      * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-symbol)
      (semantic-lex-spp-save-table, semantic-lex-spp-macros):
      * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
      Use obarrayp.
      * test/lisp/obarray-tests.el (obarray-make-default-test)
      (obarray-make-with-size-test): Use it.
    • Michael Albinus's avatar
      Document remote file name syntax change · 265a5d97
      Michael Albinus authored
      * doc/emacs/files.texi (Remote Files, Quoted File Names):
      * doc/misc/org.texi (dir): Change examples to use a method.
      * doc/misc/tramp.texi (Top) [trampf]: Remove macro.  Add
      `Testing' menu entry.
      (History): Fix typos.  Mention syntax change.
      (Configuration, Default Host, File name Syntax)
      (File name completion, Frequently Asked Questions):
      Change examples to use a method.
      (External methods, Default Host, Multi-hops, Remote processes):
      Fix typos.
      (Default Method): Mention pseudo method "-".
      (External packages): Rewrite intention of `non-essential'.
      * etc/NEWS: Mark recent Tramp entries as documented.
    • Stefan Monnier's avatar
      (semantic-lex-type-invalid): Fix nested backquote. · f6b995ef
      Stefan Monnier authored
      * lisp/cedet/semantic/lex.el: Use lexical-binding.
      (semantic-lex-type-invalid): Fix nested backquote.
      (semantic-lex-map-symbols, semantic-lex-type-symbol)
      (semantic-lex-keyword-symbol): Use obarrayp.
  5. 15 Mar, 2017 4 commits
  6. 14 Mar, 2017 9 commits
    • Paul Eggert's avatar
      Merge from gnulib · fac0bb9c
      Paul Eggert authored
      This incorporates:
      2017-03-14 snippets: move unadjusted snippet sources to lib
      2017-03-14 gnulib-tool: fix typo in comment output
      2017-03-14 snippets: work around GNU Make 3.82 VPATH
      2017-03-13 gnulib-tool: minor --gnu-make fixups
      2017-03-12 gnulib-tool: new option --gnu-make
      * .gitignore: Remove lib/arg-nonnull.h, lib/c++defs.h,
      lib/warn-on-use.h.  Change exception from
      build-aux/snippet/_Noreturn.h to lib/_Noreturn.h.
      * admin/authors.el (authors-renamed-files-regexps):
      * admin/notes/copyright, make-dist:
      The snippet files moved from build-aux/snippet to lib.
      * lib/_Noreturn.h: Rename from build-aux/snippet/_Noreturn.h.
      * lib/arg-nonnull.h: Rename from build-aux/snippet/arg-nonnull.h.
      * lib/c++defs.h: Rename from build-aux/snippet/c++defs.h.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/warn-on-use.h: Rename from build-aux/snippet/warn-on-use.h.
    • Michael Albinus's avatar
    • Michael Albinus's avatar
      Reenable lost Tramp test case · a568d0a7
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp-test24-file-name-completion):
      Reenable lost test case.
    • Alan Third's avatar
      Revert "Remove NSEvent loop from ns_select (bug#25265)" · 726c6c97
      Alan Third authored
      This reverts commit 3bd2e9e9.
    • Alan Third's avatar
      Revert "Add missing timeout value in ns_select" · 9bfa7973
      Alan Third authored
      This reverts commit a6523621.
    • Alan Third's avatar
      Remove old macOS compatibility code · ea5a7f99
      Alan Third authored
      * src/nsimage.m, src/nsmenu.m, src/nsterm.m: Remove code only for
      macOS versions below 10.6 as they are not supported in Emacs 25+.
    • Michael Albinus's avatar
      Tune `tramp-completion-file-name-regexp-unified' · 19a04b4c
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-completion-file-name-regexp-unified):
      Extend this regexp to match also "/".
    • Tino Calancha's avatar
      Show ancestor buffer in 3way merges · 0f3d1b78
      Tino Calancha authored
      Add an option ediff-show-ancestor', to control if the ancestor buffer
      must be shown in 3way merges (Bug#25493); set it non-nil by default.
      Add a toggle to change this option interactively; the original
      value of the option is restored on exit.
      Update the window setup so that the ancestor buffer is
      shown in 3way merges when ediff-show-ancestor is non-nil.
      Any operation on ediff windows must take in account the
      ancestor window as well, when this is shown.
      * lisp/vc/ediff-init.el (ediff-show-ancestor): New option.
      (ediff--show-ancestor-orig): New defvar.
      * lisp/vc/ediff-wind.el (ediff-window-Ancestor): New defvar.
      (ediff-setup-windows-plain-merge, ediff-setup-windows-multiframe-merge):
      Display ancestor buffer if ediff-show-ancestor is non-nil.
      (ediff-keep-window-config): Expect ancestor window in
      (ediff-window-alist): Add entry for the ancestor window.
      * lisp/vc/ediff-util.el (ediff-setup-control-buffer):
      ediff-window-config-saved contains ancestor window.
      (ediff-show-ancestor): Delete this command.
      (ediff-setup-keymap): Bind ediff-toggle-show-ancestor to '/' for merge jobs.
      (ediff-update-diffs): Compute new diffs using ancestor buffer in 3way merges;
      don't cheat it to think that is performing a comparison, that trick is not
      necessary anymore: simply call 'ediff-setup-diff-regions-function'
      with file-A, file-B and the file ancestor.
      (ediff-recenter): Update doc string.  Consider the ancestor buffer.
      (ediff--check-ancestor-exists): New defun.
      (ediff-toggle-show-ancestor): New command; toggle ediff-show-ancestor.
      (ediff--restore-options-on-exit): Restore ediff-show-ancestor on exit.
      (ediff-scroll-vertically, ediff-scroll-horizontally)
      (ediff-operate-on-windows): Consider the ancestor as well.
      * lisp/vc/ediff-help.el (ediff-long-help-message-merge):
      List ediff-toggle-show-ancestor.
      * doc/misc/ediff.texi (Introduction, Quick Help Commands): Update manual.
      ; * etc/NEWS: Announce these changes.
    • Tino Calancha's avatar
      diff-mode: Improve default faces for buffer ancestor · e39d5934
      Tino Calancha authored
      * lisp/vc/ediff-init.el (ediff-current-diff-Ancestor)
      (ediff-fine-diff-Ancestor): Use defaults consistent with
      faces for 'ediff-buffer-A' and 'ediff-buffer-B'.
  7. 13 Mar, 2017 7 commits
    • Paul Eggert's avatar
      Fix make-dist typo · 84b6bc9e
      Paul Eggert authored
      * make-dist: Fix typo introduced in the Bug#25895 fix.
    • Michael Albinus's avatar
    • Michael Albinus's avatar
      Require method in remote file name syntax · ed33337c
      Michael Albinus authored
      * lisp/minibuffer.el (completion--nth-completion):
      Do not bind `non-essential'.
      * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
      * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
      * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection): Do not call
      * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options): Better traces.
      (tramp-maybe-open-connection): Do not use argument for
      * lisp/net/tramp.el (tramp-default-method-marker): New defconst.
      (tramp-prefix-format, tramp-postfix-method-format)
      (tramp-prefix-ipv6-format, tramp-postfix-ipv6-format)
      (tramp-prefix-port-format, tramp-postfix-host-format)
      (tramp-file-name-regexp, tramp-completion-file-name-regexp):
      Use `eq' instead of `eqal'.
      (tramp-method-regexp, tramp-domain-regexp)
      (tramp-completion-file-name-regexp-separate): Adapt regexp.
      (tramp-run-real-handler): Autoload them.
      (tramp-find-method): Handle `tramp-default-method-marker'.
      (tramp-completion-run-real-handler): Remove them.
      (tramp-error-with-buffer, tramp-connectable-p): Do not use
      argument for ´tramp-completion-mode-p'.
      (tramp-find-foreign-file-name-handler): Remove COMPLETION
      argument.  Do not apply heuristic for completion.
      (tramp-file-name-handler): Do not modify `non-essential'.
      (tramp-completion-file-name-handler): Change implementation.
      Call `tramp-run-real-handler'.
      (tramp-completion-mode-p): Do not autoload.  Remove argument.
      Do not apply heuristic for completion.
      (tramp-completion-dissect-file-name): Simplify implementation.
      (tramp-handle-file-name-as-directory): Call `tramp-connectable-p'.
      * test/lisp/net/tramp-tests.el (tramp-test01-file-name-syntax)
      (tramp-test06-directory-file-name): Adapt to the new syntax.
      (tramp-test11-copy-file, tramp-test12-rename-file)
      (tramp--test-check-files): Deactivate temporarily tests with
      quoted file names.
      (tramp-test16-directory-files, tramp-test17-insert-directory):
      Adapt tests.
      (tramp-test24-file-name-completion): Do not check for
      completion mode.
      (tramp-test31-make-auto-save-file-name): Deactivate temporarily
      two tests.
    • Eli Zaretskii's avatar
      Fix bidi paragraph direction when inserting text at newline · f591765e
      Eli Zaretskii authored
      * src/insdel.c (invalidate_buffer_caches): Invalidate the bidi
      paragraph cache when inserting immediately after a newline.
    • Tino Calancha's avatar
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-print.el (cl-print-compiled): New variable · 94b59f7d
      Stefan Monnier authored
      (cl-print-object) <compiled-function>: Print the docstring and
      interactive form.  Obey cl-print-compiled.
    • Noam Postavsky's avatar
      Fix indent-sexp when called from inside a string (Bug#21343) · cf670b49
      Noam Postavsky authored
      * lisp/emacs-lisp/lisp-mode.el (indent-sexp): Get initial syntax parse
      state from `syntax-ppss'.