1. 07 Aug, 2016 3 commits
    • Noam Postavsky's avatar
      Fix debugging of string-match-p errors · 7fb75680
      Noam Postavsky authored
      * src/eval.c (call_debugger): Bind inhibit-changing-match-data to nil so
      that debugger code that needs to do regexp match won't break
      (Bug #23949, Bug #24166, Bug#16294).
      7fb75680
    • Michael Albinus's avatar
      Add `make-nearby-temp-file' and `temporary-file-directory' · 2c050617
      Michael Albinus authored
      * doc/lispref/files.texi (Unique File Names):
      Introduce `make-nearby-temp-file' and `temporary-file-directory'.
      (Magic File Names): Mention `make-nearby-temp-file' and
      `temporary-file-directory'.
      
      * etc/NEWS (provided): Mention `make-nearby-temp-file' and
      `temporary-file-directory'.
      
      * lisp/files.el (mounted-file-systems): New defcustom.
      (temporary-file-directory, make-nearby-temp-file): New defuns.
      (normal-backup-enable-predicate): Fix docstring.
      
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
      * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      <make-nearby-temp-file, temporary-file-directory>: Add handler.
      
      * lisp/net/tramp.el (tramp-file-name-for-operation):
      Add `make-nearby-temp-file' and `temporary-file-directory'.
      (tramp-get-remote-tmpdir): Remove compatibility code.
      (tramp-handle-temporary-file-directory)
      (tramp-handle-make-nearby-temp-file): New defuns.
      
      * lisp/org/ob-core.el (org-babel-local-file-name):
      * lisp/progmodes/gud.el (gud-common-init):
      * lisp/vc/vc-hooks.el (vc-user-login-name): Use `file-remote-p'.
      
      * lisp/vc/vc-git.el (vc-git-checkin): Handle remote log message.
      
      * test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name):
      Check `tramp--test-enabled'.
      (tramp-test18-file-attributes): Add tests for
      `file-ownership-preserved-p'.
      (tramp-test27-start-file-process, tramp-test28-shell-command):
      Reduce timeouts in `accept-process-output'.
      (tramp-test--shell-command-to-string-asynchronously): Add timeout.
      (tramp-test29-environment-variables): Remove additional sleep calls.
      (tramp-test32-make-nearby-temp-file): New test.
      (tramp--test-special-characters, tramp--test-utf8): Adapt docstring.
      (tramp-test33-special-characters)
      (tramp-test33-special-characters-with-stat)
      (tramp-test33-special-characters-with-perl)
      (tramp-test33-special-characters-with-ls, tramp-test34-utf8)
      (tramp-test34-utf8-with-stat, tramp-test34-utf8-with-perl)
      (tramp-test34-utf8-with-ls)
      (tramp-test35-asynchronous-requests)
      (tramp-test36-recursive-load, tramp-test37-unload): Rename.
      (tramp--test-ftp-p): Simplify check.
      (tramp--test-sh-p): New defun.
      (tramp-test20-file-modes, tramp-test22-file-times)
      (tramp-test26-process-file, tramp-test27-start-file-process)
      (tramp-test28-shell-command)
      (tramp-test29-environment-variables)
      (tramp-test30-vc-registered)
      (tramp-test33-special-characters-with-stat)
      (tramp-test33-special-characters-with-perl)
      (tramp-test33-special-characters-with-ls)
      (tramp-test34-utf8-with-stat, tramp-test34-utf8-with-perl)
      (tramp-test34-utf8-with-ls)
      (tramp-test35-asynchronous-requests): Use it.
      2c050617
    • Michael Albinus's avatar
      Add missing dcstrings in Tramp, remove chec for obsolee methods · a7985477
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-progress-reporter-update)
      (tramp-unload-file-name-handlers, tramp-get-local-uid)
      (tramp-get-local-gid, tramp-get-local-locale):
      * lisp/net/tramp-adb.el (tramp-adb-ls-date-regexp)
      (tramp-adb-ls-toolbox-regexp, tramp-adb-get-ls-command):
      * lisp/net/tramp-compat.el (tramp-compat-funcall):
      * lisp/net/tramp-ftp.el (tramp-ftp-enable-ange-ftp):
      * lisp/net/tramp-gw.el (tramp-gw-process-filter):
      * lisp/net/tramp-sh.el (tramp-get-remote-path)
      (tramp-get-remote-locale, tramp-get-ls-command)
      (tramp-get-ls-command-with-dired)
      (tramp-get-ls-command-with-quoting-style)
      (tramp-get-ls-command-with-w-option)
      (tramp-get-test-nt-command, tramp-get-file-exists-command)
      (tramp-get-remote-ln, tramp-get-remote-perl)
      (tramp-get-remote-stat, tramp-get-remote-readlink)
      (tramp-get-remote-trash, tramp-get-remote-touch)
      (tramp-get-remote-gvfs-monitor-dir)
      (tramp-get-remote-inotifywait, tramp-get-remote-id)
      (tramp-get-remote-uid-with-id)
      (tramp-get-remote-uid-with-perl, tramp-get-remote-python)
      (tramp-get-remote-uid-with-python, tramp-get-remote-uid)
      (tramp-get-remote-gid-with-id)
      (tramp-get-remote-gid-with-perl)
      (tramp-get-remote-gid-with-python, tramp-get-remote-gid)
      (tramp-get-env-with-u-option): Add missing docstrings.
      
      * lisp/net/tramp.el (tramp-obsolete-methods)
      (tramp-warned-obsolete-methods): Remove.
      (tramp-find-method): Do not check for obsolete methods any longer.
      a7985477
  2. 06 Aug, 2016 10 commits
  3. 05 Aug, 2016 16 commits
  4. 04 Aug, 2016 2 commits
  5. 03 Aug, 2016 9 commits