1. 25 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Adapt hooks in Tramp · cedc3410
      Michael Albinus authored
      * lisp/net/tramp-archive.el (tramp-archive-cleanup-hash):
      Remove autoload cookie.
      (tramp-cleanup-all-connections-hook): Add `tramp-archive-cleanup-hash'.
      
      * lisp/net/tramp-cmds.el (tramp-cleanup-connection-hook)
      (tramp-cleanup-all-connections-hook): New hook variables.
      (tramp-cleanup-connection): Set `tramp-current-connection' always
      to nil.
      (tramp-cleanup-connection): Do not call `tramp-recentf-cleanup'.
      Run ´tramp-cleanup-connection-hook`.
      (tramp-cleanup-all-connections): Do not call
      `tramp-archive-cleanup-hash' and ´tramp-recentf-cleanup'.  Run
      `tramp-cleanup-all-connections-hook'.
      
      * lisp/net/tramp-ftp.el (top): Simply call `tramp-disable-ange-ftp'.
      
      * lisp/net/tramp-integration.el (tramp-recentf-cleanup-all): New defun.
      (top): Adapt `tramp-integration-unload-hook',
      `tramp-cleanup-connection-hook' and
      `tramp-cleanup-all-connections-hook'.
      cedc3410
  2. 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
  3. 01 Jan, 2019 1 commit
  4. 06 Dec, 2018 1 commit
    • Michael Albinus's avatar
      Rework Tramp wrt string-match-p, looking-at-p, save-match-data · 66b49fc1
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-find-method, tramp-find-user)
      (tramp-find-host, tramp-dissect-file-name, tramp-make-tramp-file-name)
      (tramp-completion-make-tramp-file-name, tramp-debug-message)
      (tramp-message, tramp-progress-reporter-update)
      (tramp-set-completion-function)
      (tramp-rfn-eshadow-update-overlay)
      (tramp-find-file-name-coding-system-alist)
      (tramp-file-name-for-operation)
      (tramp-use-absolute-autoload-file-names)
      (tramp-get-completion-methods, tramp-get-completion-user-host)
      (tramp-handle-directory-files)
      (tramp-handle-file-name-case-insensitive-p)
      (tramp-handle-file-name-completion, tramp-handle-file-truename)
      (tramp-handle-insert-directory, tramp-handle-load)
      (tramp-handle-shell-command, tramp-action-yesno)
      (tramp-action-yn, tramp-process-actions)
      (tramp-mode-string-to-int, tramp-get-local-locale)
      (tramp-local-host-p):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-system-info)
      (tramp-adb-handle-directory-files-and-attributes)
      (tramp-adb--gnu-switches-to-ash, tramp-adb-sh-fix-ls-output)
      (tramp-adb-handle-file-name-all-completions)
      (tramp-adb-handle-shell-command)
      (tramp-adb-handle-start-file-process):
      * lisp/net/tramp-archive.el (tramp-archive-dissect-file-name):
      * lisp/net/tramp-cache.el (tramp-get-hash-table)
      (tramp-flush-directory-properties, tramp-flush-file-function):
      * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable)
      (tramp-append-tramp-buffers):
      * lisp/net/tramp-compat.el (tramp-compat-process-running-p):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name)
      (tramp-gvfs-get-file-attributes)
      (tramp-gvfs-handle-file-attributes)
      (tramp-gvfs-monitor-process-filter)
      (tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec-entry)
      (tramp-gvfs-mount-spec, tramp-gvfs-maybe-open-connection):
      * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls)
      (tramp-do-file-attributes-with-stat)
      (tramp-sh-handle-file-selinux-context)
      (tramp-sh-handle-directory-files-and-attributes)
      (tramp-do-directory-files-and-attributes-with-stat)
      (tramp-sh-handle-file-name-all-completions)
      (tramp-sh-handle-dired-compress-file)
      (tramp-sh-handle-insert-directory)
      (tramp-sh-handle-expand-file-name)
      (tramp-sh-handle-start-file-process)
      (tramp-sh-handle-process-file, tramp-sh-handle-write-region)
      (tramp-sh-handle-file-notify-add-watch)
      (tramp-sh-gio-monitor-process-filter)
      (tramp-sh-gvfs-monitor-dir-process-filter)
      (tramp-sh-inotifywait-process-filter)
      (tramp-sh-handle-file-system-info, tramp-maybe-send-script)
      (tramp-find-executable, tramp-open-shell, tramp-find-shell)
      (tramp-open-connection-setup-interactive-shell)
      (tramp-find-inline-encoding, tramp-call-local-coding-command)
      (tramp-compute-multi-hops, tramp-maybe-open-connection)
      (tramp-convert-file-attributes)
      (tramp-make-copy-program-file-name, tramp-get-remote-locale)
      (tramp-get-test-nt-command, tramp-get-remote-stat)
      (tramp-get-inline-coding):
      * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files)
      (tramp-smb-action-get-acl, tramp-smb-handle-file-attributes)
      (tramp-smb-handle-file-name-all-completions)
      (tramp-smb-handle-file-system-info)
      (tramp-smb-handle-file-writable-p)
      (tramp-smb-handle-insert-directory)
      (tramp-smb-handle-make-directory)
      (tramp-smb-handle-make-directory-internal)
      (tramp-smb-handle-start-file-process, tramp-smb-get-localname)
      (tramp-smb-read-file-entry): Use `string-match-p' and
      `looking-at-p'.  Remove superfluous `save-match-data'.  Apply
      `eval-when-compile' on constant concat data.
      
      * lisp/net/tramp-compat.el (tramp-compat-file-name-quoted-p-p):
      Use `string-prefix-p'.
      (tramp-compat-file-name-unquote): Do not use match data.
      66b49fc1
  5. 10 Nov, 2018 1 commit
    • Michael Albinus's avatar
      Provide branch information for both Emacs and Tramp (Bug#33328) · a062fc41
      Michael Albinus authored
      * doc/lispref/intro.texi (Version Info):
      Document `emacs-repository-version' and `emacs-repository-branch'.
      
      * etc/NEWS: Mention `emacs-repository-branch'.
      
      * lisp/loadup.el: Initialize `emacs-repository-branch'.
      
      * lisp/version.el (emacs-repository-branch): New variable.
      (emacs-repository-branch-git, emacs-repository-get-branch):
      New defuns.
      
      * lisp/mail/emacsbug.el (report-emacs-bug):
      Insert `emacs-repository-branch'.
      
      * lisp/net/tramp.el (tramp-get-local-gid):
      Use `group-name' if available.
      (tramp-debug-message):
      * lisp/net/tramp-cmds.el (tramp-bug): Report also
      `tramp-repository-branch' and `tramp-repository-version'.
      
      * lisp/net/trampver.el (tramp-repository-branch)
      (tramp-repository-version): New defconst.
      (tramp-repository-get-version): Remove.
      a062fc41
  6. 06 Nov, 2018 1 commit
    • Michael Albinus's avatar
      Handle also port and domain in Tramp proxy definitions · 3abe7bfe
      Michael Albinus authored
      * doc/misc/tramp.texi (Multi-hops): Exclude ports and domains from
      pattern expansion.
      
      * lisp/net/tramp-cmds.el (tramp-cleanup-all-connections):
      Remove ad-hoc proxies.
      
      * lisp/net/tramp-sh.el (tramp-compute-multi-hops): Handle also
      port and domain in the proxy.  Propertize ad-hoc proxies.
      
      * lisp/net/tramp.el (tramp-default-proxies-alist): Adapt docstring.
      
      * test/lisp/net/tramp-tests.el (tramp-test02-file-name-dissect)
      (tramp-test02-file-name-dissect-simplified)
      (tramp-test02-file-name-dissect-separate): Extend tests.
      3abe7bfe
  7. 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/tramp-adb.el (tramp-adb-program)
      (tramp-adb-connect-if-not-connected, tramp-adb-prompt):
      * lisp/net/tramp-cache.el (tramp-connection-properties)
      (tramp-persistency-file-name):
      * 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)
      (tramp-sh-extra-args):
      * lisp/net/tramp-smb.el (tramp-smb-program, tramp-smb-acl-program)
      (tramp-smb-conf, tramp-smb-winexe-program)
      (tramp-smb-winexe-shell-command)
      (tramp-smb-winexe-shell-command-switch):
      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)
      (tramp-sh-handle-start-file-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): 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):
      Add "NT_STATUS_RESOURCE_NAME_NOT_FOUND".
      
      * 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.
      (tramp-test32-environment-variables-and-port-numbers):
      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.
      (tramp-test41-asynchronous-requests):
      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.
      e8912d5b
  8. 23 Apr, 2018 1 commit
    • Michael Albinus's avatar
      Let Tramp save passwords · 0ecc10a7
      Michael Albinus authored
      * lisp/auth-source.el (auth-source-secrets-saver): New defun.
      (auth-source-secrets-create): Use it.
      
      * lisp/net/secrets.el (secrets-struct-secret-content-type):
      (secrets-create-item): Do not hard-code :xdg:schema.
      
      * lisp/net/tramp.el (tramp-password-save-function): New defvar.
      (tramp-read-passwd): Set it properly.
      (tramp-process-actions):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
      Save password.
      
      * lisp/net/tramp-cmds.el (tramp-bug): Don't report
      `tramp-password-save-function'.
      
      * test/lisp/net/secrets-tests.el (secrets-test03-items):
      Extend test with another :xdg:schema.
      0ecc10a7
  9. 04 Feb, 2018 1 commit
    • Michael Albinus's avatar
      Make tramp-archive fit for older Emacsen · d2630e45
      Michael Albinus authored
      * lisp/net/tramp-archive.el (tramp-archive-enabled)
      (tramp-archive-file-name-handler-alist)
      (tramp-archive-file-name-handler): Adapt docstring.
      (tramp-register-archive-file-name-handler): Remove it from
      `after-init-hook' when unloading.
      (tramp-archive-gvfs-host): New defsubst.
      (tramp-archive-dissect-file-name): Use it.
      
      * lisp/net/tramp-cmds.el (tramp-cleanup-all-connections):
      Check that `tramp-archive-enabled' is bound.
      
      * test/lisp/net/tramp-archive-tests.el (tramp-archive-test42-auto-load):
      Check also that tramp-archive is not loaded when Tramp is loaded.
      (tramp-archive-test42-delay-load): Adapt test messages.
      d2630e45
  10. 01 Jan, 2018 1 commit
  11. 12 Dec, 2017 1 commit
    • Michael Albinus's avatar
      Extend tramp-cache.el interface · 95a2a74d
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-add-name-to-file)
      (tramp-handle-dired-uncache):
      * 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, tramp-adb-handle-process-file)
      (tramp-adb-handle-start-file-process, tramp-adb-get-device)
      (tramp-adb-maybe-open-connection):
      * lisp/net/tramp-cache.el (tramp-flush-file-properties)
      (tramp-flush-directory-properties, tramp-flush-file-function):
      * lisp/net/tramp-cmds.el (tramp-cleanup-connection):
      * 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-file-system-info, tramp-gvfs-handle-make-directory)
      (tramp-gvfs-handle-write-region, tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-send-command):
      * 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-set-file-selinux-context, tramp-sh-handle-set-file-acl)
      (tramp-sh-handle-add-name-to-file, tramp-sh-handle-copy-directory)
      (tramp-do-copy-or-rename-file, tramp-do-copy-or-rename-file-out-of-band)
      (tramp-sh-handle-make-directory, tramp-sh-handle-delete-directory)
      (tramp-sh-handle-delete-file, tramp-sh-handle-dired-compress-file)
      (tramp-process-sentinel, tramp-sh-handle-start-file-process)
      (tramp-sh-handle-process-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-file-acl, tramp-smb-handle-make-directory-internal)
      (tramp-smb-handle-make-symbolic-link, tramp-smb-handle-process-file)
      (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
      (tramp-smb-handle-set-file-modes, tramp-smb-handle-start-file-process)
      (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
      Use them.
      
      * lisp/net/tramp-cache.el (tramp-flush-file-properties)
      (tramp-flush-directory-properties, tramp-flush-connection-properties):
      Rename from `tramp-flush-file-property',`tramp-flush-directory-property'
      and `tramp-flush-connection-property', respectively.
      (tramp-flush-file-property, tramp-flush-connection-property):
      New defuns.
      95a2a74d
  12. 09 Dec, 2017 2 commits
    • Michael Albinus's avatar
      Support for archive file names · d338325c
      Michael Albinus authored
      * doc/misc/tramp.texi (Top, Usage): Add entry "Archive file names".
      (History): Mention archive file names.
      (GVFS based methods): Mentio "http" and "https" methods.
      (Archive file names): New node.
      (Frequently Asked Questions): Add Emacs 27 as supported version.
      
      * etc/NEWS: Mention tramp-archive.el.
      
      * lisp/net/tramp.el (tramp-run-real-handler)
      (tramp-register-file-name-handlers)
      (tramp-register-file-name-handlers, tramp-unload-file-name-handlers):
      Add `tramp-archive-file-name-handler'.
      (tramp-handle-file-name-completion): Do not insist in Tramp
      file names.
      
      * lisp/net/tramp-archive.el: New package.
      
      * lisp/net/tramp-cache.el (tramp-dump-connection-properties): Check for
      "archive" method.
      
      * lisp/net/tramp-cmds.el (tramp-cleanup-all-connections): Cleanup also
      local copies of archives.
      
      * lisp/net/tramp-compat.el (tramp-compat-use-url-tramp-p): New defconst.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "http" and "https".
      (tramp-gvfs-gio-mapping): Add "gvfs-mount".
      (tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec):
      Handle "uri" and "http".
      (tramp-gvfs-unmount): New defun.
      
      * test/lisp/net/tramp-archive-tests.el: New package.
      d338325c
    • Michael Albinus's avatar
      Sync with Tramp 2.4.0-pre · 34bedf5d
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "2.4.0-pre".
      
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      Use `tramp-handle-file-directory-p'.
      (tramp-adb-parse-device-names)
      (tramp-adb-handle-expand-file-name)
      (tramp-adb-handle-file-truename, tramp-adb-handle-process-file):
      Adapt `tramp-make-tramp-file-name' call.
      (tramp-adb-handle-file-directory-p): Remove.
      (tramp-adb-maybe-open-connection): Do not set
      tramp-current-*.
      
      * lisp/net/tramp-cache.el (tramp-get-hash-table):
      Adapt `tramp-make-tramp-file-name' call.
      
      * lisp/net/tramp-cmds.el (tramp-cleanup-connection): Do not set
      tramp-current-*.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      Use `tramp-handle-file-directory-p'.
      (tramp-gvfs-dbus-event-error): Trace with verbosity 6.
      (tramp-gvfs-do-copy-or-rename-file): Use `file-truename'.
      (tramp-gvfs-handle-file-directory-p): Remove.
      (tramp-gvfs-handler-askpassword): Do not set tramp-current-*.
      
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-sh-handle-start-file-process)
      (tramp-maybe-open-connection, tramp-get-remote-path): Do not
      set tramp-current-*.
      (tramp-maybe-open-connection): Set "password-vector" property.
      
      * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      Use `tramp-handle-file-accessible-directory-p' and
      `tramp-handle-file-directory-p'.
      (tramp-smb-handle-copy-directory, tramp-smb-handle-file-acl)
      (tramp-smb-handle-set-file-acl)
      (tramp-smb-maybe-open-connection): Do not set tramp-current-*.
      (tramp-smb-handle-file-directory-p): Remove.
      (tramp-smb-handle-make-symbolic-link):
      Use `tramp-get-connection-buffer' rather than `buffer-name'.
      
      * lisp/net/tramp.el (tramp-current-method, tramp-current-user)
      (tramp-current-domain, tramp-current-host)
      (tramp-current-port): Remove.
      (tramp-dissect-file-name): No special handling of localname anymore.
      (tramp-make-tramp-file-name): Reimplemnt with new signature.
      (tramp-completion-make-tramp-file-name): Fix docstring.
      (tramp-get-buffer, tramp-handle-file-name-as-directory)
      (tramp-handle-file-name-directory)
      (tramp-check-cached-permissions, tramp-local-host-p)
      (tramp-get-remote-tmpdir, tramp-clear-passwd):
      Adapt `tramp-make-tramp-file-name' call.
      (tramp-completion-handle-file-name-all-completions)
      (tramp-action-login, tramp-read-passwd): Do not set
      tramp-current-*.
      (tramp-handle-file-directory-p): New defun.
      (tramp-handle-verify-visited-file-modtime): Remove superfluous
      `with-parsed-tramp-file-name'.
      (tramp-process-actions, tramp-read-passwd):
      Use "password-vector" property.
      (tramp-call-process, tramp-call-process-region): No special
      setting of vec.
      (tramp-read-passwd): Handle "login-as" property.
      
      * test/lisp/net/tramp-tests.el (tramp-test21-file-links):
      Special code for "smb".
      34bedf5d
  13. 08 Nov, 2017 1 commit
  14. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  15. 24 May, 2017 1 commit
    • Michael Albinus's avatar
      Introduce a defstruct `tramp-file-name' as central data structure. · dca22e86
      Michael Albinus authored
      This solves also Bug#27009.
      
      * lisp/net/tramp.el (tramp-current-domain)
      (tramp-current-port): New defvars.
      (tramp-file-name): New defstruct.
      (tramp-file-name-user-domain, tramp-file-name-host-port)
      (tramp-file-name-equal-p): New defuns.
      (tramp-file-name-p, tramp-file-name-method)
      (tramp-file-name-user, tramp-file-name-host)
      (tramp-file-name-localname, tramp-file-name-hop)
      (tramp-file-name-real-user, tramp-file-name-domain)
      (tramp-file-name-real-host, tramp-file-name-port):
      Remove defuns.  They are provided by the defstruct, or not
      needed anymore.
      (tramp-dissect-file-name, tramp-buffer-name)
      (tramp-make-tramp-file-name, tramp-get-buffer)
      (tramp-set-connection-local-variables)
      (tramp-debug-buffer-name, tramp-message)
      (tramp-error-with-buffer, with-parsed-tramp-file-name)
      (tramp-completion-dissect-file-name1)
      (tramp-handle-file-name-as-directory)
      (tramp-handle-file-name-directory)
      (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
      (tramp-handle-find-backup-file-name)
      (tramp-handle-insert-file-contents, tramp-process-actions)
      (tramp-check-cached-permissions, tramp-local-host-p)
      (tramp-get-remote-tmpdir, tramp-call-process)
      (tramp-call-process-region, tramp-read-passwd)
      (tramp-clear-passwd):
      * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
      (tramp-adb-handle-expand-file-name)
      (tramp-adb-handle-file-truename, tramp-adb-handle-copy-file)
      (tramp-adb-handle-process-file)
      (tramp-adb-maybe-open-connection):
      * lisp/net/tramp-cache.el (tramp-get-hash-table)
      (tramp-get-file-property, tramp-set-file-property)
      (tramp-flush-file-property, tramp-flush-directory-property)
      (tramp-get-connection-property)
      (tramp-set-connection-property, tramp-connection-property-p)
      (tramp-flush-connection-property, tramp-cache-print)
      (tramp-list-connections, tramp-dump-connection-properties)
      (tramp-parse-connection-properties):
      * lisp/net/tramp-cmds.el (tramp-cleanup-connection):
      * lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name)
      (tramp-gvfs-url-file-name, tramp-gvfs-handler-askpassword)
      (tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-mount-spec, tramp-gvfs-get-remote-uid)
      (tramp-gvfs-get-remote-gid)
      (tramp-gvfs-maybe-open-connection):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-sh-handle-expand-file-name)
      (tramp-sh-handle-start-file-process)
      (tramp-sh-handle-process-file, tramp-compute-multi-hops)
      (tramp-maybe-open-connection)
      (tramp-make-copy-program-file-name, tramp-get-remote-path)
      (tramp-get-inline-coding):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-expand-file-name)
      (tramp-smb-handle-file-acl, tramp-smb-handle-process-file)
      (tramp-smb-handle-set-file-acl)
      (tramp-smb-maybe-open-connection): Adapt according to defstruct.
      dca22e86
  16. 12 May, 2017 1 commit
    • Michael Albinus's avatar
      Make Tramp backward compatible · afd8c762
      Michael Albinus authored
      * lisp/net/tramp-cmds.el (tramp-change-syntax):
      Set tramp-autoload cookie.
      
      * lisp/net/tramp-compat.el: Run `tramp-change-syntax' at
      startup, if necessary.
      
      * lisp/net/tramp.el (tramp-syntax): Use `tramp-compat-user-error'.
      (tramp-register-autoload-file-name-handlers): Do not mark
      `operations' for `tramp-file-name-handler'.
      (tramp-register-file-name-handlers): Remove also
      `tramp-autoload-file-name-handler' for backward compatibility.
      (tramp-register-foreign-file-name-handler): Use `delete-dups'.
      
      * test/lisp/net/tramp-tests.el (tramp-change-syntax): Declare.
      afd8c762
  17. 08 May, 2017 1 commit
    • Michael Albinus's avatar
      Handle `write-region' messages in Tramp properly · 73e3ed48
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-write-region-message): New defsubst.
      * 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): Use it.
      
      * lisp/net/tramp.el (tramp-password-prompt-regexp)
      (tramp-completion-mode-p):
      * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable)
      (tramp-append-tramp-buffers):
      * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
      Use `bound-and-true-p'.
      
      * lisp/net/tramp-compat.el (tramp-compat-delete-file):
      Don't check for `boundp' anymore.
      
      * test/lisp/net/tramp-tests.el (ert-x): Require it.
      (tramp--test-messages): New defvar.
      (tramp-test10-write-region): Extend test.
      73e3ed48
  18. 08 Apr, 2017 1 commit
    • Michael Albinus's avatar
      Tune Tramp syntax · b7d61609
      Michael Albinus authored
      * lisp/net/tramp-cmds.el (tramp-change-syntax):
      Use `tramp-syntax-values'.
      
      * lisp/net/tramp-compat.el (tramp-compat-tramp-syntax): New defsubst.
      
      * lisp/net/tramp.el (tramp-syntax): Rename possible values.
      (tramp-syntax-values): New defun.
      (tramp-prefix-format, tramp-method-regexp)
      (tramp-postfix-method-format, tramp-prefix-ipv6-format)
      (tramp-postfix-ipv6-format, tramp-postfix-host-format)
      (tramp-completion-file-name-regexp): Use `tramp-compat-tramp-syntax'
      and changed values.
      (tramp-completion-file-name-regexp-default): Rename from
      `tramp-completion-file-name-regexp-unified'.  Adapt docstring.
      (tramp-completion-file-name-regexp-simplified): Rename from
      `tramp-completion-file-name-regexp-old-style'.  Adapt docstring.
      (tramp-initial-completion-file-name-regexp):
      Use `tramp-completion-file-name-regexp-default'.
      (tramp-run-real-handler): Do not autoload any longer.
      b7d61609
  19. 06 Apr, 2017 1 commit
    • Michael Albinus's avatar
      Add new Tramp syntax · 69061fd1
      Michael Albinus authored
      * lisp/net/tramp-cmds.el (tramp-change-syntax): New defun.
      
      * lisp/net/tramp.el (tramp-syntax): Change default to `def'.
      Add :set function.
      (tramp-prefix-port-format): Simplify.
      (tramp-file-name-regexp-separate): Remove.
      (tramp-initial-file-name-regexp)
      (tramp-completion-file-name-regexp-old-style)
      (tramp-initial-completion-file-name-regexp): New defconst.
      (tramp-prefix-format, tramp-prefix-regexp)
      (tramp-method-regexp, tramp-postfix-method-format)
      (tramp-postfix-method-regexp, tramp-prefix-ipv6-format)
      (tramp-prefix-ipv6-regexp, tramp-postfix-ipv6-format)
      (tramp-postfix-ipv6-regexp)
      (tramp-postfix-host-format, tramp-postfix-host-regexp)
      (tramp-remote-file-name-spec-regexp)
      (tramp-file-name-structure, tramp-file-name-regexp)
      (tramp-completion-file-name-regexp)
      (tramp-rfn-eshadow-update-overlay-regexp): Change them to be defuns.
      (tramp-tramp-file-p, tramp-find-method)
      (tramp-dissect-file-name, tramp-make-tramp-file-name)
      (tramp-completion-make-tramp-file-name)
      (tramp-rfn-eshadow-update-overlay)
      (tramp-register-autoload-file-name-handlers)
      (tramp-register-file-name-handlers)
      (tramp-unload-file-name-handlers)
      (tramp-completion-handle-file-name-all-completions)
      (tramp-completion-dissect-file-name, tramp-clear-passwd):
      * lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler):
      * lisp/net/tramp-sh.el (tramp-sh-handle-vc-registered)
      (tramp-compute-multi-hops): Use them.
      69061fd1
  20. 23 Mar, 2017 1 commit
    • Michael Albinus's avatar
      Use lexical-bind in Tramp · e1392faa
      Michael Albinus authored
      * lisp/net/tramp*.el: Add lexical-binding cookie.  Move declarations up.
      
      * lisp/net/tramp-adb.el (tramp-adb-parse-device-names): Use `push'
      rather than `add-to-list'.
      (tramp-adb-get-device): Remove unused variable.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names): Remove unused
      variable.
      
      * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
      (tramp-find-file-name-coding-system-alist): Use `push' rather
      than `add-to-list'.
      
      * test/lisp/net/tramp-tests.el: Add lexical-binding cookie.
      Require 'dired.  Move declarations up.
      (tramp-test32-make-nearby-temp-file): Wrap `make-nearby-temp-file'
      and `temporary-file-directory' calls with `with-no-warnings'.
      (tramp-test35-asynchronous-requests): Mark unused variable.
      e1392faa
  21. 19 Feb, 2017 1 commit
    • Michael Albinus's avatar
      Rework connection local variables · 143bc75c
      Michael Albinus authored
      For connection local variables interface, `class' is renamed
      to `profile'.  All arguments `criteria' are a plist now.
      
      * doc/lispref/variables.texi (Connection Local Variables):
      Rewrite.
      
      * lisp/files-x.el (connection-local-profile-alist): Rename
      from `connection-local-class-alist'.  Adapt docstring.
      (connection-local-criteria-alist): Adapt docstring.
      (connection-local-normalize-criteria): New defun.
      (connection-local-get-profiles): Rename from
      `connection-local-get-classes'.  Rewrite.
      (connection-local-set-profiles): Rename from
      `connection-local-set-classes'.  Rewrite.
      (connection-local-get-profile-variables): Rename from
      `connection-local-get-class-variables'.  Rewrite.
      (connection-local-set-profile-variables): Rename from
      `connection-local-set-class-variables'.  Rewrite.
      (hack-connection-local-variables)
      (hack-connection-local-variables-apply)): Rewrite.
      (with-connection-local-profiles): Rename from
      `ith-connection-local-classes'.  Rewrite.
      
      * lisp/net/tramp.el (tramp-set-connection-local-variables):
      Compute criteria.
      
      * lisp/net/tramp-cmds.el (tramp-bug):
      Use `connection-local-profile-alist'.
      
      * test/lisp/files-x-tests.el (files-x-test--variables1)
      (files-x-test--variables2, files-x-test--variables3)
      (files-x-test--variables4, files-x-test--criteria1)
      (files-x-test--criteria2): Make them a defconst.
      (files-x-test--application)
      (files-x-test--another-application, files-x-test--protocol)
      (files-x-test--user, files-x-test--machine): New defconst.
      (files-x-test--criteria): New defvar.
      (files-x-test--criteria3): Remove.
      (files-x-test-connection-local-set-profile-variables):
      Rename from `files-x-test-connection-local-set-class-variables'.
      Rewrite.
      (files-x-test-connection-local-set-profiles): Rename from
      `files-x-test-connection-local-set-classes'.  Rewrite.
      (files-x-test-hack-connection-local-variables-apply)  Rewrite.
      (files-x-test-with-connection-local-profiles): Rename from
      `files-x-test-with-connection-local-classes'.  Rewrite.
      143bc75c
  22. 01 Jan, 2017 1 commit
  23. 22 Nov, 2016 1 commit
  24. 15 Sep, 2016 1 commit
    • Michael Albinus's avatar
      Rework fixing Bug#24432 · 3c586e18
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-get-buffer): Set connection property
      "process-buffer" in order to mark connection as active.
      
      * lisp/net/tramp-cache.el (tramp-get-hash-table)
      (tramp-set-connection-property)
      (tramp-dump-connection-properties): Do not use "active" property.
      (tramp-list-connections): Use "process-buffer" property.
      
      * lisp/net/tramp-cmds.el (tramp-cleanup-connection): Flush process
      properties prior deletion of process.
      3c586e18
  25. 31 May, 2016 1 commit
    • Michael Albinus's avatar
      Improve robustness for out-of-band copy in Tramp · 9878cf4d
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-execute-adb-command)
      * lisp/net/tramp-cmds.el (tramp-append-tramp-buffers)
      * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file):
      Cosmetic changes.
      
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
      Use local `default-directory'.  Simplify command to send.
      Don't check return code, this was already done in
      `tramp-process-actions'.
      (tramp-get-inline-coding): Don't set `default-directory'.
      
      * lisp/net/tramp.el (tramp-action-out-of-band):
      Throw `out-of-band-failed'.
      (tramp-process-actions): Handle `out-of-band-failed'.
      (tramp-call-process, tramp-call-process-region):
      Use local `default-directory'.
      9878cf4d
  26. 24 Jan, 2016 1 commit
    • Alan Mackenzie's avatar
      Expunge "allow" + infinitive without direct object from source and doc. · fbce4757
      Alan Mackenzie authored
      Do the same for "permit", "enable", and "prevent".
      
      * doc/emacs/mule.texi:
      * doc/lispref/control.texi:
      * doc/lispref/display.texi:
      * doc/lispref/frames.texi:
      * doc/lispref/functions.texi:
      * doc/lispref/nonascii.texi:
      * doc/lispref/streams.texi:
      * doc/lispref/windows.texi:
      * doc/misc/dbus.texi:
      * doc/misc/eww.texi:
      * doc/misc/flymake.texi:
      * doc/misc/octave-mode.texi:
      * doc/misc/org.texi:
      * doc/misc/reftex.texi:
      * doc/misc/tramp.texi:
      * doc/misc/wisent.texi:
      * etc/NEWS:
      * lisp/autorevert.el:
      * lisp/cedet/mode-local.el:
      * lisp/cedet/semantic/senator.el:
      * lisp/cedet/semantic/wisent.el:
      * lisp/dos-fns.el:
      * lisp/frameset.el:
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/mm-util.el:
      * lisp/international/characters.el:
      * lisp/ldefs-boot.el:
      * lisp/mail/mailclient.el:
      * lisp/man.el:
      * lisp/mh-e/mh-search.el:
      * lisp/net/tramp-cmds.el:
      * lisp/net/tramp-gvfs.el:
      * lisp/org/org-crypt.el:
      * lisp/org/org-element.el:
      * lisp/org/org-feed.el:
      * lisp/org/org.el:
      * lisp/org/ox-ascii.el:
      * lisp/org/ox-icalendar.el:
      * lisp/org/ox-publish.el:
      * lisp/org/ox.el:
      * lisp/play/gamegrid.el:
      * lisp/play/gomoku.el:
      * lisp/progmodes/antlr-mode.el:
      * lisp/progmodes/python.el:
      * lisp/progmodes/vhdl-mode.el:
      * lisp/strokes.el:
      * lisp/textmodes/ispell.el:
      * lisp/tree-widget.el:
      * lisp/vc/pcvs.el:
      * lisp/window.el:
      * src/lisp.h:
      * src/w32.c:
      * src/w32heap.c:
      * src/w32term.c:
      * src/window.c:
      * src/xfaces.c:
      
      Replace solecisms like "This allow to do something" with a correct
      alternative, such as "This allow you to do something", "This allows
      something to be done" or "This allows the doing of something".
      fbce4757
  27. 23 Jan, 2016 1 commit
    • Michael Albinus's avatar
      Improve user name completion in Tramp · 8cdb9ac0
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-parse-passwd, tramp-parse-etc-group):
      Call also "getent passwd" or "getent group", if possible.
      (tramp-parse-putty): Cache the result.
      8cdb9ac0
  28. 14 Jan, 2016 1 commit
    • Michael Albinus's avatar
      Remove XEmacs compatibility in Tramp · de8c5f9d
      Michael Albinus authored
      * doc/misc/tramp.texi: Replace flags by their hard coded name.
      Remove unused flags and the enclosed alternative text for XEmacs.
      
      * doc/misc/trampver.texi: Use "Tramp" CamelCase.  Rename "emacs"
      and "xemacs" flags to "unified" and "separate".  Remove flags
      "emacsgw", "emacsname", "emacsdir", "ftppackagename",
      "emacsothername", "emacsotherdir" and "emacsotherfilename".
      (trampver):
      * lisp/net/trampver.el (tramp-version): Set to "2.3.0-pre".
      
      * lisp/net/tramp.el (bkup-backup-directory-info)
      (directory-sep-char, ls-lisp-use-insert-directory-program)
      (outline-regexp, tramp-backup-directory-alist)
      (tramp-default-method, tramp-shell-prompt-pattern, tramp-syntax)
      (tramp-file-name-regexp-unified)
      (tramp-file-name-regexp-separate)
      (tramp-completion-file-name-regexp-unified)
      (tramp-completion-file-name-regexp-separate, tramp-chunksize)
      (tramp-get-method-parameter, tramp-find-method, tramp-find-user)
      (tramp-debug-message, tramp-progress-reporter-update)
      (with-tramp-progress-reporter)
      (tramp-rfn-eshadow-setup-minibuffer)
      (rfn-eshadow-setup-minibuffer-hook, tramp-unload-hook)
      (tramp-rfn-eshadow-update-overlay)
      (rfn-eshadow-update-overlay-hook, tramp-default-file-modes)
      (tramp-file-name-for-operation)
      (tramp-completion-file-name-handler)
      (tramp-autoload-file-name-handler, tramp-completion-mode-p)
      (tramp-handle-directory-files)
      (tramp-handle-directory-files-and-attributes)
      (tramp-handle-dired-uncache, tramp-handle-find-backup-file-name)
      (tramp-handle-insert-file-contents, tramp-handle-load)
      (tramp-handle-shell-command)
      (tramp-handle-verify-visited-file-modtime)
      (tramp-handle-file-notify-valid-p, tramp-accept-process-output)
      (tramp-check-for-regexp, tramp-wait-for-regexp)
      (tramp-send-string, tramp-mode-string-to-int)
      (tramp-get-local-gid, tramp-check-cached-permissions)
      (tramp-get-remote-tmpdir, tramp-make-tramp-temp-file)
      (auto-save-file-name-transforms)
      (tramp-handle-make-auto-save-file-name, tramp-read-passwd)
      (tramp-clear-passwd, tramp-time-diff):
      * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp)
      (directory-sep-char, tramp-adb-file-name-handler-alist)
      (tramp-adb-parse-device-names)
      (tramp-adb-handle-expand-file-name)
      (tramp-adb-handle-file-truename, tramp-adb--gnu-switches-to-ash)
      (tramp-adb-handle-file-local-copy)
      (tramp-adb-handle-write-region, tramp-adb-handle-set-file-modes)
      (tramp-adb-handle-rename-file, tramp-adb-handle-process-file)
      (tramp-adb-handle-shell-command)
      (tramp-adb-handle-start-file-process, tramp-adb-get-device)
      (tramp-adb-maybe-open-connection):
      * lisp/net/tramp-cache.el (tramp-persistency-file-name)
      (tramp-cache-print):
      * lisp/net/tramp-cmds.el (tramp-cleanup-all-connections)
      (tramp-bug, tramp-reporter-dump-variable)
      (tramp-load-report-modules, tramp-append-tramp-buffers):
      * lisp/net/tramp-compat.el (tramp-compat-funcall)
      (tramp-advice-file-expand-wildcards)
      (tramp-compat-temporary-file-directory)
      (tramp-compat-make-temp-file, tramp-compat-copy-file)
      (tramp-compat-delete-directory, )
      (tramp-compat-process-running-p):
      * lisp/net/tramp-ftp.el (tramp-methods) <ftp>:
      (tramp-default-method-alist, tramp-foreign-file-name-handler-alist):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
      (tramp-gvfs-do-copy-or-rename-file, tramp-gvfs-handle-copy-file)
      (tramp-gvfs-handle-file-local-copy)
      (tramp-gvfs-handle-file-name-all-completions)
      (tramp-gvfs-handle-file-notify-add-watch)
      (tramp-gvfs-monitor-file-process-filter)
      (tramp-gvfs-handle-file-readable-p)
      (tramp-gvfs-handle-rename-file, tramp-gvfs-handle-write-region)
      (tramp-gvfs-file-name, tramp-gvfs-handler-askquestion)
      (tramp-gvfs-maybe-open-connection)
      (tramp-gvfs-parse-device-names):
      * lisp/net/tramp-gw.el (tramp-gw-aux-proc-sentinel)
      (tramp-gw-open-connection, tramp-gw-open-network-stream):
      * lisp/net/tramp-sh.el (directory-sep-char)
      (tramp-sh-file-name-handler-alist)
      (tramp-sh-handle-file-truename)
      (tramp-sh-handle-set-visited-file-modtime)
      (tramp-sh-handle-verify-visited-file-modtime)
      (tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times)
      (tramp-sh-handle-file-acl)
      (tramp-sh-handle-file-name-all-completions)
      (tramp-sh-handle-copy-file, tramp-sh-handle-rename-file)
      (tramp-do-copy-or-rename-file-directly)
      (tramp-do-copy-or-rename-file-out-of-band)
      (dired-compress-file-suffixes, dired-remove-file)
      (tramp-sh-handle-dired-compress-file)
      (tramp-sh-handle-insert-directory)
      (tramp-sh-handle-expand-file-name)
      (tramp-sh-handle-start-file-process)
      (tramp-sh-handle-process-file, tramp-sh-handle-file-local-copy)
      (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
      (tramp-sh-handle-file-notify-add-watch)
      (tramp-sh-gvfs-monitor-dir-process-filter)
      (tramp-sh-inotifywait-process-filter, tramp-maybe-send-script)
      (tramp-find-executable)
      (tramp-open-connection-setup-interactive-shell)
      (tramp-find-inline-encoding, tramp-compute-multi-hops)
      (tramp-maybe-open-connection, tramp-convert-file-attributes)
      (tramp-get-remote-path, tramp-get-remote-touch):
      * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
      (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
      (tramp-smb-handle-delete-directory)
      (tramp-smb-handle-directory-files, tramp-smb-handle-file-acl)
      (tramp-smb-handle-make-directory-internal)
      (tramp-smb-handle-process-file, tramp-smb-handle-rename-file)
      (tramp-smb-handle-set-file-acl, tramp-smb-handle-set-file-modes)
      (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
      (tramp-smb-get-cifs-capabilities)
      (tramp-smb-maybe-open-connection):
      * lisp/net/trampver.el (tramp-repository-get-version):
      Remove XEmacs compat code.
      
      * lisp/net/tramp-cmds.el (mml-mode, mml-insert-empty-tag)
      (reporter-dump-variable): Declare functions.
      
      * lisp/net/tramp.el (tramp-bkup-backup-directory-info)
      (tramp-advice-minibuffer-electric-separator)
      (tramp-advice-minibuffer-electric-tilde)
      (tramp-handle-unhandled-file-name-directory):
      * lisp/net/tramp-compat.el (tramp-compat-with-temp-message)
      (tramp-compat-font-lock-add-keywords)
      (tramp-compat-load, tramp-compat-number-sequence)
      (tramp-compat-split-string, tramp-compat-delete-dups):
      * lisp/net/tramp-sh.el (tramp-sh-handle-insert-file-contents-literally):
      Remove.
      
      * lisp/net/tramp-sh.el (tramp-methods) <psftp>: This does not work
      recursively.
      de8c5f9d
  29. 01 Jan, 2016 1 commit
  30. 18 Aug, 2015 1 commit
  31. 25 May, 2015 1 commit
    • Michael Albinus's avatar
      Inhibit `epa-file-handler' in Tramp · 89035e24
      Michael Albinus authored
      Fixes: debbugs:20634
      
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
      (tramp-sh-handle-insert-file-contents-literally): Inhibit also
      `epa-file-handler'.
      89035e24
  32. 19 May, 2015 1 commit
    • Paul Eggert's avatar
      Fix minor quoting problems in doc strings · 9d35bb8d
      Paul Eggert authored
      These were glitches regardless of how or whether we tackle the
      problem of grave accent in doc strings.
      * lisp/calc/calc-aent.el (math-restore-placeholders):
      * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
      * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
      * lisp/leim/quail/hebrew.el ("hebrew-new")
      ("hebrew-biblical-sil"):
      * lisp/leim/quail/thai.el ("thai-kesmanee"):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
      Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
      * lisp/calendar/calendar.el (calendar-month-abbrev-array):
      * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
      * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
      * lisp/cedet/semantic/tag.el (semantic-tag-copy)
      (semantic-tag-components):
      * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
      * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
      * lisp/emacs-lisp/generator.el (iter-next):
      * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
      (gnus-article-mode-syntax-table):
      * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
      * lisp/net/soap-client.el (soap-wsdl-get):
      * lisp/net/telnet.el (telnet-mode):
      * lisp/org/org-compat.el (org-number-sequence):
      * lisp/org/org.el (org-remove-highlights-with-change)
      (org-structure-template-alist):
      * lisp/org/ox-html.el (org-html-link-org-files-as-html):
      * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
      (handwrite-12pt, handwrite-13pt):
      * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
      * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
      * lisp/progmodes/verilog-mode.el (verilog-tool)
      (verilog-string-replace-matches, verilog-preprocess)
      (verilog-auto-insert-lisp, verilog-auto-insert-last):
      * lisp/textmodes/makeinfo.el (makeinfo-options):
      * src/font.c (Ffont_spec):
      Fix minor quoting problems in doc strings, e.g., missing quote,
      ``x'' where `x' was meant, etc.
      * lisp/erc/erc-backend.el (erc-process-sentinel-2):
      Fix minor quoting problem in other string.
      * lisp/leim/quail/ethiopic.el ("ethiopic"):
      * lisp/term/tvi970.el (tvi970-set-keypad-mode):
      Omit unnecessary quotes.
      * lisp/faces.el (set-face-attribute, set-face-underline)
      (set-face-inverse-video, x-create-frame-with-faces):
      * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
      * lisp/mail/supercite.el (sc-attribs-%@-addresses)
      (sc-attribs-!-addresses, sc-attribs-<>-addresses):
      * lisp/net/tramp.el (tramp-methods):
      * lisp/recentf.el (recentf-show-file-shortcuts-flag):
      * lisp/textmodes/artist.el (artist-ellipse-right-char)
      (artist-ellipse-left-char, artist-vaporize-fuzziness)
      (artist-spray-chars, artist-mode, artist-replace-string)
      (artist-put-pixel, artist-text-see-thru):
      * lisp/vc/ediff-util.el (ediff-submit-report):
      * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
      Use double-quotes rather than TeX markup in doc strings.
      * lisp/skeleton.el (skeleton-pair-insert-maybe):
      Reword to avoid the need for grave accent and apostrophe.
      * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
      Don't use grave and acute accents to quote.
      9d35bb8d
  33. 01 Jan, 2015 2 commits
  34. 01 Jan, 2014 1 commit
  35. 25 Nov, 2013 1 commit
  36. 16 Nov, 2013 1 commit
  37. 17 Oct, 2013 1 commit
    • Michael Albinus's avatar
      Code cleanup. · 4c1f03ef
      Michael Albinus authored
      * net/tramp.el (tramp-debug-message): Do not check for connection
      buffer.
      (tramp-message): Use "vector" connection property.
      
      * net/tramp.el (tramp-rfn-eshadow-update-overlay)
      (tramp-equal-remote, tramp-eshell-directory-change)
      * net/tramp-adb.el (tramp-adb-handle-copy-file)
      (tramp-adb-handle-rename-file)
      * net/tramp-cmds.el (tramp-list-remote-buffers)
      (tramp-cleanup-connection, tramp-cleanup-this-connection)
      * net/tramp-compat.el (tramp-compat-process-running-p)
      * net/tramp-ftp.el (tramp-ftp-file-name-handler)
      * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
      (tramp-gvfs-handle-rename-file)
      * net/tramp-sh.el (tramp-sh-handle-set-file-times)
      (tramp-set-file-uid-gid)
      * net/tramp-smb.el (tramp-smb-handle-copy-file)
      (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
      of `file-remote-p'.
      
      * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
      * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
      (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
      (tramp-gw-open-network-stream): Suppress unrelated traces.
      
      * net/tramp-adb.el (tramp-adb-maybe-open-connection)
      * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
      * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
      * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
      connection property.
      
      * net/tramp-cache.el (top): Suppress traces when reading
      presistency file.
      
      * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
      Refactor common code.  Improve debug message.
      (tramp-maybe-open-connection)
      * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
      connection buffer too early.
      
      * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
      from `tramp-smb-actions-with-acl'.
      (tramp-smb-actions-set-acl): New defconst.
      (tramp-smb-handle-copy-directory)
      (tramp-smb-action-get-acl): New defun, renamed from
      `tramp-smb-action-with-acl'.
      (tramp-smb-action-set-acl): New defun.
      (tramp-smb-handle-set-file-acl): Rewrite.
      4c1f03ef
  38. 02 Oct, 2013 1 commit
    • Michael Albinus's avatar
      Sync with Tramp 2.2.8. · a2f93a5f
      Michael Albinus authored
      * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
      * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
      * net/trampver.el: Update release number.
      a2f93a5f