1. 19 Dec, 2018 2 commits
    • Glenn Morris's avatar
      Skip a vc-bzr test if run as root · fda43a7b
      Glenn Morris authored
      * test/lisp/vc/vc-bzr-tests.el (vc-bzr-test-faulty-bzr-autoloads):
      Skip this test when run as root.  This works around a race
      condition in root-specific code in vc-mode-line when deleting a file.
      ; Do not merge to master, instead fix vc-mode-line there.
    • Glenn Morris's avatar
      Restrict downcasing in elisp xref tests (bug#25534) · 4c6c327d
      Glenn Morris authored
      The tests happen to not fail at the moment because find-library-name
      now has an extra feature, find-library--from-load-history, which
      happens to do a case-insensitive regexp match; but still it seems
      better not to rely on this.
      * test/lisp/progmodes/elisp-mode-tests.el (xref--case-insensitive):
      New variable.
      (xref-elisp-test-run, emacs-test-dir): Only downcase if the
      filesystem seems to be case-insensitive.
  2. 18 Dec, 2018 1 commit
  3. 15 Dec, 2018 1 commit
  4. 14 Sep, 2018 1 commit
    • Leo Liu's avatar
      Fix (thing-at-point 'list) regression (Bug#31772) · 1e3b3fa6
      Leo Liu authored
      * lisp/thingatpt.el (thing-at-point-bounds-of-list-at-point): Revert
        to pre 26.1 behavior.  Return whole sexp at point if no enclosing
        (list-at-point): New optional arg to ignore comments and strings.
      * test/lisp/thingatpt-tests.el
        (thing-at-point-bounds-of-list-at-point): Fix and augment tests.
  5. 30 Aug, 2018 1 commit
  6. 12 Aug, 2018 1 commit
    • Michael Albinus's avatar
      Backport fix for Bug#32226 · 18422976
      Michael Albinus authored
      * test/lisp/shadowfile-tests.el: Set Tramp variables for hydra.
      (shadow-test06-literal-groups, shadow-test07-regexp-groups)
      (shadow-test08-shadow-todo, shadow-test09-shadow-copy-files):
      Use `set-visited-file-name' instead of setting the value in
      `buffer-file-name' directly.
      (shadow-test08-shadow-todo, shadow-test09-shadow-copy-files):
      Test for writable temporary directory.  Suppress errors in
      cleanup.  (Bug#32226)
  7. 10 Aug, 2018 1 commit
    • Filipp Gunbin's avatar
      Fix bugs in `auth-source-netrc-parse-one'. · 5e42c349
      Filipp Gunbin authored
      * lisp/auth-source.el (auth-source-netrc-parse-one): Ensure that match
        data is not overwritten in `auth-source-netrc-parse-next-interesting'.
        Ensure that blanks are skipped before and after going over comments
        and eols.
      * test/lisp/auth-source-tests.el (auth-source-test-netrc-parse-one): New test.
      (cherry picked from commit 60ff8101)
  8. 08 Aug, 2018 1 commit
  9. 04 Aug, 2018 1 commit
    • Juri Linkov's avatar
      New function read-answer (Bug#31782) · cc233365
      Juri Linkov authored
      * lisp/emacs-lisp/map-ynp.el (read-answer-short): New defcustom.
      (read-answer): New function.
      * lisp/subr.el (assoc-delete-all): New function.
      * etc/NEWS: Announce them.
      * lisp/dired.el (dired-delete-file): Use read-answer.
      (dired--yes-no-all-quit-help): Remove function.
      (dired-delete-help): Remove defconst.
      (backported from master, "New function read-answer (bug#30073)" and
      "Respect non-saved value of `read-short-answer' (Bug#31782)")
  10. 30 Jul, 2018 2 commits
  11. 28 Jul, 2018 1 commit
  12. 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
  13. 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-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.
  14. 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.
  15. 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.
  16. 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 "".
      (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.
  17. 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.
    • 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'
      * test/lisp/auth-source-tests.el (auth-source-delete): New test.
  18. 13 Jul, 2018 1 commit
    • 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-test-grep-regexps): New tests.
      (compile--test-error-line): Return `compilation-message'.
  19. 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
      * 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.
    • 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.
    • 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)
      Adapt ´connection-local-normalize-criteria' call.
      * test/lisp/files-x-tests.el
      (files-x-test-hack-connection-local-variables-apply): Extend tests.
  20. 08 Jul, 2018 2 commits
  21. 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.
  22. 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
      * 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).
  23. 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): Use it instead of 'default.
      * test/lisp/emacs-lisp/bytecomp-tests.el:
      (byte-opt-testsuite-arith-data): Add a test for the bug.
  24. 10 Jun, 2018 1 commit
  25. 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
      * 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.
  26. 07 Jun, 2018 1 commit
  27. 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)
  28. 03 Jun, 2018 4 commits
  29. 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-operation-not-permitted-regexp, tramp-copy-failed-regexp)
      (tramp-process-alive-regexp, tramp-chunksize)
      (tramp-process-connection-type, tramp-connection-timeout)
      * lisp/net/tramp-adb.el (tramp-adb-program)
      (tramp-adb-connect-if-not-connected, tramp-adb-prompt):
      * lisp/net/tramp-cache.el (tramp-connection-properties)
      * lisp/net/tramp-gvfs.el (tramp-gvfs-methods)
      (tramp-gvfs-zeroconf-domain, tramp-bluez-discover-devices-timeout):
      * lisp/net/tramp-sh.el (tramp-inline-compress-start-size)
      (tramp-copy-size-limit, tramp-terminal-type)
      (tramp-histfile-override, tramp-use-ssh-controlmaster-options)
      (tramp-remote-path, tramp-remote-process-environment)
      * lisp/net/tramp-smb.el (tramp-smb-program, tramp-smb-acl-program)
      (tramp-smb-conf, tramp-smb-winexe-program)
      Dont't require 'tramp.  (Bug#31558)
      * lisp/net/tramp.el (tramp-accept-process-output):
      * lisp/net/tramp-adb.el (tramp-adb-handle-start-file-process):
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-file-acl, tramp-smb-handle-process-file)
      (tramp-smb-handle-start-file-process): Suppress timers.
      * lisp/net/tramp-adb.el (tramp-adb-handle-write-region):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
      * lisp/net/tramp-sh.el (tramp-sh-handle-write-region):
      * lisp/net/tramp-smb.el (tramp-smb-handle-write-region):
      Write proper message.
      * lisp/net/tramp-cmds.el (tramp-change-syntax):
      Use `customize-set-variable'.
      * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
      Ensure proper EOL handling for Darwin.
      (tramp-find-inline-compress): Improve command quoting for w32.
      Reported by Chris Zheng <chriszheng99@gmail.com>.
      (tramp-open-connection-setup-interactive-shell): Wrap both echo
      calls in parentheses, in order to avoid double prompt.
      * lisp/net/tramp-smb.el (tramp-smb-errors):
      * lisp/net/tramp.el (tramp-default-user-alist)
      (tramp-default-host-alist): Fix docstring.
      (tramp-dissect-file-name): Adapt docstring.  (Bug#30904)
      (tramp-make-tramp-file-name): Check, that method is
      not empty.  (Bug#30038)
      (tramp-message-show-message): Change default.
      * lisp/net/trampver.el: Change version to "2.3.4-pre".
      * test/lisp/net/tramp-tests.el (ert-x): Require it.
      (tramp-test10-write-region): Extend test.
      (tramp--test-emacs27-p, tramp--test-windows-nt): New defuns.
      (tramp-test11-copy-file, tramp-test12-rename-file)
      (tramp-test21-file-links, tramp-test24-file-acl)
      (tramp-test25-file-selinux, tramp--test-check-files): Use them.
      (tramp-test21-file-links): Do not call `make-symbolic-link' on w32.
      Fix file name quoting test.
      Adapt check for systems which do not support "echo -n".  (Bug#29712)
      (tramp-test36-find-backup-file-name): Call also
      `convert-standard-filename' due to w32.
      Use $REMOTE_PARALLEL_PROCESSES.  Flush cache prior file operations.
      (tramp-test42-auto-load, tramp-test42-delay-load)
      (tramp-test42-recursive-load, tramp-test42-remote-load-path):
      Quote command due to w32.
  30. 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-interior-lists): Persistence does not currently
       handle deeply-nested objects. Expect current failures, and mark for
       future fixes.
    • 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-interior-lists): New tests.