1. 30 Jul, 2018 2 commits
  2. 28 Jul, 2018 1 commit
  3. 27 Jul, 2018 1 commit
    • Noam Postavsky's avatar
      Don't fail to indent-sexp before a full sexp (Bug#31984) · 85791053
      Noam Postavsky authored
      * lisp/emacs-lisp/lisp-mode.el (indent-sexp): Only signal error if the
      initial forward-sexp fails.  Suppress scan-error forn any of the
      forward-sexp calls after that.
      * test/lisp/emacs-lisp/lisp-mode-tests.el (indent-sexp-cant-go): New
      test.
      85791053
  4. 25 Jul, 2018 1 commit
    • Michael Albinus's avatar
      File Shadowing is not available on MS Windows · 2585fcb1
      Michael Albinus authored
      * doc/emacs/files.texi (File Shadowing): File Shadowing is not
      available on MS Windows.
      
      * test/lisp/shadowfile-tests.el (shadow-test00-clusters)
      (shadow-test01-sites, shadow-test02-files)
      (shadow-test03-expand-cluster-in-file-name)
      (shadow-test04-contract-file-name, shadow-test05-file-match)
      (shadow-test06-literal-groups, shadow-test07-regexp-groups)
      (shadow-test08-shadow-todo, shadow-test09-shadow-copy-files):
      Skip under MS Windows.
      2585fcb1
  5. 22 Jul, 2018 1 commit
    • Noam Postavsky's avatar
      Fix indent-sexp of #s(...) (Bug#31984) · 1b4b9659
      Noam Postavsky authored
      * lisp/emacs-lisp/lisp-mode.el (indent-sexp): Look for a sexp that
      ends after the current line.
      * test/lisp/emacs-lisp/lisp-mode-tests.el (indent-sexp-go): New test.
      1b4b9659
  6. 21 Jul, 2018 1 commit
    • Michael Albinus's avatar
      Fix Bug#32226 · e0f33ea3
      Michael Albinus authored
      * lisp/shadowfile.el (shadow-site-name, shadow-name-site):
      Use "[-.[:word:]]+" as hostname regexp.  (Bug#32226)
      
      * test/lisp/shadowfile-tests.el (shadow-test06-literal-groups)
      (shadow-test07-regexp-groups, shadow-test08-shadow-todo)
      (shadow-test09-shadow-copy-files): Skip if needed.
      e0f33ea3
  7. 20 Jul, 2018 1 commit
    • Michael Albinus's avatar
      Fix (Bug#32218). Do not merge with master · 61de292c
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "2.3.4.26.2".
      (customize-package-emacs-version-alist): Add Tramp version
      integrated in Emacs 26.2.
      
      * lisp/net/tramp.el (tramp-handle-file-truename):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename): Fix problem
      with trailing slash.  (Bug#32218)
      
      * test/lisp/net/tramp-tests.el (tramp-test21-file-links):
      Remove `tramp--test-emacs27-p' check.
      61de292c
  8. 18 Jul, 2018 2 commits
    • Michael Albinus's avatar
      Adapt shadowfile.el for Tramp (Bug#4526, Bug#4846) · 7a258fa0
      Michael Albinus authored
      * etc/NEWS: Mention changes in shadowfile.el.
      
      * lisp/shadowfile.el (top): Require 'tramp instead of 'ange-ftp.
      (shadow-cluster): New defstruct.
      (shadow-make-cluster, shadow-cluster-name, shadow-cluster-primary)
      (shadow-cluster-regexp, shadow-get-user)
      (shadow-parse-fullname): Remove.
      (shadow-info-file, shadow-todo-file, shadow-system-name)
      (shadow-homedir, shadow-regexp-superquote, shadow-suffix)
      (shadow-set-cluster, shadow-get-cluster, shadow-site-name)
      (shadow-name-site, shadow-site-primary, shadow-site-cluster)
      (shadow-read-site, shadow-parse-name, shadow-make-fullname)
      (shadow-replace-name-component, shadow-local-file)
      (shadow-expand-cluster-in-file-name, shadow-contract-file-name)
      (shadow-same-site, shadow-file-match, shadow-define-cluster)
      (shadow-define-literal-group, shadow-define-regexp-group)
      (shadow-make-group, shadow-shadows-of-1, shadow-read-files)
      (shadow-write-info-file, shadow-write-todo-file)
      (shadow-initialize): Adapt variables and functions.
      
      * test/lisp/shadowfile-tests.el: New file.
      7a258fa0
    • Noam Postavsky's avatar
      Fix auth-source-delete (Bug#26184) · cb50077b
      Noam Postavsky authored
      * lisp/auth-source.el (auth-source-delete): Fix `auth-source-search'
      call.
      * test/lisp/auth-source-tests.el (auth-source-delete): New test.
      cb50077b
  9. 13 Jul, 2018 2 commits
    • Michael Albinus's avatar
      Use consistent function names in thread-tests.el · 17ebb6e5
      Michael Albinus authored
      * test/src/thread-tests.el (threads-call-error, threads-custom)
      (threads-errors, threads-sticky-point, threads-signal-early):
      Rename, using naming convention to prefix with "threads-".
      17ebb6e5
    • Noam Postavsky's avatar
      Match w32 paths in grep sans --null hits (Bug#32051) · 3eb4603b
      Noam Postavsky authored
      * lisp/progmodes/grep.el (grep-regexp-alist): Add an optional part to
      match paths starting with C: (other drive letters).
      * test/lisp/progmodes/compile-tests.el
      (compile-tests--grep-regexp-testcases)
      (compile-tests--grep-regexp-tricky-testcases)
      (compile-test-grep-regexps): New tests.
      (compile--test-error-line): Return `compilation-message'.
      3eb4603b
  10. 12 Jul, 2018 1 commit
    • Michael Albinus's avatar
      Provide feature 'threads · 3744fda5
      Michael Albinus authored
      * src/thread.c (syms_of_threads): Provide feature "threads".
      
      * test/src/thread-tests.el (top): Declare the functions.
      (all): Use (featurep 'threads) check.
      3744fda5
  11. 09 Jul, 2018 3 commits
    • Noam Postavsky's avatar
      Stop using indent-line-to in lisp-indent-line (Bug#32014) · 8f7d35ca
      Noam Postavsky authored
      This is partial revert of "Remove ignored argument from
      lisp-indent-line", because `indent-line-to' doesn't respect field
      boundaries.
      * lisp/emacs-lisp/lisp-mode.el (lisp-indent-line): Use delete-region
      and indent-to instead of `indent-line-to'.
      * test/lisp/emacs-lisp/lisp-mode-tests.el
      (lisp-indent-with-read-only-field): Expect to pass.
      
      Don't merge to master, we will fix indent-line-to there instead.
      8f7d35ca
    • Noam Postavsky's avatar
      ; Test for Bug#32014 · db3f7797
      Noam Postavsky authored
      * test/lisp/emacs-lisp/lisp-mode-tests.el
      (lisp-indent-with-read-only-field): New test.
      db3f7797
    • Michael Albinus's avatar
      Fix Bug#32090 · 917158f8
      Michael Albinus authored
      * lisp/files-x.el (connection-local-normalize-criteria): Do not
      use PROPERTIES anymore.
      (connection-local-get-profiles): Rewrite, in order to accept any
      property as optional.  (Bug#32090)
      (connection-local-set-profiles):
      Adapt ´connection-local-normalize-criteria' call.
      
      * test/lisp/files-x-tests.el
      (files-x-test-connection-local-set-profiles)
      (files-x-test-hack-connection-local-variables-apply): Extend tests.
      917158f8
  12. 08 Jul, 2018 2 commits
  13. 27 Jun, 2018 1 commit
    • Michael Albinus's avatar
      Sync with Tramp 2.3.4. Do not merge with master · 1f503792
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "2.3.4".
      
      * lisp/net/tramp-smb.el (tramp-smb-handle-delete-directory):
      Check, that the directory has been removed indeed.
      
      * test/lisp/net/tramp-tests.el (tramp-test21-file-links): Adapt test.
      (tramp--test-emacs25-p): New defun.
      (tramp-test34-vc-registered): Use it.
      1f503792
  14. 20 Jun, 2018 1 commit
    • Noam Postavsky's avatar
      Fix #'fun handling inside `labels' (Bug#31792) · e292c097
      Noam Postavsky authored
      * lisp/emacs-lisp/cl.el (labels): Apply the equivalent of the
      cl-labels change from 2015-01-16 "* lisp/emacs-lisp/cl-macs.el: Fix
      last change".
      * test/lisp/emacs-lisp/cl-tests.el (labels-function-quoting): New
      test.
      * lisp/emacs-lisp/cl-macs.el (cl-flet, cl-labels): Improve docstring,
      link to relevant manual page.
      * doc/misc/cl.texi (Function Bindings): Don't imply that function
      cells of symbols are modified by cl-flet.  Don't claim that cl-flet or
      cl-labels affect references of the form (quote FUNC).
      e292c097
  15. 16 Jun, 2018 1 commit
    • Paul Eggert's avatar
      Fix byte compilation of (eq foo 'default) · e1284341
      Paul Eggert authored
      Backport from master.
      Do not use the symbol ‘default’ as a special marker.
      Instead, use a value that cannot appear in the program,
      improving on a patch proposed by Robert Cochran (Bug#31718#14).
      * lisp/emacs-lisp/bytecomp.el (byte-compile--default-val):
      New constant.
      (byte-compile-cond-jump-table-info)
      (byte-compile-cond-jump-table): Use it instead of 'default.
      * test/lisp/emacs-lisp/bytecomp-tests.el:
      (byte-opt-testsuite-arith-data): Add a test for the bug.
      e1284341
  16. 15 Jun, 2018 1 commit
  17. 12 Jun, 2018 2 commits
    • Noam Postavsky's avatar
      ; Reduce quoting for SELECTOR in 'make -C test' (Bug#31744) · 5bdc3447
      Noam Postavsky authored
      Before:
      
          make -C test SELECTOR='\"foo\"'
          make -C test SELECTOR='(quote (tag :some-tag))'
      
      After:
      
          make -C test SELECTOR='"foo"'
          make -C test SELECTOR='(tag :some-tag)'
      
      * test/Makefile.in: Use single quotes around the command line call to
      ert, this means the user doesn't have to backslash escape double
      quotes when writing lisp strings for the selector.  Also wrap the
      SELECTOR value in (quote ...) so the user won't have to type it
      in (and not get tempted to use the '... reader syntax form which would
      now fail to work due to using single quotes around the whole shell
      arg).
      * test/README: Update instructions accordingly.
      5bdc3447
    • Noam Postavsky's avatar
      ; test/Makefile.in: Add TEST_INTERACTIVE option (Bug#31744). · b6b793bd
      Noam Postavsky authored
      * test/README: Note the new option.
      b6b793bd
  18. 10 Jun, 2018 1 commit
  19. 09 Jun, 2018 1 commit
    • Eli Zaretskii's avatar
      Update Unicode data files to version 11.0.0 of Unicode · 36bbdfc0
      Eli Zaretskii authored
      * admin/unidata/UnicodeData.txt:
      * admin/unidata/SpecialCasing.txt:
      * admin/unidata/NormalizationTest.txt:
      * admin/unidata/copyright.html:
      * admin/unidata/BidiMirroring.txt:
      * admin/unidata/BidiBrackets.txt: Import from Unicode 11.0.
      * admin/notes/unicode: Update the URL for OTF script tags.
      
      * lisp/international/mule-cmds.el (ucs-names): Update unused ranges.
      * lisp/international/fontset.el (script-representative-chars): Add
      hanifi-rohingya, old-sogdian, sogdian, dogra, gunjala-gondi,
      makasar, and medefaidrin.
      (otf-script-alist): Add old-hungarian.
      * lisp/international/characters.el (tbl): Add syntax entries for
      Supplemental Mathematical Operators, Miscellaneous Symbols and
      Arrows, and Supplemental Punctuation.
      Update the list of wide characters.
      
      * test/lisp/international/ucs-normalize-tests.el
      (ucs-normalize-tests--failing-lines-part2): Update to match
      admin/unidata/NormalizationTest.txt.
      
      * doc/lispref/nonascii.texi (Character Properties): Update the
      reference to the Unicode Standard.
      * doc/misc/efaq.texi (New in Emacs 26):
      * etc/NEWS: Mention compatibility with Unicode 11.0.
      36bbdfc0
  20. 07 Jun, 2018 1 commit
  21. 04 Jun, 2018 1 commit
    • Gemini Lasswell's avatar
      Make cl-print respect print-level and print-length (bug#31559) · 5d448ca9
      Gemini Lasswell authored
      * lisp/emacs-lisp/cl-print.el (cl-print--depth): New variable.
      (cl-print-object) <cons>: Print ellipsis if printing depth greater
      than 'print-level' or length of list greater than 'print-length'.
      (cl-print-object) <vector>: Truncate printing with ellipsis if
      vector is longer than 'print-length'.
      (cl-print-object) <cl-structure-object>: Truncate printing with
      ellipsis if structure has more slots than 'print-length'.
      (cl-print-object) <:around>: Bind 'cl-print--depth'.
      * test/lisp/emacs-lisp/cl-print-tests.el
      (cl-print-tests-3, cl-print-tests-4): New tests.
      
      (cherry picked from commit 0f48d18f)
      5d448ca9
  22. 03 Jun, 2018 6 commits
    • Stefan Monnier's avatar
      Fix bug#30846, along with misc cleanups found along the way · ed962f2b
      Stefan Monnier authored
      * test/src/data-tests.el (data-tests-kill-all-local-variables): New test.
      
      * src/buffer.c (swap_out_buffer_local_variables): Remove.
      Fuse the body of its loop into that of reset_buffer_local_variables.
      (Fkill_buffer, Fkill_all_local_variables): Don't call it any more.
      (reset_buffer_local_variables): Make sure the buffer's local binding
      is swapped out before removing it from the alist (bug#30846).
      Call watchers before actually killing the var.
      
      * src/data.c (Fmake_local_variable): Simplify.
      Use swap_in_global_binding to swap out any local binding, instead of
      a mix of find_symbol_value followed by messing with where&found.
      Don't call swap_in_symval_forwarding since the currently swapped
      binding is never one we've modified.
      (Fkill_local_variable): Use swap_in_global_binding rather than messing
      with where&found to try and trick find_symbol_value into doing the same.
      
      * src/alloc.c (mark_localized_symbol): 'where' can't be a frame any more.
      
      (cherry picked from commit 3ddff080)
      ed962f2b
    • Noam Postavsky's avatar
      Fix cl-print for circular sublists (Bug#31146) · 9552485c
      Noam Postavsky authored
      * lisp/emacs-lisp/cl-print.el (cl-print-object) <cons>: Push each
      element of list being printed onto cl-print--currently-printing.
      * test/lisp/emacs-lisp/cl-print-tests.el (cl-print-circle-2): New
      test.
      
      (cherry picked from commit b8aa7ecf)
      9552485c
    • Noam Postavsky's avatar
      Fix another case of freed markers in the undo-list (Bug#30931) · daa60233
      Noam Postavsky authored
      * src/alloc.c (free_marker): Remove.
      * src/editfns.c (save_restriction_restore):
      * src/insdel.c (signal_before_change): Detach the markers from the
      buffer when we're done with them instead of calling free_marker on
      them.
      * test/src/editfns-tests.el (delete-region-undo-markers-1)
      (delete-region-undo-markers-2): New tests.
      
      (cherry picked from commit 96b8747d)
      daa60233
    • Tino Calancha's avatar
      query-replace undo: Handle when user edits the replacement string · 5fa73a7d
      Tino Calancha authored
      * lisp/replace.el (perform-replace): Update the replacement string
      after the user edit it (Fix Bug#31538).
      
      * test/lisp/replace-tests.el (query-replace-undo-bug31538): New test.
      
      Backport: (cherry picked from commits
      ea133e04
      and
      7dcfdf5b)
      5fa73a7d
    • Tino Calancha's avatar
      Backport: Fix corner case in query-replace-regexp undo · 031004e8
      Tino Calancha authored
      This commit fixes Bug#31492.
      * lisp/replace.el (replace-match-maybe-edit): Preserve match data.
      
      * test/lisp/replace-tests.el (query-replace-undo-bug31492): Add test.
      
      (cherry picked from commit bab73230)
      031004e8
    • Tino Calancha's avatar
      Backport: Preserve case in query-replace undo · 50c0624b
      Tino Calancha authored
      If the user query and replaces 'foo' with 'BAR', then
      undo must comeback to 'foo', not to 'FOO' (Bug#31073).
      * lisp/replace.el (perform-replace): Bind nocasify to non-nil
      value during undo/undo-all actions.
      * test/lisp/replace-tests.el (query-replace-undo-bug31073): Add test.
      
      (cherry picked from commit 32dc0cb1)
      50c0624b
  23. 29 May, 2018 1 commit
    • Michael Albinus's avatar
      Sync with Tramp 2.3.4-pre · e8912d5b
      Michael Albinus authored
      * doc/misc/trampver.texi: Change version to "2.3.4-pre
      
      * lisp/net/tramp.el (tramp-mode, tramp-verbose)
      (tramp-backup-directory-alist, tramp-auto-save-directory)
      (tramp-encoding-shell, tramp-encoding-command-switch)
      (tramp-encoding-command-interactive, tramp-default-method)
      (tramp-default-method-alist, tramp-default-user)
      (tramp-default-user-alist, tramp-default-host)
      (tramp-default-host-alist, tramp-default-proxies-alist)
      (tramp-save-ad-hoc-proxies, tramp-restricted-shell-hosts-alist)
      (tramp-local-end-of-line, tramp-rsh-end-of-line)
      (tramp-login-prompt-regexp, tramp-shell-prompt-pattern)
      (tramp-password-prompt-regexp, tramp-wrong-passwd-regexp)
      (tramp-yesno-prompt-regexp, tramp-yn-prompt-regexp)
      (tramp-terminal-prompt-regexp)
      (tramp-operation-not-permitted-regexp, tramp-copy-failed-regexp)
      (tramp-process-alive-regexp, tramp-chunksize)
      (tramp-process-connection-type, tramp-connection-timeout)
      (tramp-connection-min-time-diff)
      (tramp-completion-reread-directory-timeout):
      * lisp/net...
      e8912d5b
  24. 02 May, 2018 1 commit
    • Paul Eggert's avatar
      Port collation tests to glibc 2.27 · f4b5ff20
      Paul Eggert authored
      * test/src/fns-tests.el (fns-tests-collate-strings)
      (fns-tests-collate-sort): Don’t make unportable assumptions
      about how en_US.UTF-8 collation works.  These assumptions
      are not true on Fedora 28, which ships with glibc 2.27.
      f4b5ff20
  25. 17 Apr, 2018 1 commit
  26. 22 Mar, 2018 2 commits
    • Eric Abrahamsen's avatar
      Adjust eieio persistence tests for expected failure · 7612dd14
      Eric Abrahamsen authored
      * test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
       (eieio-test-persist-hash-and-vector,
        eieio-test-persist-interior-lists): Persistence does not currently
       handle deeply-nested objects. Expect current failures, and mark for
       future fixes.
      7612dd14
    • Pierre Téchoueyres's avatar
      Add new tests for eieio persistence · 4ec935dc
      Pierre Téchoueyres authored
      * test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el:
        (hash-equal): New comparison test for hash-tables.
        (persist-test-save-and-compare): Use test for hash-tables.
        (eieio-test-persist-hash-and-vector,
        eieio-test-persist-interior-lists): New tests.
      4ec935dc
  27. 19 Mar, 2018 1 commit