| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/net/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(require 'tramp)
#@157 Change Tramp syntax.
SYNTAX can be one of the symbols `default' (default),
`simplified' (ange-ftp like) or `separate' (XEmacs like).
(fn &optional SYNTAX)
(defalias 'tramp-change-syntax #[256 "\211\205 \300\301\"\207" [customize-set-variable tramp-syntax] 4 (#$ . 102) (byte-code "\301\302\303 \304\305\306!%\211\307\230?\205 \310!C\207" [tramp-syntax completing-read "Enter Tramp syntax: " tramp-syntax-values nil t symbol-name "" intern] 7)])
#@48 Return a list of all Tramp connection buffers.
(defalias 'tramp-list-tramp-buffers #[0 "\300\301\302\303\304\303\305\306 \"\"\"\301\307\303\304\303\305\306 \"\"\"\301\310\303\304\303\305\306 \"\"\"#\207" [append all-completions "*tramp" mapcar list buffer-name buffer-list "*debug tramp" "*trace tramp"] 10 (#$ . 559)])
#@63 Return a list of all buffers with remote `default-directory'.
(defalias 'tramp-list-remote-buffers #[0 "\300\301\302\303\304 \"\"\207" [delq nil mapcar #[257 "r\211q\210\301!\205 \211)\207" [default-directory tramp-tramp-file-p] 3 "\n\n(fn X)"] buffer-list] 5 (#$ . 885)])
#@131 List of functions to be called after Tramp connection is cleaned up.
Each function is called with the current vector as argument.
(defvar tramp-cleanup-connection-hook nil (#$ . 1167))
#@407 Flush all connection related objects.
This includes password cache, file cache, connection cache,
buffers, processes. KEEP-DEBUG non-nil preserves the debug
buffer. KEEP-PASSWORD non-nil preserves the password cache.
KEEP-PROCESSES non-nil preserves the asynchronous processes.
When called interactively, a Tramp connection has to be selected.
(fn VEC &optional KEEP-DEBUG KEEP-PASSWORD KEEP-PROCESSES)
(defalias 'tramp-cleanup-connection #[1025 "\204 \303\304!\207\204 \305!\210\306 \211\2037 \211@\211\307H\310=\2030 \311\312H@\"\2030 \313!\210A\266\202\202 \210\n\306C\314\315\316\"\"\210\211\242\237\266\202\211\203{ \211@\317!\203t \311\320\321\"\"\203t \203l \211\322!=\203t \323!\210\324!\210A\266\202\202H \210\325\326!!?\205\214 \325\327!!?\205\227 \325\330!!\331\332\306#F\211\203\265 \211@\333!\203\256 \334!\210A\266\202\202\236 \210\335\336\"\210\323!\210\337\340\"\207" [tramp-current-connection timer-list tramp-cache-data message "No Tramp connection found." tramp-clear-passwd nil 5 tramp-timeout-session tramp-file-name-equal-p 6 cancel-timer maphash make-closure #[514 "\300\300\242B\240\207" [V0] 5 "\n\n(fn K --CL-VAR--)"] processp process-get vector tramp-get-process tramp-flush-connection-properties delete-process get-buffer tramp-buffer-name tramp-debug-buffer-name tramp-trace-buffer-name tramp-get-connection-property "process-buffer" bufferp kill-buffer tramp-flush-directory-properties "" run-hook-with-args tramp-cleanup-connection-hook] 11 (#$ . 1359) (byte-code "\300\301\302 \"\303\205 \304\305\303\306\307\310\"%\262\311!\205 \312!\266\202\303\211E\207" [mapcar tramp-make-tramp-file-name tramp-list-connections nil completing-read "Enter Tramp connection: " t try-completion "" tramp-tramp-file-p tramp-dissect-file-name] 10)])
#@74 Flush all connection related objects of the current buffer's connection.
(defalias 'tramp-cleanup-this-connection #[0 "\301!\205\f \302\303\304\"!\207" [default-directory tramp-tramp-file-p tramp-cleanup-connection tramp-dissect-file-name noexpand] 4 (#$ . 3181) nil])
(byte-code "\300\301\302\303#\300\207" [function-put tramp-cleanup-this-connection completion-predicate tramp-command-completion-p] 4)
#@76 List of functions to be called after all Tramp connections are cleaned up.
(defvar tramp-cleanup-all-connections-hook nil (#$ . 3593))
#@104 Flush all Tramp internal objects.
This includes password cache, file cache, connection cache, buffers.
(defalias 'tramp-cleanup-all-connections #[0 "\303 \210\304!\210 \211\2036 \3051 \306\307\310\311@8#0\202 \210\202/ \203/ \312@ \"\211\262\202 \211A\262\202 \210 \203D \n\203D \313\301 \"\210\314\315!\210\316 \211\203o \211@\317\320!!\203\\ \321!\210\322\323!!\203h \324!\210A\266\202\202J \210\325\326!\207" [tramp-cache-data tramp-default-proxies-alist tramp-save-ad-hoc-proxies password-reset clrhash (error) get-text-property 0 tramp-ad-hoc 2 delete customize-save-variable cancel-function-timers tramp-timeout-session tramp-list-tramp-buffers processp get-buffer-process delete-process bufferp get-buffer kill-buffer run-hooks tramp-cleanup-all-connections-hook] 7 (#$ . 3735) nil])
#@26 Kill all remote buffers.
(defalias 'tramp-cleanup-all-buffers #[0 "\300 \210\301 \211\205 \211@\302\303!!\203 \304!\210A\266\202\202 \207" [tramp-cleanup-all-connections tramp-list-remote-buffers bufferp get-buffer kill-buffer] 5 (#$ . 4547) nil])
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\300\314\302\303\315DD\316\306\307\310\311\312\317& \207" [custom-declare-variable tramp-default-rename-alist funcall function #[0 "\300\207" [nil] 1 #1=""] "Default target for renaming remote buffer file names.\nThis is an alist of cons cells (SOURCE . TARGET). The first\nmatching item specifies the target to be applied for renaming\nbuffer file names from source via `tramp-rename-files'. SOURCE\nis a regular expressions, which matches a remote file name.\nTARGET must be a directory name, which could be remote (including\nremote directories Tramp infers by default, such as\n\"/method:user@host:\").\n\nTARGET can contain the patterns %m, %u or %h, which are replaced\nby the method name, user name or host name of SOURCE when calling\n`tramp-rename-files'.\n\nSOURCE could also be a Lisp form, which will be evaluated. The\nresult must be a string or nil, which is interpreted as a regular\nexpression which always matches." :group tramp :version "27.1" :type (repeat (cons (choice :tag "Source regexp" regexp sexp) (choice :tag "Target name" string (const nil)))) tramp-confirm-rename-file-names #[0 "\300\207" [t] 1 #1#] "Whether renaming a buffer file name must be confirmed." boolean] 10)
#@221 Determine default file name for renaming according to STRING.
The user option `tramp-default-rename-alist' is consulted,
finding the default mapping. If there is no matching entry, the
function returns nil
(fn STRING)
(defalias 'tramp-default-rename-file #[257 "\302!\205` \303\304\"\206 \305\303\306\"\206 \305\303\307\"\206 \305\310\211\211A\262\242\211\262\203^ \311@\312\"\2066 \305\310\312\313#)\266\203\203! \310\262\314A\315\316\317 \320\n&\"\262\202! \266\205\207" [tramp-default-rename-alist inhibit-changing-match-data tramp-tramp-file-p file-remote-p method "" user host nil eval t string-match format-spec format-spec-make 109 117 104] 16 (#$ . 6082)])
#@87 Return the DIR entry to be applied in `read-file-name', based on STRING.
(fn STRING)
(defalias 'tramp-rename-read-file-name-dir #[257 "\300!\205\f \301!\302\303O\207" [tramp-tramp-file-p file-remote-p 0 -1] 4 (#$ . 6781)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put tramp-rename-read-file-name-dir speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@88 Return the INIT entry to be applied in `read-file-name', based on STRING.
(fn STRING)
(defalias 'tramp-rename-read-file-name-init #[257 "\300!\205% \211\300!\205 \301!\302\303O\262\304\"\203# \211G\305O\207\262\207" [tramp-tramp-file-p file-remote-p 0 -1 string-prefix-p nil] 6 (#$ . 7170)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put tramp-rename-read-file-name-init speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@1436 Replace in all buffers the visiting file name from SOURCE to TARGET.
SOURCE is a remote directory name, which could contain also a
localname part. TARGET is the directory name SOURCE is replaced
with. Often, TARGET is a remote directory name on another host,
but it can also be a local directory name. If TARGET has no
local part, the local part from SOURCE is used.
If TARGET is nil, it is selected according to the first match in
`tramp-default-rename-alist'. If called interactively, this
match is offered as initial value for selection.
On all buffers, which have a `buffer-file-name' matching SOURCE,
this name is modified by replacing SOURCE with TARGET. This is
applied by calling `set-visited-file-name'. The new
`buffer-file-name' is prompted for modification in the
minibuffer. The buffers are marked modified, and must be saved
explicitly.
If user option `tramp-confirm-rename-file-names' is nil, changing
the file name happens without confirmation. This requires a
matching entry in `tramp-default-rename-alist'.
Remote buffers related to the remote connection identified by
SOURCE, which are not visiting files, or which are visiting files
not matching SOURCE, are not modified.
Interactively, TARGET is selected from `tramp-default-rename-alist'
without confirmation if the prefix argument is non-nil.
The remote connection identified by SOURCE is flushed by
`tramp-cleanup-connection'.
(fn SOURCE TARGET)
(defalias 'tramp-rename-files #[514 "\303!\204\f \304\305\306#\210\211\204 \307!\211\262\204 \304\305\310\"\210\311\"\203* \304\305\312\"\210\313!\230\2039 \211\314!P\262\315!\262\315!\262\316 \317\320\"\216r\321\322?\205S \323\305\324 \211\203\211@\325!\210\326 \211;\205p \327\n\n#\330\331\332\333\n!!#\334!\203\374 ;\203\374 \335\f\"\203\374 \336>\204\374 \323=\204\241 \337 \"\262\340=\203\261 \341\342\343!#\262\344>\203\306 \345 EB\262\346!\210\347>\203\370 \203\370 \350\351!\203\370 \211\203\367 \211@r\211@q\210\346A@!\210\352\3538!\210)A\266\202\202\330 \210\354\305!\210\266A\266\202\202X \210)\266*\210\355\356!!\207" [tramp-confirm-rename-file-names help-form help-char tramp-tramp-file-p tramp-user-error nil "Source %s must be remote." tramp-default-rename-file "There is no target specified. Check `tramp-default-rename-alist' for a proper entry." tramp-equal-remote "Source and target must have different remote." file-remote-p tramp-file-local-name directory-file-name current-window-configuration make-closure #[0 "\301\300!\207" [V0 set-window-configuration] 2] "Type SPC or `y' to set visited file name,\nDEL or `n' to skip to next,\n`e' to edit the visited file name,\nESC or `q' to quit without changing further buffers,\n`!' to change all remaining buffers with no more questions." (121 32 110 127 33 101 113 27) 33 tramp-list-remote-buffers switch-to-buffer buffer-file-name tramp-compat-string-replace format-message "Set visited file name to `%s' [Type yn!eq or %s] " key-description vector buffer-live-p string-prefix-p (113 27) read-char-choice 101 read-file-name "New visited file name: " file-name-directory (121 32 33 101) buffer-modified-p set-visited-file-name (113 27) y-or-n-p "Do you want to revert applied changes?" set-buffer-modified-p 2 message tramp-cleanup-connection tramp-dissect-file-name] 17 (#$ . 7639) (byte-code "\306\307\310 \"\311\312\313\211\204 \314\313\315\"\210\202\221 \313\311\316\317\320\321 \"!\322\323\324!\2061 \325\326\"%)\262\f?\205\217 \327!\206A \211\322!\205N \324!\330\331O\262\322!\205z \211\322!\205d \324!\330\331O\262\332\"\203x \211G\313O\266\203\202| \262\262\333\324!!\312\334\335\336&)\266\203\262*D\207" [read-file-name-function completing-read-function non-essential default-directory current-prefix-arg tramp-ignored-file-name-regexp mapcar tramp-make-tramp-file-name tramp-list-connections completing-read-default read-file-name-default nil tramp-user-error "There are no remote connections." "Enter old Tramp connection: " completion-table-dynamic make-closure #[257 "\301!\204 \302\300\"\207\303\304\305\"\306 \"\207" [V0 tramp-tramp-file-p all-completions mapcar make-closure #[257 "\301!\302!\205 \303\300\"\205 \211;\205 \304!\207" [V0 buffer-file-name buffer-live-p tramp-equal-remote file-name-directory] 5 "\n\n(fn BUFFER)"] tramp-list-remote-buffers] 5 "\n\n(fn STRING)"] tramp-tramp-file-p t file-remote-p try-completion "" tramp-default-rename-file 0 -1 string-prefix-p regexp-quote "Enter new Tramp connection: " confirm file-directory-p] 15)])
#@383 Replace visiting file names to TARGET.
The current buffer must be related to a remote connection. In
all buffers, which are visiting a file with the same directory
name, the buffer file name is changed.
Interactively, TARGET is selected from `tramp-default-rename-alist'
without confirmation if the prefix argument is non-nil.
For details, see `tramp-rename-files'.
(fn TARGET)
(defalias 'tramp-rename-these-files #[257 "\301\"\207" [default-directory tramp-rename-files] 4 (#$ . 12230) (byte-code "\305\306\307\310!\204 \311\305\312\313!\"\210\202v ?\205t \314!\206\"