emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/tramp a2d0b07 3/4: Further changes


From: Michael Albinus
Subject: [elpa] externals/tramp a2d0b07 3/4: Further changes
Date: Sat, 25 May 2019 04:00:46 -0400 (EDT)

branch: externals/tramp
commit a2d0b0792b422afedecca316a66989b3b37267de
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Further changes
---
 tramp-loaddefs.el | 523 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 trampver.el       |  99 +++++++++++
 2 files changed, 622 insertions(+)

diff --git a/tramp-loaddefs.el b/tramp-loaddefs.el
new file mode 100644
index 0000000..8d365be
--- /dev/null
+++ b/tramp-loaddefs.el
@@ -0,0 +1,523 @@
+;;; tramp-loaddefs.el --- automatically extracted autoloads
+;;
+;;; Code:
+
+
+;;;### (autoloads nil "tramp-adb" "tramp-adb.el" (23763 57074 521599
+;;;;;;  9000))
+;;; Generated autoloads from tramp-adb.el
+
+(defconst tramp-adb-method "adb" "\
+When this method name is used, forward all calls to Android Debug Bridge.")
+
+(tramp--with-startup (add-to-list 'tramp-methods `(,tramp-adb-method 
(tramp-tmpdir "/data/local/tmp") (tramp-default-port 5555))) (add-to-list 
'tramp-default-host-alist `(,tramp-adb-method nil "")) 
(tramp-set-completion-function tramp-adb-method '((tramp-adb-parse-device-names 
""))))
+
+(defconst tramp-adb-file-name-handler-alist '((access-file . 
tramp-handle-access-file) (add-name-to-file . tramp-handle-add-name-to-file) 
(copy-file . tramp-adb-handle-copy-file) (delete-directory . 
tramp-adb-handle-delete-directory) (delete-file . tramp-adb-handle-delete-file) 
(directory-file-name . tramp-handle-directory-file-name) (directory-files . 
tramp-handle-directory-files) (directory-files-and-attributes . 
tramp-adb-handle-directory-files-and-attributes) (dired-compress-file . i [...]
+Alist of handler functions for Tramp ADB method.")
+
+(defsubst tramp-adb-file-name-p (filename) "\
+Check if it's a filename for ADB." (and (tramp-tramp-file-p filename) (string= 
(tramp-file-name-method (tramp-dissect-file-name filename)) tramp-adb-method)))
+
+(autoload 'tramp-adb-file-name-handler "tramp-adb" "\
+Invoke the ADB handler for OPERATION.
+First arg specifies the OPERATION, second arg is a list of arguments to
+pass to the OPERATION.
+
+\(fn OPERATION &rest ARGS)" nil nil)
+
+(tramp--with-startup (tramp-register-foreign-file-name-handler 
#'tramp-adb-file-name-p #'tramp-adb-file-name-handler))
+
+(autoload 'tramp-adb-parse-device-names "tramp-adb" "\
+Return a list of (nil host) tuples allowed to access.
+
+\(fn IGNORE)" nil nil)
+
+;;;***
+
+;;;### (autoloads nil "tramp-archive" "tramp-archive.el" (23775 50326
+;;;;;;  68548 132000))
+;;; Generated autoloads from tramp-archive.el
+
+(defconst tramp-archive-file-name-regexp (ignore-errors 
(tramp-archive-autoload-file-name-regexp)) "\
+Regular expression matching archive file names.")
+
+(defconst tramp-archive-method "archive" "\
+Method name for archives in GVFS.")
+
+(defconst tramp-archive-file-name-handler-alist '((access-file . 
tramp-archive-handle-access-file) (add-name-to-file . 
tramp-archive-handle-not-implemented) (copy-file . 
tramp-archive-handle-copy-file) (delete-directory . 
tramp-archive-handle-not-implemented) (delete-file . 
tramp-archive-handle-not-implemented) (directory-file-name . 
tramp-archive-handle-directory-file-name) (directory-files . 
tramp-handle-directory-files) (directory-files-and-attributes . 
tramp-handle-directory-files-an [...]
+Alist of handler functions for file archive method.
+Operations not mentioned here will be handled by the default Emacs 
primitives.")
+
+(autoload 'tramp-archive-file-name-handler "tramp-archive" "\
+Invoke the file archive related OPERATION.
+First arg specifies the OPERATION, second arg is a list of arguments to
+pass to the OPERATION.
+
+\(fn OPERATION &rest ARGS)" nil nil)
+
+;;;***
+
+;;;### (autoloads nil "tramp-cache" "tramp-cache.el" (23769 11592
+;;;;;;  330242 265000))
+;;; Generated autoloads from tramp-cache.el
+
+(defvar tramp-cache-data (make-hash-table :test #'equal) "\
+Hash table for remote files properties.")
+
+(defvar tramp-connection-properties nil "\
+List of static connection properties.
+Every entry has the form (REGEXP PROPERTY VALUE).  The regexp
+matches remote file names.  It can be nil.  PROPERTY is a string,
+and VALUE the corresponding value.  They are used, if there is no
+matching entry for PROPERTY in `tramp-cache-data'.  For more
+details see the info pages.")
+
+(custom-autoload 'tramp-connection-properties "tramp-cache" t)
+
+(autoload 'tramp-get-file-property "tramp-cache" "\
+Get the PROPERTY of FILE from the cache context of KEY.
+Returns DEFAULT if not set.
+
+\(fn KEY FILE PROPERTY DEFAULT)" nil nil)
+
+(autoload 'tramp-set-file-property "tramp-cache" "\
+Set the PROPERTY of FILE to VALUE, in the cache context of KEY.
+Returns VALUE.
+
+\(fn KEY FILE PROPERTY VALUE)" nil nil)
+
+(autoload 'tramp-flush-file-property "tramp-cache" "\
+Remove PROPERTY of FILE in the cache context of KEY.
+
+\(fn KEY FILE PROPERTY)" nil nil)
+
+(autoload 'tramp-flush-file-properties "tramp-cache" "\
+Remove all properties of FILE in the cache context of KEY.
+
+\(fn KEY FILE)" nil nil)
+
+(autoload 'tramp-flush-directory-properties "tramp-cache" "\
+Remove all properties of DIRECTORY in the cache context of KEY.
+Remove also properties of all files in subdirectories.
+
+\(fn KEY DIRECTORY)" nil nil)
+
+(autoload 'tramp-get-connection-property "tramp-cache" "\
+Get the named PROPERTY for the connection.
+KEY identifies the connection, it is either a process or a
+`tramp-file-name' structure.  A special case is nil, which is
+used to cache connection properties of the local machine.  If the
+value is not set for the connection, returns DEFAULT.
+
+\(fn KEY PROPERTY DEFAULT)" nil nil)
+
+(autoload 'tramp-set-connection-property "tramp-cache" "\
+Set the named PROPERTY of a connection to VALUE.
+KEY identifies the connection, it is either a process or a
+`tramp-file-name' structure.  A special case is nil, which is
+used to cache connection properties of the local machine.
+PROPERTY is set persistent when KEY is a `tramp-file-name' structure.
+
+\(fn KEY PROPERTY VALUE)" nil nil)
+
+(autoload 'tramp-connection-property-p "tramp-cache" "\
+Check whether named PROPERTY of a connection is defined.
+KEY identifies the connection, it is either a process or a
+`tramp-file-name' structure.  A special case is nil, which is
+used to cache connection properties of the local machine.
+
+\(fn KEY PROPERTY)" nil nil)
+
+(autoload 'tramp-flush-connection-property "tramp-cache" "\
+Remove the named PROPERTY of a connection identified by KEY.
+KEY identifies the connection, it is either a process or a
+`tramp-file-name' structure.  A special case is nil, which is
+used to cache connection properties of the local machine.
+PROPERTY is set persistent when KEY is a `tramp-file-name' structure.
+
+\(fn KEY PROPERTY)" nil nil)
+
+(autoload 'tramp-flush-connection-properties "tramp-cache" "\
+Remove all properties identified by KEY.
+KEY identifies the connection, it is either a process or a
+`tramp-file-name' structure.  A special case is nil, which is
+used to cache connection properties of the local machine.
+
+\(fn KEY)" nil nil)
+
+(autoload 'tramp-cache-print "tramp-cache" "\
+Print hash table TABLE.
+
+\(fn TABLE)" nil nil)
+
+(autoload 'tramp-list-connections "tramp-cache" "\
+Return all known `tramp-file-name' structs according to `tramp-cache'.
+
+\(fn)" nil nil)
+
+(autoload 'tramp-parse-connection-properties "tramp-cache" "\
+Return a list of (user host) tuples allowed to access for METHOD.
+This function is added always in `tramp-get-completion-function'
+for all methods.  Resulting data are derived from connection history.
+
+\(fn METHOD)" nil nil)
+
+(defvar tramp-cache-read-persistent-data (or init-file-user site-run-file) "\
+Whether to read persistent data at startup time.")
+
+;;;***
+
+;;;### (autoloads nil "tramp-cmds" "tramp-cmds.el" (23769 11640 120244
+;;;;;;  319000))
+;;; Generated autoloads from tramp-cmds.el
+
+(autoload 'tramp-change-syntax "tramp-cmds" "\
+Change Tramp syntax.
+SYNTAX can be one of the symbols `default' (default),
+`simplified' (ange-ftp like) or `separate' (XEmacs like).
+
+\(fn &optional SYNTAX)" t nil)
+
+(defvar tramp-cleanup-connection-hook nil "\
+List of functions to be called after Tramp connection is cleaned up.
+Each function is called with the current vector as argument.")
+
+(autoload 'tramp-cleanup-connection "tramp-cmds" "\
+Flush all connection related objects.
+This includes password cache, file cache, connection cache,
+buffers.  KEEP-DEBUG non-nil preserves the debug buffer.
+KEEP-PASSWORD non-nil preserves the password cache.
+When called interactively, a Tramp connection has to be selected.
+
+\(fn VEC &optional KEEP-DEBUG KEEP-PASSWORD)" t nil)
+
+(autoload 'tramp-cleanup-this-connection "tramp-cmds" "\
+Flush all connection related objects of the current buffer's connection.
+
+\(fn)" t nil)
+
+(defvar tramp-cleanup-all-connections-hook nil "\
+List of functions to be called after all Tramp connections are cleaned up.")
+
+(autoload 'tramp-cleanup-all-connections "tramp-cmds" "\
+Flush all Tramp internal objects.
+This includes password cache, file cache, connection cache, buffers.
+
+\(fn)" t nil)
+
+(autoload 'tramp-cleanup-all-buffers "tramp-cmds" "\
+Kill all remote buffers.
+
+\(fn)" t nil)
+
+(autoload 'tramp-version "tramp-cmds" "\
+Print version number of tramp.el in minibuffer or current buffer.
+
+\(fn ARG)" t nil)
+
+(autoload 'tramp-bug "tramp-cmds" "\
+Submit a bug report to the Tramp developers.
+
+\(fn)" t nil)
+
+;;;***
+
+;;;### (autoloads nil "tramp-ftp" "tramp-ftp.el" (23670 58815 895105
+;;;;;;  31000))
+;;; Generated autoloads from tramp-ftp.el
+
+(autoload 'tramp-ftp-enable-ange-ftp "tramp-ftp" "\
+Reenable Ange-FTP, when Tramp is unloaded.
+
+\(fn)" nil nil)
+
+(defconst tramp-ftp-method "ftp" "\
+When this method name is used, forward all calls to Ange-FTP.")
+
+(tramp--with-startup (add-to-list 'tramp-methods (cons tramp-ftp-method nil)) 
(add-to-list 'tramp-default-method-alist (list "\\`ftp\\." nil 
tramp-ftp-method)) (add-to-list 'tramp-default-method-alist (list nil 
"\\`\\(anonymous\\|ftp\\)\\'" tramp-ftp-method)) (tramp-set-completion-function 
tramp-ftp-method '((tramp-parse-netrc "~/.netrc"))))
+
+(autoload 'tramp-ftp-file-name-handler "tramp-ftp" "\
+Invoke the Ange-FTP handler for OPERATION.
+First arg specifies the OPERATION, second arg is a list of arguments to
+pass to the OPERATION.
+
+\(fn OPERATION &rest ARGS)" nil nil)
+
+(defsubst tramp-ftp-file-name-p (filename) "\
+Check if it's a filename that should be forwarded to Ange-FTP." (and 
(tramp-tramp-file-p filename) (string= (tramp-file-name-method 
(tramp-dissect-file-name filename)) tramp-ftp-method)))
+
+(tramp--with-startup (add-to-list 'tramp-foreign-file-name-handler-alist (cons 
#'tramp-ftp-file-name-p #'tramp-ftp-file-name-handler)))
+
+;;;***
+
+;;;### (autoloads nil "tramp-gvfs" "tramp-gvfs.el" (23777 2103 568823
+;;;;;;  152000))
+;;; Generated autoloads from tramp-gvfs.el
+
+(defvar tramp-gvfs-methods '("afp" "dav" "davs" "gdrive" "nextcloud" "sftp") "\
+List of methods for remote files, accessed with GVFS.")
+
+(custom-autoload 'tramp-gvfs-methods "tramp-gvfs" t)
+
+(tramp--with-startup (when (string-match 
"\\(.+\\)@\\(\\(?:gmail\\|googlemail\\)\\.com\\)" user-mail-address) 
(add-to-list 'tramp-default-user-alist `("\\`gdrive\\'" nil ,(match-string 1 
user-mail-address))) (add-to-list 'tramp-default-host-alist '("\\`gdrive\\'" 
nil (\, (match-string 2 user-mail-address))))))
+
+(when (featurep 'dbusbind) (tramp--with-startup (dolist (elt 
tramp-gvfs-methods) (unless (assoc elt tramp-methods) (add-to-list 
'tramp-methods (cons elt nil))))))
+
+(defconst tramp-goa-service "org.gnome.OnlineAccounts" "\
+The well known name of the GNOME Online Accounts service.")
+
+(defconst tramp-gvfs-file-name-handler-alist '((access-file . 
tramp-handle-access-file) (add-name-to-file . tramp-handle-add-name-to-file) 
(copy-file . tramp-gvfs-handle-copy-file) (delete-directory . 
tramp-gvfs-handle-delete-directory) (delete-file . 
tramp-gvfs-handle-delete-file) (directory-file-name . 
tramp-handle-directory-file-name) (directory-files . 
tramp-handle-directory-files) (directory-files-and-attributes . 
tramp-handle-directory-files-and-attributes) (dired-compress-file . i [...]
+Alist of handler functions for Tramp GVFS method.
+Operations not mentioned here will be handled by the default Emacs 
primitives.")
+
+(defsubst tramp-gvfs-file-name-p (filename) "\
+Check if it's a filename handled by the GVFS daemon." (and (tramp-tramp-file-p 
filename) (let ((method (tramp-file-name-method (tramp-dissect-file-name 
filename)))) (and (stringp method) (member method tramp-gvfs-methods)))))
+
+(autoload 'tramp-gvfs-file-name-handler "tramp-gvfs" "\
+Invoke the GVFS related OPERATION.
+First arg specifies the OPERATION, second arg is a list of arguments to
+pass to the OPERATION.
+
+\(fn OPERATION &rest ARGS)" nil nil)
+
+(when (featurep 'dbusbind) (tramp--with-startup 
(tramp-register-foreign-file-name-handler #'tramp-gvfs-file-name-p 
#'tramp-gvfs-file-name-handler)))
+
+;;;***
+
+;;;### (autoloads nil "tramp-rclone" "tramp-rclone.el" (23670 63427
+;;;;;;  98631 676000))
+;;; Generated autoloads from tramp-rclone.el
+
+(defconst tramp-rclone-method "rclone" "\
+When this method name is used, forward all calls to rclone mounts.")
+
+(tramp--with-startup (add-to-list 'tramp-methods `(,tramp-rclone-method 
(tramp-mount-args nil) (tramp-copyto-args nil) (tramp-moveto-args nil) 
(tramp-about-args ("--full")))) (add-to-list 'tramp-default-host-alist 
`(,tramp-rclone-method nil "")) (tramp-set-completion-function 
tramp-rclone-method '((tramp-rclone-parse-device-names ""))))
+
+(defconst tramp-rclone-file-name-handler-alist '((access-file . 
tramp-handle-access-file) (add-name-to-file . tramp-handle-add-name-to-file) 
(copy-file . tramp-rclone-handle-copy-file) (delete-directory . 
tramp-rclone-handle-delete-directory) (delete-file . 
tramp-rclone-handle-delete-file) (directory-file-name . 
tramp-handle-directory-file-name) (directory-files . 
tramp-rclone-handle-directory-files) (directory-files-and-attributes . 
tramp-handle-directory-files-and-attributes) (dired-co [...]
+Alist of handler functions for Tramp RCLONE method.
+Operations not mentioned here will be handled by the default Emacs 
primitives.")
+
+(defsubst tramp-rclone-file-name-p (filename) "\
+Check if it's a filename for rclone." (and (tramp-tramp-file-p filename) 
(string= (tramp-file-name-method (tramp-dissect-file-name filename)) 
tramp-rclone-method)))
+
+(autoload 'tramp-rclone-file-name-handler "tramp-rclone" "\
+Invoke the rclone handler for OPERATION.
+First arg specifies the OPERATION, second arg is a list of arguments to
+pass to the OPERATION.
+
+\(fn OPERATION &rest ARGS)" nil nil)
+
+(tramp--with-startup (tramp-register-foreign-file-name-handler 
#'tramp-rclone-file-name-p #'tramp-rclone-file-name-handler))
+
+(autoload 'tramp-rclone-parse-device-names "tramp-rclone" "\
+Return a list of (nil host) tuples allowed to access.
+
+\(fn IGNORE)" nil nil)
+
+;;;***
+
+;;;### (autoloads nil "tramp-sh" "tramp-sh.el" (23776 11451 80265
+;;;;;;  246000))
+;;; Generated autoloads from tramp-sh.el
+
+(defvar tramp-terminal-type "dumb" "\
+Value of TERM environment variable for logging in to remote host.
+Because Tramp wants to parse the output of the remote shell, it is easily
+confused by ANSI color escape sequences and suchlike.  Often, shell init
+files conditionalize this setup based on the TERM environment variable.")
+
+(custom-autoload 'tramp-terminal-type "tramp-sh" t)
+
+(defconst tramp-display-escape-sequence-regexp "[[;0-9]+m" "\
+Terminal control escape sequences for display attributes.")
+
+(defconst tramp-initial-end-of-output "#$ " "\
+Prompt when establishing a connection.")
+
+(tramp--with-startup (add-to-list 'tramp-methods '("rcp" (tramp-login-program 
"rsh") (tramp-login-args (("%h") ("-l" "%u"))) (tramp-remote-shell "/bin/sh") 
(tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c")) 
(tramp-copy-program "rcp") (tramp-copy-args (("-p" "%k") ("-r"))) 
(tramp-copy-keep-date t) (tramp-copy-recursive t))) (add-to-list 'tramp-methods 
'("remcp" (tramp-login-program "remsh") (tramp-login-args (("%h") ("-l" "%u"))) 
(tramp-remote-shell "/bin/sh") (tramp-remot [...]
+
+(defconst tramp-completion-function-alist-rsh '((tramp-parse-rhosts 
"/etc/hosts.equiv") (tramp-parse-rhosts "~/.rhosts")) "\
+Default list of (FUNCTION FILE) pairs to be examined for rsh methods.")
+
+(defconst tramp-completion-function-alist-ssh '((tramp-parse-rhosts 
"/etc/hosts.equiv") (tramp-parse-rhosts "/etc/shosts.equiv") 
(tramp-parse-shosts "/etc/ssh_known_hosts") (tramp-parse-sconfig 
"/etc/ssh_config") (tramp-parse-shostkeys "/etc/ssh2/hostkeys") 
(tramp-parse-sknownhosts "/etc/ssh2/knownhosts") (tramp-parse-rhosts 
"~/.rhosts") (tramp-parse-rhosts "~/.shosts") (tramp-parse-shosts 
"~/.ssh/known_hosts") (tramp-parse-sconfig "~/.ssh/config") 
(tramp-parse-shostkeys "~/.ssh2/hostkey [...]
+Default list of (FUNCTION FILE) pairs to be examined for ssh methods.")
+
+(defconst tramp-completion-function-alist-telnet '((tramp-parse-hosts 
"/etc/hosts")) "\
+Default list of (FUNCTION FILE) pairs to be examined for telnet methods.")
+
+(defconst tramp-completion-function-alist-su '((tramp-parse-passwd 
"/etc/passwd")) "\
+Default list of (FUNCTION FILE) pairs to be examined for su methods.")
+
+(defconst tramp-completion-function-alist-sg '((tramp-parse-etc-group 
"/etc/group")) "\
+Default list of (FUNCTION FILE) pairs to be examined for sg methods.")
+
+(defconst tramp-completion-function-alist-putty `((tramp-parse-putty ,(if 
(memq system-type '(windows-nt)) 
"HKEY_CURRENT_USER\\Software\\SimonTatham\\PuTTY\\Sessions" 
"~/.putty/sessions"))) "\
+Default list of (FUNCTION REGISTRY) pairs to be examined for putty sessions.")
+
+(tramp--with-startup (tramp-set-completion-function "rcp" 
tramp-completion-function-alist-rsh) (tramp-set-completion-function "remcp" 
tramp-completion-function-alist-rsh) (tramp-set-completion-function "scp" 
tramp-completion-function-alist-ssh) (tramp-set-completion-function "scpx" 
tramp-completion-function-alist-ssh) (tramp-set-completion-function "rsync" 
tramp-completion-function-alist-ssh) (tramp-set-completion-function "rsh" 
tramp-completion-function-alist-rsh) (tramp-set-completion- [...]
+
+(defvar tramp-remote-path '(tramp-default-remote-path "/bin" "/usr/bin" 
"/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin" "/local/bin" 
"/local/freeware/bin" "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin" 
"/usr/contrib/bin" "/opt/bin" "/opt/sbin" "/opt/local/bin") "\
+List of directories to search for executables on remote host.
+For every remote host, this variable will be set buffer local,
+keeping the list of existing directories on that host.
+
+You can use `~' in this list, but when searching for a shell which groks
+tilde expansion, all directory names starting with `~' will be ignored.
+
+`Default Directories' represent the list of directories given by
+the command \"getconf PATH\".  It is recommended to use this
+entry on head of this list, because these are the default
+directories for POSIX compatible commands.  On remote hosts which
+do not offer the getconf command (like cygwin), the value
+\"/bin:/usr/bin\" is used instead.  This entry is represented in
+the list by the special value `tramp-default-remote-path'.
+
+`Private Directories' are the settings of the $PATH environment,
+as given in your `~/.profile'.  This entry is represented in
+the list by the special value `tramp-own-remote-path'.")
+
+(custom-autoload 'tramp-remote-path "tramp-sh" t)
+
+(defvar tramp-remote-process-environment '("ENV=''" "TMOUT=0" "LC_CTYPE=''" 
"CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=cat" 
"autocorrect=" "correct=") "\
+List of environment variables to be set on the remote host.
+
+Each element should be a string of the form ENVVARNAME=VALUE.  An
+entry ENVVARNAME= disables the corresponding environment variable,
+which might have been set in the init files like ~/.profile.
+
+Special handling is applied to some environment variables,
+which should not be set here:
+
+The PATH environment variable should be set via `tramp-remote-path'.
+
+The TERM environment variable should be set via `tramp-terminal-type'.
+
+The INSIDE_EMACS environment variable will automatically be set
+based on the Tramp and Emacs versions, and should not be set here.")
+
+(custom-autoload 'tramp-remote-process-environment "tramp-sh" t)
+
+(defvar tramp-sh-extra-args '(("/bash\\'" . "-norc -noprofile")) "\
+Alist specifying extra arguments to pass to the remote shell.
+Entries are (REGEXP . ARGS) where REGEXP is a regular expression
+matching the shell file name and ARGS is a string specifying the
+arguments.
+
+This variable is only used when Tramp needs to start up another shell
+for tilde expansion.  The extra arguments should typically prevent the
+shell from reading its init file.")
+
+(custom-autoload 'tramp-sh-extra-args "tramp-sh" t)
+
+(defconst tramp-sh-file-name-handler-alist '((access-file . 
tramp-handle-access-file) (add-name-to-file . tramp-sh-handle-add-name-to-file) 
(copy-directory . tramp-sh-handle-copy-directory) (copy-file . 
tramp-sh-handle-copy-file) (delete-directory . 
tramp-sh-handle-delete-directory) (delete-file . tramp-sh-handle-delete-file) 
(directory-file-name . tramp-handle-directory-file-name) (directory-files . 
tramp-handle-directory-files) (directory-files-and-attributes . 
tramp-sh-handle-director [...]
+Alist of handler functions.
+Operations not mentioned here will be handled by the normal Emacs functions.")
+
+(autoload 'tramp-sh-file-name-handler "tramp-sh" "\
+Invoke remote-shell Tramp file name handler.
+Fall back to normal file name handler if no Tramp handler exists.
+
+\(fn OPERATION &rest ARGS)" nil nil)
+
+(tramp--with-startup (tramp-register-foreign-file-name-handler #'identity 
#'tramp-sh-file-name-handler 'append))
+
+(autoload 'tramp-convert-file-attributes "tramp-sh" "\
+Convert `file-attributes' ATTR generated by perl script, stat or ls.
+Convert file mode bits to string and set virtual device number.
+Return ATTR.
+
+\(fn VEC ATTR)" nil nil)
+
+;;;***
+
+;;;### (autoloads nil "tramp-smb" "tramp-smb.el" (23763 57225 909605
+;;;;;;  514000))
+;;; Generated autoloads from tramp-smb.el
+
+(defconst tramp-smb-method "smb" "\
+Method to connect SAMBA and M$ SMB servers.")
+
+(unless (memq system-type '(cygwin windows-nt)) (tramp--with-startup 
(add-to-list 'tramp-methods `(,tramp-smb-method (tramp-tmpdir "/C$/Temp") 
(tramp-case-insensitive t)))))
+
+(tramp--with-startup (add-to-list 'tramp-default-user-alist `(,(concat "\\`" 
tramp-smb-method "\\'") nil nil)) (tramp-set-completion-function 
tramp-smb-method '((tramp-parse-netrc "~/.netrc"))))
+
+(defconst tramp-smb-file-name-handler-alist '((access-file . 
tramp-handle-access-file) (add-name-to-file . 
tramp-smb-handle-add-name-to-file) (copy-directory . 
tramp-smb-handle-copy-directory) (copy-file . tramp-smb-handle-copy-file) 
(delete-directory . tramp-smb-handle-delete-directory) (delete-file . 
tramp-smb-handle-delete-file) (directory-file-name . 
tramp-handle-directory-file-name) (directory-files . 
tramp-smb-handle-directory-files) (directory-files-and-attributes . 
tramp-handle-d [...]
+Alist of handler functions for Tramp SMB method.
+Operations not mentioned here will be handled by the default Emacs 
primitives.")
+
+(defsubst tramp-smb-file-name-p (filename) "\
+Check if it's a filename for SMB servers." (and (tramp-tramp-file-p filename) 
(string= (tramp-file-name-method (tramp-dissect-file-name filename)) 
tramp-smb-method)))
+
+(autoload 'tramp-smb-file-name-handler "tramp-smb" "\
+Invoke the SMB related OPERATION.
+First arg specifies the OPERATION, second arg is a list of arguments to
+pass to the OPERATION.
+
+\(fn OPERATION &rest ARGS)" nil nil)
+
+(unless (memq system-type '(cygwin windows-nt)) (tramp--with-startup 
(tramp-register-foreign-file-name-handler #'tramp-smb-file-name-p 
#'tramp-smb-file-name-handler)))
+
+;;;***
+
+;;;### (autoloads nil "tramp-sudoedit" "tramp-sudoedit.el" (23679
+;;;;;;  47645 458071 427000))
+;;; Generated autoloads from tramp-sudoedit.el
+
+(defconst tramp-sudoedit-method "sudoedit" "\
+When this method name is used, call sudoedit for editing a file.")
+
+(tramp--with-startup (add-to-list 'tramp-methods `(,tramp-sudoedit-method 
(tramp-sudo-login (("sudo") ("-u" "%u") ("-S") ("-H") ("-p" "Password:") 
("--"))))) (add-to-list 'tramp-default-user-alist '("\\`sudoedit\\'" nil 
"root")) (tramp-set-completion-function tramp-sudoedit-method 
tramp-completion-function-alist-su))
+
+(defconst tramp-sudoedit-file-name-handler-alist '((access-file . 
tramp-handle-access-file) (add-name-to-file . 
tramp-sudoedit-handle-add-name-to-file) (byte-compiler-base-file-name . ignore) 
(copy-file . tramp-sudoedit-handle-copy-file) (delete-directory . 
tramp-sudoedit-handle-delete-directory) (delete-file . 
tramp-sudoedit-handle-delete-file) (diff-latest-backup-file . ignore) 
(directory-files . tramp-handle-directory-files) 
(directory-files-and-attributes . tramp-handle-directory-fil [...]
+Alist of handler functions for Tramp SUDOEDIT method.")
+
+(defsubst tramp-sudoedit-file-name-p (filename) "\
+Check if it's a filename for SUDOEDIT." (and (tramp-tramp-file-p filename) 
(string= (tramp-file-name-method (tramp-dissect-file-name filename)) 
tramp-sudoedit-method)))
+
+(autoload 'tramp-sudoedit-file-name-handler "tramp-sudoedit" "\
+Invoke the SUDOEDIT handler for OPERATION.
+First arg specifies the OPERATION, second arg is a list of arguments to
+pass to the OPERATION.
+
+\(fn OPERATION &rest ARGS)" nil nil)
+
+(tramp--with-startup (tramp-register-foreign-file-name-handler 
#'tramp-sudoedit-file-name-p #'tramp-sudoedit-file-name-handler))
+
+;;;***
+
+;;;### (autoloads nil "tramp-uu" "tramp-uu.el" (23595 15054 962016
+;;;;;;  358000))
+;;; Generated autoloads from tramp-uu.el
+
+(autoload 'tramp-uuencode-region "tramp-uu" "\
+UU-encode the region between BEG and END.
+
+\(fn BEG END)" nil nil)
+
+;;;***
+
+;;;### (autoloads nil "trampver" "trampver.el" (23670 44052 667602
+;;;;;;  295000))
+;;; Generated autoloads from trampver.el
+
+(defconst tramp-version "2.4.2-pre" "\
+This version of Tramp.")
+
+(defconst tramp-bug-report-address "address@hidden" "\
+Email address to send bug reports to.")
+
+;;;***
+
+;;;### (autoloads nil nil ("tramp-compat.el" "tramp-integration.el"
+;;;;;;  "tramp.el") (23777 8599 550294 538000))
+
+;;;***
+
+(provide 'tramp-loaddefs)
+;; Local Variables:
+;; version-control: never
+;; no-byte-compile: t
+;; no-update-autoloads: t
+;; coding: utf-8
+;; End:
+;;; tramp-loaddefs.el ends here
diff --git a/trampver.el b/trampver.el
new file mode 100644
index 0000000..83d34c0
--- /dev/null
+++ b/trampver.el
@@ -0,0 +1,99 @@
+;;; trampver.el --- Transparent Remote Access, Multiple Protocol  -*- 
lexical-binding:t -*-
+;;; lisp/trampver.el.  Generated from trampver.el.in by configure.
+
+;; Copyright (C) 2003-2019 Free Software Foundation, Inc.
+
+;; Author: Kai Großjohann <address@hidden>
+;; Maintainer: Michael Albinus <address@hidden>
+;; Keywords: comm, processes
+;; Package: tramp
+
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
+
+;;; Code:
+
+;; In the Tramp GIT, the version number is auto-frobbed from tramp.el,
+;; and the bug report address is auto-frobbed from configure.ac.
+;; Emacs version check is defined in macro AC_EMACS_INFO of
+;; aclocal.m4; should be changed only there.
+
+;;;###tramp-autoload
+(defconst tramp-version "2.4.2-pre"
+  "This version of Tramp.")
+
+;;;###tramp-autoload
+(defconst tramp-bug-report-address "address@hidden"
+  "Email address to send bug reports to.")
+
+(defconst tramp-repository-branch
+  (ignore-errors
+    ;; Suppress message from `emacs-repository-get-branch'.  We must
+    ;; also handle out-of-tree builds.
+    (let ((inhibit-message t)
+         (dir (or (locate-dominating-file (locate-library "tramp") ".git")
+                  source-directory)))
+      ;; `emacs-repository-get-branch' has been introduced with Emacs 27.1.
+      (with-no-warnings
+       (and (stringp dir) (file-directory-p dir)
+            (emacs-repository-get-branch dir)))))
+  "The repository branch of the Tramp sources.")
+
+(defconst tramp-repository-version
+  (ignore-errors
+    ;; Suppress message from `emacs-repository-get-version'.  We must
+    ;; also handle out-of-tree builds.
+    (let ((inhibit-message t)
+         (dir (or (locate-dominating-file (locate-library "tramp") ".git")
+                  source-directory)))
+      (and (stringp dir) (file-directory-p dir)
+          (emacs-repository-get-version dir))))
+  "The repository revision of the Tramp sources.")
+
+;; Check for Emacs version.
+(let ((x   (if (not (string-lessp emacs-version "24.1"))
+      "ok"
+    (format "Tramp 2.4.2-pre is not fit for %s"
+            (replace-regexp-in-string "\n" "" (emacs-version))))))
+  (unless (string-equal "ok" x) (error "%s" x)))
+
+;; Tramp versions integrated into Emacs.  If a user option declares a
+;; `:package-version' which doesn't belong to an integrated Tramp
+;; version, it must be added here as well (see `tramp-syntax', for
+;; example).  This can be checked by something like
+;; (customize-changed "26.1")
+(add-to-list
+ 'customize-package-emacs-version-alist
+ '(Tramp ("2.0.55" . "22.1") ("2.0.57" . "22.2") ("2.0.58-pre" . "22.3")
+        ("2.1.15" . "23.1") ("2.1.18-23.2" . "23.2")
+        ("2.1.20" . "23.3") ("2.1.21-pre" . "23.4")
+        ("2.2.3-24.1" . "24.1") ("2.2.3-24.1" . "24.2") ("2.2.6-24.3" . "24.3")
+        ("2.2.9-24.4" . "24.4") ("2.2.11-24.5" . "24.5")
+        ("2.2.13.25.1" . "25.1") ("2.2.13.25.2" . "25.2")
+        ("2.2.13.25.2" . "25.3")
+         ("2.3.3" . "26.1") ("2.3.3.26.1" . "26.1") ("2.3.5.26.2" . "26.2")))
+
+(add-hook 'tramp-unload-hook
+         (lambda ()
+           (unload-feature 'trampver 'force)))
+
+(provide 'trampver)
+
+;;; trampver.el ends here
+
+;; Local Variables:
+;; mode: Emacs-Lisp
+;; coding: utf-8
+;; End:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]