summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-sh.el
Commit message (Expand)AuthorAgeFilesLines
* Spelling fixes.Paul Eggert2011-11-141-1/+1
* * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for...filenames "/method:foo:". Michael Albinus2011-10-251-10/+7
* * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): Fix...nasty bug using wrong cached values. Michael Albinus2011-09-231-9/+9
* * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz"....Suggested by Liam Stitt <stittl@cuug.ab.ca>. Michael Albinus2011-09-191-0/+1
* * net/tramp.el (top): Don't require 'shell....(tramp-methods): Fix docstring. (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el. Return complete remote file name. Handle "smb" case. Use `tramp-tmpdir', if defined for the respective method. (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'. * net/tramp-compat.el (top): Require 'shell. * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for `tramp-current-host'. (tramp-get-remote-tmpdir): Remove. * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and `tramp-tmpdir' entries. (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED". (tramp-smb-handle-file-attributes): Ignore errors. (tramp-smb-wait-for-output): Check also for process end. Michael Albinus2011-09-181-12/+2
* * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but...`tramp-cache-unload-hook' where appropriate. (tramp-methods): Rename `tramp-remote-sh' to `tramp-remote-shell'. Add `tramp-remote-shell-args'. (tramp-handle-shell-command): New defun, moved from tramp-sh.el. * net/tramp-sh.el (top): Don't require 'shell. (tramp-methods): Add `tramp-remote-shell' and `tramp-remote-shell-args' entries. (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'. (tramp-sh-handle-shell-command): Remove. (tramp-find-shell, tramp-open-connection-setup-interactive-shell): Use `tramp-remote-shell'. Michael Albinus2011-09-041-113/+59
* * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)...(tramp-open-shell): Use `tramp-shell-quote-argument'. * net/trampver.el: Update release number. Michael Albinus2011-08-031-3/+3
* * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the...connection process, it could be nil. Michael Albinus2011-07-271-3/+6
* * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of...`tramp-send-command-and-check' if there is no error. (tramp-send-command-and-read): Suppress *all* errors if NOERROR. Michael Albinus2011-07-241-16/+19
* * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a...human-friendly prompt. Michael Albinus2011-07-081-1/+6
* * net/tramp-cmds.el (tramp-cleanup-this-connection): New command....* net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst. (tramp-sh-handle-insert-directory, tramp-convert-file-attributes): Use it. (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes, `tramp-default-remote-path' does not exist. (tramp-send-command-and-read): New optional argument NOERROR. (tramp-open-connection-setup-interactive-shell) (tramp-get-remote-path, tramp-get-remote-stat): Use it. (tramp-get-remote-readlink): Do not mask with `ignore-errors'. (tramp-process-sentinel): Flush also process' connection property. (tramp-sh-handle-start-file-process): Do not set process sentinel. It is done now ... (tramp-maybe-open-connection): ... here. (Bug#8929) Michael Albinus2011-07-041-28/+38
* * net/tramp.el (tramp-encoding-command-interactive): New defcustom....* net/tramp-sh.el (tramp-maybe-open-connection): Use it. Michael Albinus2011-07-011-2/+6
* * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether...SIZE is a number. Michael Albinus2011-06-231-0/+2
* * net/tramp-sh.el (tramp-find-shell): Apply workaround also for..."SunOS 5.10". Michael Albinus2011-06-041-3/+5
* * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)...(tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys) (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc) (tramp-parse-putty): * net/tramp-sh.el (tramp-completion-function-alist-rsh) (tramp-completion-function-alist-ssh) (tramp-completion-function-alist-telnet) (tramp-completion-function-alist-su) (tramp-completion-function-alist-putty): Set `tramp-autoload' cookie. * net/tramp-ftp.el: * net/tramp-sh.el: * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after load "tramp.el" `tramp-set-completion-function'. Michael Albinus2011-06-041-28/+43
* * lisp/net/tramp.el (tramp-with-progress-reporter): Rename from...with-progress-reporter. Use `declare'. * lisp/net/tramp-smb.el: * lisp/net/tramp-sh.el: * lisp/net/tramp-gvfs.el: Update all uses. Stefan Monnier2011-06-021-13/+15
* * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Fix...port computation bug. (Bug#8618) Michael Albinus2011-05-051-2/+2
* * net/tramp.el (tramp-process-actions): Add POS argument. Delete...region between POS and (pos). * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use `nil' position in `tramp-process-actions' call. (tramp-maybe-open-connection): Call `tramp-process-actions' with pos. * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil' position in `tramp-process-actions' call. * net/trampver.el: Update release number. Michael Albinus2011-04-251-3/+5
* * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the...case when the scripts fail. Use `tramp-do-file-attributes-with-ls' then. (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer, whether`executable-find' is bound. * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring. Michael Albinus2011-04-141-11/+12
* Sync with Tramp 2.2.1....* net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options. * net/trampver.el: Update release number. Michael Albinus2011-03-121-12/+12
* * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do...not use `tramp-file-name-port', because this returns also `tramp-default-port'. Michael Albinus2011-03-091-7/+11
* Replace "explicite" with "explicit" globally...Replace "instead of" with "instead" where there was nothing after "of" Audit use of comma before interrogative pronoun, "that", or "which" Michael Albinus2011-02-051-9/+9
* * net/tramp-sh.el (tramp-remote-path): Add default settings for...`tramp-default-remote-path' to the docstring. (tramp-get-remote-path): Suppress error message when `getconf PATH' fails. * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL". Michael Albinus2011-02-031-8/+10
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-6/+3
* Add missing copyright years.Michael Albinus2011-01-181-6/+6
* Refill some copyright headers.Glenn Morris2011-01-151-2/+2
* Merge from emacs-23 branch.Glenn Morris2011-01-151-6/+30
* Merge from emacs-23Stefan Monnier2011-01-141-2/+2
* * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"...and "scpx". Michael Albinus2010-12-311-2/+4
* * net/tramp.el (tramp-default-method-alist)...(tramp-default-user-alist) (tramp-local-host-regexp, tramp-prefix-domain-format) (tramp-prefix-domain-regexp): Set tramp-autoload cookie. * net/tramp-ftp.el: * net/tramp-gvfs.el: * net/tramp-gw.el: * net/tramp-imap.el: * net/tramp-sh.el: * net/tramp-smb.el: Add tramp-autoload cookie for initialisation code of `tramp-default-method-alist' and `tramp-default-user-alist'. Michael Albinus2010-12-301-0/+3
* * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based...methods, otherwise ~/.ssh/config would be ignored. Michael Albinus2010-12-271-3/+3
* * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local....(tramp-handle-insert-file-contents): Do not set permanent-local property. * net/tramp-cache.el (tramp-persistency-file-name): Use `locate-user-emacs-file' if fboundp. * net/tramp-sh.el (tramp-methods): Add "ksu". (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for method list. Michael Albinus2010-12-141-14/+28
* Merge from emacs-23Stefan Monnier2010-12-131-55/+59
* * net/tramp.el (tramp-local-host-regexp): Add "localhost6"....(tramp-file-name-port): Check also for `tramp-default-port'. (tramp-get-connection-name): New defun. (tramp-get-connection-process): Use it. (tramp-debug-message): Extend function exclude list. (tramp-drop-volume-letter): Fix doc string. * net/tramp-cmds.el: Remove solved todo item. * net/tramp-efs.el: * net/tramp-ftp.el: * net/tramp-gvfs.el: * net/tramp-gw.el: * net/tramp-imap.el: * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist' and `tramp-default-user-alist', respectively. * net/tramp-gw.el (tramp-gw-open-connection): Use `tramp-get-connection-name' and `tramp-get-connection-buffer'. * net/tramp-imap.el (tramp-imap-make-iht): Use just `tramp-file-name-port'. * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp" and "psftp". Exchange "%k" marker with options. (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy): Compute size of link target. (tramp-do-copy-or-rename-file-out-of-band). Move setting of `tramp-current-*' up due to gateway methods. Optimze computing of copy arguments. Use `tramp-get-connection-name' and `tramp-get-connection-buffer'. Improve debug messages. (tramp-compute-multi-hops): Remove port determination. (tramp-maybe-open-connection): Use `tramp-get-connection-name'. * net/trampver.el: Update release number. Michael Albinus2010-12-021-64/+62
* Sync with Tramp 2.2.0....* net/tramp.el (tramp-handle-insert-file-contents): Don't use `file-remote-p' (due to compatibility). * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly) (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'. * net/trampver.el: Update release number. Michael Albinus2010-11-201-14/+10
* * net/tramp-compat.el (tramp-compat-line-beginning-position)...(tramp-compat-line-end-position): Remove them. * net/tramp.el (tramp-parse-rhosts-group) (tramp-parse-shosts-group, tramp-parse-sconfig-group) (tramp-parse-hosts-group, tramp-parse-passwd-group) (tramp-parse-netrc-group, tramp-parse-putty-group) * net/tramp-cmds.el (tramp-append-tramp-buffers) * net/tramp-sh.el (tramp-do-file-attributes-with-ls) (tramp-sh-handle-file-selinux-context) (tramp-sh-handle-file-name-all-completions) (tramp-sh-handle-insert-directory) (tramp-sh-handle-expand-file-name, tramp-find-executable) (tramp-wait-for-output, tramp-send-command-and-read) * net/tramp-smb.el (tramp-smb-read-file-entry) (tramp-smb-get-cifs-capabilities): Use `point-at-eol'. * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use `point-at-bol'. (tramp-remote-coding-commands): Add an alternative using "base64 -d -i". This is needed for older base64 versions from GNU coreutils. Reported by Klaus Reichl <Klaus.Reichl@thalesgroup.com>. Michael Albinus2010-11-131-21/+19
* * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use...space in stat format string. (tramp-send-command): Unset $PS1 when using here documents, in order not to get several prompts. (tramp-get-inline-coding): Return `nil' in case of errors. Michael Albinus2010-10-211-45/+53
* * net/tramp-sh.el (tramp-do-file-attributes-with-stat)...(tramp-do-directory-files-and-attributes-with-stat): Use "e0" in order to make stat results a float. Patch by Andreas Schwab <schwab@linux-m68k.org>. Michael Albinus2010-10-191-2/+2
* * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):...Suppress expansion of tabs to spaces. Michael Albinus2010-10-151-3/+10
* * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Use...`tramp-handle-find-backup-file-name'. Michael Albinus2010-10-061-1/+1
* * net/tramp.el (tramp-handle-directory-files-and-attributes)...(tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p): New defuns, taken from tramp-smb.el. (tramp-coding-system-change-eol-conversion) (tramp-set-process-query-on-exit-flag): Removed. * net/tramp-compat.el (top): Do not check for byte-compiler objects. (tramp-compat-coding-system-change-eol-conversion) (tramp-compat-set-process-query-on-exit-flag): New defuns, taken from tramp.el. * net/tramp-gvfs.el: * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag' by `tramp-compat-set-process-query-on-exit-flag'. * net/tramp-imap.el (tramp-imap-file-name-handler-alist): Use `tramp-handle-directory-files-and-attributes', `tramp-handle-file-exists-p' and `tramp-handle-file-newer-than-file-p'. (tramp-imap-handle-file-exists-p) (tramp-imap-handle-file-executable-p) (tramp-imap-handle-file-readable-p) (tramp-imap-handle-directory-files-and-attributes) (tramp-imap-handle-file-newer-than-file-p): Removed. * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag' by `tramp-compat-set-process-query-on-exit-flag' and `tramp-coding-system-change-eol-conversion' by `tramp-compat-coding-system-change-eol-conversion'. * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use `tramp-handle-directory-files-and-attributes', `tramp-handle-file-exists-p' and `tramp-handle-file-newer-than-file-p'. (tramp-smb-handle-directory-files-and-attributes) (tramp-smb-handle-file-exists-p) (tramp-smb-handle-file-newer-than-file-p): Removed. (tramp-smb-maybe-open-connection): Replace `tramp-set-process-query-on-exit-flag' by `tramp-compat-set-process-query-on-exit-flag'. Michael Albinus2010-10-051-5/+5
* Continue reorganization of load dependencies. (Bug#7156)...* net/tramp.el (tramp-handle-file-local-copy-hook) (tramp-delete-temp-file-function): Move down. (tramp-exists-file-name-handler): Move up. (tramp-register-file-name-handlers): Simplify autoload. (tramp-handle-write-region-hook, tramp-handle-directory-file-name) (tramp-handle-directory-files, tramp-handle-dired-uncache) (tramp-handle-file-modes, tramp-handle-file-name-as-directory) (tramp-handle-file-name-completion) (tramp-handle-file-name-directory) (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p) (tramp-handle-file-remote-p, tramp-handle-file-symlink-p) (tramp-handle-find-backup-file-name) (tramp-handle-insert-file-contents, tramp-handle-load) (tramp-handle-substitute-in-file-name) (tramp-handle-unhandled-file-name-directory) (tramp-mode-string-to-int, tramp-local-host-p) (tramp-make-tramp-temp-file): Moved from tramp-sh.el. * net/tramp-gvfs.el (top): * net/tramp-smb.el (top): Do not require 'tramp-sh. * net/tramp-sh.el (all): Move several objects to tramp.el, see there. Rename `tramp-handle-*' to `tramp-sh-handle-*'. Michael Albinus2010-10-041-557/+89
* * files.el (remote-file-name-inhibit-cache): New defcustom....* time.el (display-time-file-nonempty-p): Use `remote-file-name-inhibit-cache'. * net/tramp.el (tramp-completion-reread-directory-timeout): Fix docstring. * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove. (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by `remote-file-name-inhibit-cache'. Check also for an integer value. Add/increase counter when `tramp-verbose' >= 10. (tramp-set-file-property): Add/increase counter when `tramp-verbose' >= 10. * net/tramp-cmds.el (tramp-cleanup-all-connections) (tramp-cleanup-all-buffers): Set tramp-autoload cookie. (tramp-bug): Set tramp-autoload cookie. Report all interned tramp-* variables. Report also `remote-file-name-inhibit-cache'. (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit characters only in strings. * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due to backward compatibility. * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime) (tramp-handle-file-name-all-completions) (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'. (tramp-open-connection-setup-interactive-shell): Call `tramp-cleanup-connection' directly. Michael Albinus2010-10-021-39/+29
* * net/tramp-compat.el (tramp-compat-with-temp-message)...(tramp-compat-font-lock-add-keywords, tramp-compat-process-get) (tramp-compat-process-put): New defuns. * net/tramp.el (top): * net/tramp-gvfs.el (top): * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'. * net/tramp.el (tramp-progress-reporter-update): Use `tramp-compat-funcall. * net/tramp.el (tramp-process-actions): * net/tramp-gvfs.el (tramp-handle-vc-registered): * net/tramp-sh.el (tramp-gvfs-handler-askquestion) (tramp-get-remote-stat, tramp-get-remote-readlink): Use `tramp-compat-with-temp-message'. * net/tramp-sh.el (top): Require 'cl. (tramp-handle-start-file-process): Use `tramp-compat-process-get'. (tramp-open-connection-setup-interactive-shell): Use `tramp-compat-process-put'. Michael Albinus2010-09-151-5/+8
* Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el....* Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el. * net/tramp.el (top): Don't show loading message. Require just 'tramp-compat, everything else is required there. Use `ignore-errors' where appropriate. (tramp-inline-compress-start-size, tramp-copy-size-limit) (tramp-terminal-type, tramp-end-of-output) (tramp-initial-end-of-output, tramp-completion-function-alist-rsh) (tramp-completion-function-alist-ssh) (tramp-completion-function-alist-telnet) (tramp-completion-function-alist-su) (tramp-completion-function-alist-putty, tramp-remote-path) (tramp-remote-process-environment, tramp-sh-extra-args) (tramp-actions-before-shell, tramp-uudecode) (tramp-perl-file-truename, tramp-perl-file-name-all-completions) (tramp-perl-file-attributes) (tramp-perl-directory-files-and-attributes) (tramp-perl-encode-with-module, tramp-perl-decode-with-module) (tramp-perl-encode, tramp-perl-decode) (tramp-vc-registered-read-file-names, tramp-file-mode-type-map) (tramp-file-name-handler-alist, tramp-make-tramp-temp-file) (tramp-handle-make-symbolic-link, tramp-handle-load) (tramp-handle-file-name-as-directory) (tramp-handle-file-name-directory) (tramp-handle-file-name-nondirectory, tramp-handle-file-truename) (tramp-handle-file-exists-p, tramp-handle-file-attributes) (tramp-do-file-attributes-with-ls) (tramp-do-file-attributes-with-perl) (tramp-do-file-attributes-with-stat) (tramp-handle-set-visited-file-modtime) (tramp-handle-verify-visited-file-modtime) (tramp-handle-set-file-modes, tramp-handle-set-file-times) (tramp-set-file-uid-gid, tramp-remote-selinux-p) (tramp-handle-file-selinux-context) (tramp-handle-set-file-selinux-context) (tramp-handle-file-executable-p, tramp-handle-file-readable-p) (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes) (tramp-handle-file-directory-p, tramp-handle-file-regular-p) (tramp-handle-file-symlink-p, tramp-handle-file-writable-p) (tramp-handle-file-ownership-preserved-p) (tramp-handle-directory-file-name, tramp-handle-directory-files) (tramp-handle-directory-files-and-attributes) (tramp-do-directory-files-and-attributes-with-perl) (tramp-do-directory-files-and-attributes-with-stat) (tramp-handle-file-name-all-completions) (tramp-handle-file-name-completion, tramp-handle-add-name-to-file) (tramp-handle-copy-file, tramp-handle-copy-directory) (tramp-handle-rename-file, tramp-do-copy-or-rename-file) (tramp-do-copy-or-rename-file-via-buffer) (tramp-do-copy-or-rename-file-directly) (tramp-do-copy-or-rename-file-out-of-band) (tramp-handle-make-directory, tramp-handle-delete-directory) (tramp-handle-delete-file) (tramp-handle-dired-recursive-delete-directory) (tramp-handle-dired-compress-file, tramp-handle-dired-uncache) (tramp-handle-insert-directory) (tramp-handle-unhandled-file-name-directory) (tramp-handle-expand-file-name) (tramp-handle-substitute-in-file-name) (tramp-handle-executable-find, tramp-process-sentinel) (tramp-handle-start-file-process, tramp-handle-process-file) (tramp-handle-call-process-region, tramp-handle-shell-command) (tramp-handle-file-local-copy, tramp-handle-file-remote-p) (tramp-handle-insert-file-contents) (tramp-handle-insert-file-contents-literally) (tramp-handle-find-backup-file-name) (tramp-handle-make-auto-save-file-name, tramp-handle-write-region) (tramp-vc-registered-file-names, tramp-handle-vc-registered) (tramp-sh-file-name-handler, tramp-vc-file-name-handler) (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test) (tramp-run-test2, tramp-find-executable, tramp-set-remote-path) (tramp-find-file-exists-command, tramp-open-shell) (tramp-find-shell, tramp-barf-if-no-shell-prompt) (tramp-open-connection-setup-interactive-shell) (tramp-local-coding-commands, tramp-remote-coding-commands) (tramp-find-inline-encoding, tramp-call-local-coding-command) (tramp-inline-compress-commands, tramp-find-inline-compress) (tramp-compute-multi-hops, tramp-maybe-open-connection) (tramp-send-command , tramp-wait-for-output) (tramp-send-command-and-check, tramp-barf-unless-okay) (tramp-send-command-and-read, tramp-mode-string-to-int) (tramp-convert-file-attributes, tramp-check-cached-permissions) (tramp-file-mode-from-int, tramp-file-mode-permissions) (tramp-shell-case-fold, tramp-make-copy-program-file-name) (tramp-method-out-of-band-p, tramp-local-host-p) (tramp-get-remote-path, tramp-get-remote-tmpdir) (tramp-get-ls-command, tramp-get-ls-command-with-dired) (tramp-get-test-command, 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-id, tramp-get-remote-uid, tramp-get-remote-gid) (tramp-get-local-uid, tramp-get-local-gid) (tramp-get-inline-compress, tramp-get-inline-coding, ): Move to tramp-sh.el. (tramp-methods, tramp-default-method-alist) (tramp-default-user-alist, tramp-foreign-file-name-handler-alist): Move initialization to tramp-sh.el. (tramp-temp-name-prefix): Make it a defconst. (tramp-dissect-file-name): Don't check anymore for multi-hop methods. (tramp-debug-outline-regexp): Add a docstring. (tramp-debug-outline-level): Renamed from `tramp-outline-level'. (tramp-get-debug-buffer): Use it. * net/tramp-cache.el (top): Set tramp-autoload cookie for initialization forms. (tramp-set-connection-property): Don't protect `tramp-message' call, it isn't necessary any longer. (tramp-dump-connection-properties): Use `ignore-errors'. * net/tramp-compat.el (top): Require 'advice, 'format-spec, 'password-cache and 'auth-source. * net/tramp-gvfs.el (top): * net/tramp-smb.el (top): Require 'tramp-sh. * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'. * net/tramp-sh.el: New file, derived from tramp.el. (top): Initialize `tramp-methods', `tramp-default-method-alist', `tramp-default-user-alist', tramp-foreign-file-name-handler-alist. Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old". Use `ignore-errors' where appropriate. (tramp-sh-file-name-handler-alist): Renamed from `tramp-file-name-handler-alist'. (tramp-send-command-and-check): Return t or nil. Remove all `zerop' checks, where called. (tramp-handle-set-file-modes) (tramp-do-copy-or-rename-file-directly) (tramp-handle-delete-directory, tramp-handle-delete-file) (tramp-maybe-send-script, ): Use `tramp-barf-unless-okay'. (tramp-sh-file-name-handler, tramp-send-command-and-check) (tramp-get-remote-ln): Set tramp-autoload cookie. * net/tramp-fish.el: Remove file. Michael Albinus2010-09-131-0/+5506