1. 12 Aug, 2019 1 commit
    • Michael Albinus's avatar
      Quote file names properly in Tramp · 88006cf5
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-file-truename)
      (tramp-handle-insert-directory):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
      (tramp-sh-handle-insert-directory):
      * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-truename):
      Use `tramp-compat-directory-name-p'.
      
      * lisp/net/tramp.el (tramp-drop-volume-letter)
      (tramp-handle-file-truename):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename):
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
      (tramp-sh-handle-file-truename):
      * lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-truename):
      (tramp-sudoedit-handle-make-symbolic-link): Quote properly.
      
      * lisp/net/tramp-compat.el (tramp-compat-file-name-quote)
      (tramp-compat-file-name-unquote): Add optional argument TOP.
      88006cf5
  2. 08 Aug, 2019 1 commit
  3. 05 Aug, 2019 1 commit
    • Michael Albinus's avatar
      Improve Tramp's caching · 6c1d0d53
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-add-name-to-file)
      (tramp-handle-write-region):
      * lisp/net/tramp-adb.el (tramp-adb-handle-make-directory)
      (tramp-adb-handle-delete-directory)
      (tramp-adb-handle-delete-file, tramp-adb-handle-write-region)
      (tramp-adb-handle-set-file-modes)
      (tramp-adb-handle-set-file-times, tramp-adb-handle-copy-file)
      (tramp-adb-handle-rename-file):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file)
      (tramp-gvfs-handle-delete-directory)
      (tramp-gvfs-handle-delete-file)
      (tramp-gvfs-handle-make-directory)
      (tramp-gvfs-handle-set-file-modes)
      (tramp-gvfs-handle-set-file-times, tramp-gvfs-set-file-uid-gid):
      * lisp/net/tramp-rclone.el (tramp-rclone-do-copy-or-rename-file)
      (tramp-rclone-handle-delete-directory)
      (tramp-rclone-handle-delete-file):
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
      (tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times)
      (tramp-sh-handle-add-name-to-file)
      (tramp-sh-handle-copy-directory, tramp-do-copy-or-rename-file)
      (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
      (tramp-sh-handle-write-region):
      * lisp/net/tramp-smb.el (tramp-smb-handle-add-name-to-file)
      (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
      (tramp-smb-handle-delete-directory)
      (tramp-smb-handle-delete-file)
      (tramp-smb-handle-make-directory-internal)
      (tramp-smb-handle-make-symbolic-link)
      (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-add-name-to-file)
      (tramp-sudoedit-do-copy-or-rename-file)
      (tramp-sudoedit-handle-delete-directory)
      (tramp-sudoedit-handle-delete-file)
      (tramp-sudoedit-handle-set-file-modes)
      (tramp-sudoedit-handle-set-file-times)
      (tramp-sudoedit-handle-make-symbolic-link): Do not flush all file
      properties of upper directory.
      
      * lisp/net/tramp-cache.el (tramp-flush-file-upper-properties):
      New defun.
      (tramp-flush-file-properties, tramp-flush-directory-properties):
      Use it.
      
      * test/lisp/net/tramp-tests.el (tramp-time-diff): Declare.
      (tramp--test-file-attributes-equal-p): Handle also modification
      and status change time.
      6c1d0d53
  4. 04 Aug, 2019 1 commit
    • Michael Albinus's avatar
      Implement set-file-* functions for tramp-gvfs.el · 2abcca23
      Michael Albinus authored
      * lisp/net/tramp-gvfs.el (tramp-gvfs-gio-mapping):
      Add "gvfs-set-attribute".
      (tramp-gvfs-file-name-handler-alist):
      Add `tramp-gvfs-handle-set-file-modes',
      `tramp-gvfs-handle-set-file-times' and
      `tramp-gvfs-handle-set-file-uid-gid'.
      (tramp-gvfs-handle-set-file-modes)
      (tramp-gvfs-handle-set-file-times)
      (tramp-sh-handle-set-file-uid-gid): New defuns.
      
      * lisp/net/tramp.el (tramp-handle-write-region): Set file modes.
      
      * test/lisp/net/tramp-tests.el (tramp-test20-file-modes)
      (tramp-test22-file-times): Do not skip for tramp-gvfs.el.
      2abcca23
  5. 12 Jul, 2019 1 commit
  6. 30 Jun, 2019 1 commit
    • Michael Albinus's avatar
      Release Tramp 2.4.2 · 10af8c58
      Michael Albinus authored
      * lisp/net/tramp.el: Bump version.
      
      * test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case):
      Add `add-name-to-file' error message.
      (tramp--test-ignore-add-name-to-file-error): Make error handler
      more explicit about the error.
      10af8c58
  7. 28 Jun, 2019 1 commit
    • Michael Albinus's avatar
      Tramp requires Emacs 24.4 · aae5bf44
      Michael Albinus authored
      * doc/misc/tramp.texi (Frequently Asked Questions):
      Use `with-eval-after-load'. in example.
      
      * doc/misc/trampver.texi: Set variable emacsver.
      
      * lisp/net/tramp.el (tramp-send-string, tramp-call-process)
      (tramp-call-process-region, tramp-process-lines):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
      (tramp-adb-sh-fix-ls-output, tramp-adb-maybe-open-connection):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-get-directory-attributes)
      (tramp-gvfs-handle-file-notify-add-watch)
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-sh-handle-file-notify-add-watch, tramp-find-executable)
      (tramp-set-remote-path)
      (tramp-open-connection-setup-interactive-shell)
      (tramp-maybe-open-connection, tramp-send-command):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-file-acl, tramp-smb-handle-process-file)
      (tramp-smb-handle-set-file-acl)
      (tramp-smb-handle-start-file-process)
      (tramp-smb-maybe-open-connection):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-set-file-acl):
      (tramp-sudoedit-send-command): Use `string-join' and `string-empty-p'.
      
      * lisp/net/tramp-adb.el:
      * lisp/net/tramp-archive.el:
      * lisp/net/tramp-integration.el:
      * lisp/net/tramp-ftp.el: Use `with-eval-after-load'.
      
      * lisp/net/tramp-cmds.el (tramp-cleanup-connection)
      (tramp-cleanup-all-connections): Cancel timer.
      
      * lisp/net/tramp-compat.el (subr-x): Require.
      (default-toplevel-value): Don't make it a defalias.
      
      * lisp/net/tramp-gvfs.el: Use `dbus-event-error-functions'.  Do
      not special handle `split-string'.
      
      * lisp/net/tramp.el: Require Emacs 24.4.
      (tramp-password-prompt-regexp): Use `password-word-equivalents'.
      (tramp-user-error): Use `user-error'.
      (tramp-replace-environment-variables): Use `substitute-env-vars'.
      (tramp-wait-for-regexp): Rearrange `with-current-buffer' call.
      (tramp-get-local-gid): Use `group-gid'.
      
      * lisp/net/trampver.el: Check for Emacs 24.4.
      
      * test/lisp/net/tramp-tests.el (tramp-test02-file-name-dissect)
      (tramp-test02-file-name-dissect-simplified)
      (tramp-test02-file-name-dissect-separate)
      (tramp-test03-file-name-host-rules)
      (tramp-test03-file-name-method-rules): Don't check for `user-error'.
      aae5bf44
  8. 27 Jun, 2019 2 commits
    • Paul Eggert's avatar
      Tweak ‘error’ and ‘user-error’ doc strings · 1d9bb2ff
      Paul Eggert authored
      * lisp/net/tramp.el (tramp-user-error):
      * lisp/subr.el (user-error):
      Say that user errors are sometimes called pilot errors.
      * lisp/subr.el (error, user-error):
      Reorder wording to discuss mechanism first, then formatting advice,
      rather than going back and forth between the two topics.
      Tighten up the wording a bit.
      1d9bb2ff
    • Stefan Kangas's avatar
      Clarify error and user-error docstrings · f90e0c56
      Stefan Kangas authored
      * lisp/subr.el (error, user-error)
      * lisp/net/tramp.el (tramp-user-error): Change "pilot error" to "user
      error" and improve documentation.
      f90e0c56
  9. 25 Jun, 2019 1 commit
  10. 24 Jun, 2019 1 commit
    • Michael Albinus's avatar
      Improve error handling in Tramp · 18a7e541
      Michael Albinus authored
      * lisp/net/tramp-compat.el (ls-lisp): Require.
      
      * lisp/net/tramp.el (ls-lisp-use-insert-directory-program):
      Don't declare.
      (tramp-current-connection): Adapt docstring.
      (tramp-debug-message): Adapt function names.
      (tramp-error, tramp-run-real-handler): Let-bind `signal-hook-function'.
      (tramp-signal-hook-function): New defun.
      (tramp-debug-on-error, tramp-condition-case-unless-debug): Remove.
      (tramp-file-name-handler): Handle `tramp-current-connection'.
      Let-bind `signal-hook-function'.  Use `unwind-protect' instead of
      `tramp-condition-case-unless-debug'.
      (tramp-handle-insert-directory): Don't require ls-lisp.
      (tramp-process-actions): Check, that
      `tramp-password-save-function' is non-nil.
      (tramp-equal-remote): Handle the case both files are local.
      
      * test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case):
      Do not bind `tramp-debug-on-error'.
      (tramp--test-ignore-make-symbolic-link-error): Make error handler
      more explicit about the error.
      18a7e541
  11. 23 Jun, 2019 1 commit
    • Michael Albinus's avatar
      Improve error handling in tramp-gvfs · 383a557b
      Michael Albinus authored
      * lisp/net/tramp-gvfs.el (tramp-gvfs-get-directory-attributes)
      (tramp-gvfs-get-root-attributes)
      (tramp-gvfs-handle-file-attributes): Don't ignore errors.
      (tramp-make-goa-name): New defun.
      (tramp-gvfs-get-remote-prefix): Use it.
      (tramp-gvfs-maybe-open-connection): Raise user errors in case of.
      Check also, that GOA accounts are proper.
      (tramp-get-goa-accounts): Cache connection property.
      
      * lisp/net/tramp.el (tramp-handle-file-equal-p)
      (tramp-handle-file-in-directory-p): Use `tramp-equal-remote'.
      383a557b
  12. 15 Jun, 2019 2 commits
  13. 10 Jun, 2019 1 commit
    • Michael Albinus's avatar
      Fix quoting problem in Tramp on w32 systems · fb39d31e
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-connection-local-default-profile):
      * lisp/net/tramp-integration.el (tramp-connection-local-default-profile):
      Revert patch from 2019-05-24.  It is fixed differently.
      
      * lisp/net/tramp.el (tramp-encoding-shell):
      (tramp-encoding-command-switch)
      (tramp-encoding-command-interactive, )
      (tramp-unquote-shell-quote-argument): Suppress `shell-file-name'.
      (tramp-set-file-uid-gid):
      * lisp/net/tramp-sh.el (tramp-find-inline-compress)
      (tramp-make-copy-program-file-name):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory):
      Use `tramp-unquote-shell-quote-argument'.
      fb39d31e
  14. 04 Jun, 2019 1 commit
    • Michael Albinus's avatar
      Stronger check for Tramp method · 7aaf5007
      Michael Albinus authored
      * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
      * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection):
      Use `tramp-get-connection-name'.
      
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link):
      * lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-make-symbolic-link):
      Don't check remote TARGET.
      
      * lisp/net/tramp.el (tramp-dissect-file-name): Check for proper method.
      (tramp-file-name-for-operation): Take only 2nd argument into
      account for file name handler.
      (tramp-file-name-handler): Suppress checks for `file-remote-p'.
      
      * test/lisp/net/tramp-archive-tests.el
      (tramp-archive-test02-file-name-dissect): Suppress check for wrong
      method.
      
      * test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case):
      Dump *all* Tramp buffers.
      (tramp-test02-file-name-dissect)
      (tramp-test02-file-name-dissect-simplified)
      (tramp-test02-file-name-dissect-separate): Check also wrong method.
      (tramp-test03-file-name-defaults): Check, that the respective
      Tramp package is loaded.
      (tramp-test04-substitute-in-file-name)
      (tramp-test05-expand-file-name)
      (tramp-test06-directory-file-name, tramp-test44-auto-load):
      Suppress check for wrong method.
      (tramp-test30-make-process): Remove instrumentation code.
      (tramp-test31-interrupt-process, tramp-test36-vc-registered):
      Guarantee that connection is established prior starting process.
      7aaf5007
  15. 27 May, 2019 1 commit
    • Michael Albinus's avatar
      Another attempt to fix Bug#35769 · 457b0244
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-call-process, tramp-call-process-region)
      (tramp-process-lines): Suppress `process-environment' entries
      dedicated for remote processes.  (Bug#35769)
      457b0244
  16. 18 May, 2019 2 commits
    • Michael Albinus's avatar
      Require less packages in Tramp · cac8884d
      Michael Albinus authored
      * lisp/net/tramp-compat.el (format-spec): Do not require advice, cl-lib,
      custom, password-cache, timer and ucs-normalize.
      
      * lisp/net/tramp-gvfs.el: Do not require zeroconf.  Declare
      zeroconf-* functions.
      (tramp-gvfs-enabled): Autoload `zeroconf-init'.
      
      * lisp/net/tramp-sh.el: Do not require dired.
      
      * lisp/net/tramp.el (tramp-get-debug-buffer): Do not require outline.
      (tramp-file-name-for-operation): Extend docstring.
      (tramp-parse-netrc): Do not require netrc.  Autoload `netrc-parse'.
      cac8884d
    • Michael Albinus's avatar
  17. 16 May, 2019 1 commit
  18. 15 May, 2019 1 commit
  19. 09 May, 2019 1 commit
    • Michael Albinus's avatar
      Fix an error in tramp-vc-file-name-handler · eb1698c5
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-accept-process-output, tramp-send-string):
      * lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-sh-handle-make-process):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-file-acl, tramp-smb-handle-process-file)
      (tramp-smb-handle-set-file-acl)
      (tramp-smb-handle-start-file-process): Do not suppress timers.
      
      * lisp/net/tramp-sh.el (tramp-vc-file-name-handler): Check, that
      `tramp-file-name-for-operation' returns a proper Tramp file.
      eb1698c5
  20. 05 May, 2019 2 commits
    • Juri Linkov's avatar
      Rename shell-command-width to async-shell-command-width (bug#35055) · df9b56ec
      Juri Linkov authored
      * lisp/simple.el (async-shell-command-width):
      * lisp/net/tramp.el (tramp-handle-shell-command):
      * test/lisp/net/tramp-tests.el (tramp-test32-shell-command):
      * doc/misc/tramp.texi (Remote processes): Rename this variable.
      
      * doc/emacs/misc.texi (Single Shell): Add async-shell-command-width.
      df9b56ec
    • Michael Albinus's avatar
      Adapt tests for recent file-notification changes in Tramp · f82e0e5b
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-file-notify-process-sentinel):
      Pacify byte compiler.
      
      * test/lisp/autorevert-tests.el
      (auto-revert-test02-auto-revert-deleted-file):
      * test/lisp/filenotify-tests.el (file-notify-test03-events)
      (file-notify-test05-file-validity)
      (file-notify-test09-watched-file-in-watched-dir): Adapt for remote
      files.
      f82e0e5b
  21. 04 May, 2019 2 commits
    • Michael Albinus's avatar
      Notify broken file notification from Tramp · 2e0947ab
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-file-notify-process-sentinel): New defun.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
      Set process sentinel.
      2e0947ab
    • John Shahid's avatar
      Fix Bug#35506 · eec3ed05
      John Shahid authored
      * lisp/net/tramp.el (tramp-interrupt-process): Kill the entire
      process group.  (Bug#35506)
      eec3ed05
  22. 14 Apr, 2019 1 commit
    • Michael Albinus's avatar
      Fix Bug#35055 · dcfe1c4a
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-shell-command):
      Handle `shell-command-width'.  (Bug#35055)
      dcfe1c4a
  23. 07 Apr, 2019 1 commit
  24. 03 Apr, 2019 1 commit
    • Michael Albinus's avatar
      Work on asynchronous processes for tramp-adb.el · 8147d3c2
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
      Simplify.  Remove echoed first line.
      (tramp-adb-send-command): Add NEVEROPEN and NOOUTPUT.
      
      * lisp/net/tramp-sh.el (tramp-process-sentinel): Remove.
      (tramp-sh-handle-make-process): Simplify.
      
      * lisp/net/tramp.el (tramp-process-sentinel): New defun, taken from
      tramp-sh.el.  Delete trailing shell prompt.
      
      * test/lisp/net/tramp-tests.el (tramp-test29-start-file-process)
      (tramp-test30-make-process): Run also for tramp-adb.
      (tramp-test32-shell-command): Remove tramp-adb restrictions.
      (tramp-test34-explicit-shell-file-name): Rework.  Remove :unstable tag.
      8147d3c2
  25. 02 Apr, 2019 1 commit
  26. 28 Mar, 2019 1 commit
  27. 27 Mar, 2019 1 commit
  28. 23 Mar, 2019 1 commit
    • Michael Albinus's avatar
      Fix Bug#34943 · a3194e7b
      Michael Albinus authored
      * lisp/files-x.el (cl-lib): Require when compiling.
      (hack-connection-local-variables): Regard connection-local
      variables as safe.  (Bug#34943)
      
      * lisp/shell.el (shell): Use `with-connection-local-variables' for
      the whole code block.  (Bug#34943)
      
      * lisp/net/tramp-adb.el (tramp-connection-local-safe-shell-file-names):
      Do not set values.
      
      * lisp/net/tramp-integration.el
      (tramp-connection-local-safe-shell-file-names): Remove.
      (shell-file-name, shell-command-switch): Do not add safe-local-variable
      property.
      
      * lisp/net/tramp.el (tramp-handle-shell-command): Use proper
      buffer name.
      
      * test/lisp/net/tramp-tests.el (tramp-test34-explicit-shell-file-name):
      Tag it :unstable.
      a3194e7b
  29. 22 Mar, 2019 1 commit
    • Michael Albinus's avatar
      Fix Bug#24394, Bug#34172 · 3375d082
      Michael Albinus authored
      * lisp/subr.el (process-file-shell-command):
      Use `with-connection-local-variables'.  Do not set "/bin/sh" for
      remote buffers, trust settings of `shell-file-name'.
      
      * lisp/net/tramp-adb.el (tramp-methods) <adb>:
      * lisp/net/tramp-smb.el (tramp-methods) <smb>:
      Remove `tramp-remote-shell' and `tramp-remote-shell-args'.
      
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch)
      (tramp-maybe-open-connection): Use proper read syntax for function
      names.
      
      * lisp/net/tramp.el (tramp-handle-shell-command): Do not use shell
      file names from `tramp-methods'.
      Respect `async-shell-command-buffer'.  (Bug#24394, Bug#34172)
      Use `start-file-process-shell-command' and `process-file-shell-command'.
      
      * test/lisp/net/tramp-tests.el (tramp-test32-shell-command):
      Let it run partly for tramp-adb.
      3375d082
  30. 06 Mar, 2019 1 commit
    • Michael Albinus's avatar
      Handle empty strings in Tramp's expand-file-name implementations · be147d24
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-expand-file-name):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
      * lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
      * lisp/net/tramp-smb.el (tramp-smb-handle-expand-file-name):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-expand-file-name):
      Handle empty NAME.
      
      * test/lisp/net/tramp-tests.el (tramp-test01-file-name-syntax)
      (tramp-test01-file-name-syntax-simplified)
      (tramp-test01-file-name-syntax-separate): Use neutral IPv4 address.
      (tramp-test05-expand-file-name): Check also "." and "".
      be147d24
  31. 05 Mar, 2019 1 commit
    • Paul Eggert's avatar
      Fix regular-expression glitches and typos · 3c94c7bc
      Paul Eggert authored
      Problems reported by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2019-03/msg00085.html
      * admin/admin.el (set-version):
      * lisp/allout.el (allout-latexify-one-item):
      * lisp/arc-mode.el (archive-arc-rename-entry)
      (archive-rar-summarize):
      * lisp/calc/calc-graph.el (calc-graph-set-styles)
      (calc-graph-hide):
      * lisp/calc/calc-help.el (calc-describe-key):
      * lisp/calc/calc-lang.el (math-compose-tex-func, eqn):
      * lisp/calc/calc.el (calcDigit-key):
      * lisp/cedet/ede/makefile-edit.el (makefile-macro-file-list):
      * lisp/cedet/ede/speedbar.el (ede-tag-expand):
      * lisp/cedet/semantic/sb.el (semantic-sb-show-extra)
      (semantic-sb-expand-group):
      * lisp/comint.el (comint-substitute-in-file-name):
      * lisp/dired.el (dired-actual-switches):
      * lisp/emacs-lisp/chart.el (chart-rmail-from):
      * lisp/emacs-lisp/eieio-opt.el (eieio-sb-expand):
      * lisp/emacs-lisp/eieio-speedbar.el (eieio-speedbar-object-expand):
      * lisp/emacs-lisp/rx.el (rx-not, rx-atomic-p):
      * lisp/emulation/viper-ex.e...
      3c94c7bc
  32. 28 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Use proper read syntax for all function names in Tramp · a80e1045
      Michael Albinus authored
      * lisp/net/tramp.el:
      * lisp/net/tramp-adb.el:
      * lisp/net/tramp-archive.el:
      * lisp/net/tramp-cache.el:
      * lisp/net/tramp-cmds.el:
      * lisp/net/tramp-compat.el:
      * lisp/net/tramp-ftp.el:
      * lisp/net/tramp-gvfs.el:
      * lisp/net/tramp-integration.el:
      * lisp/net/tramp-rclone.el:
      * lisp/net/tramp-sh.el:
      * lisp/net/tramp-smb.el:
      * lisp/net/tramp-sudoedit.el:
      * test/lisp/net/tramp-archive-tests.el:
      * test/lisp/net/tramp-tests.el: Use proper read syntax for all
      function names.
      a80e1045
  33. 24 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Cleanup also recentf files in Tramp · cbcb5718
      Michael Albinus authored
      * doc/misc/tramp.texi (Cleanup remote connections): Mention also
      recentf cache.
      
      * lisp/net/tramp-cmds.el (tramp-cleanup-connection)
      (tramp-cleanup-all-connections): Call `tramp-recentf-cleanup'.
      
      * lisp/net/tramp-integration.el: New package.
      
      * lisp/net/tramp.el (tramp-rfn-eshadow-overlay)
      (tramp-rfn-eshadow-setup-minibuffer)
      (tramp-rfn-eshadow-update-overlay-regexp)
      (tramp-rfn-eshadow-update-overlay):
      (tramp-eshell-directory-change): Move to tramp-integration.el
      cbcb5718
  34. 19 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Implement access-file in Tramp · 0a6c4479
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * lisp/net/tramp-archive.el (tramp-archive-file-name-handler-alist):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * lisp/net/tramp-rclone.el (tramp-rclone-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):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist):
      Add `access-file'.
      
      * lisp/net/tramp-archive.el (tramp-archive-handle-access-file):
      * lisp/net/tramp.el (tramp-handle-access-file): New defun.
      (tramp-condition-case-unless-debug): Add declaration.
      (tramp-handle-insert-directory):
      * lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory):
      * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
      Check, whether directory is accessible.
      
      * test/lisp/net/tramp-archive-tests.el
      (tramp-archive-test17-insert-directory)
      (tramp-archive-test18-file-attributes):
      * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory)
      (tramp-test18-file-attributes): Test error cases.
      0a6c4479
  35. 06 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Fix Bug#34196 · 19fbef54
      Michael Albinus authored
      * lisp/autorevert.el (auto-revert-buffers): Handle buffers with a
      remote default-directory only, when they are connected.  (Bug#34196)
      
      * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection):
      Set "connected" property.
      
      * lisp/net/tramp.el (tramp-process-actions): Revert change from
      2019-02-04.  Bug#34196 will be solved in autorevert.el.
      19fbef54