aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2021-12-04 20:02:07 +0100
committerMichael Albinus2021-12-04 20:02:07 +0100
commit7c5e699b8147dccc4b9960b5481692378de96e1d (patch)
tree1c62e9a3154d8526ea7edf2b62f82e62c045c7e3
parentde727b5886fb4a81df2dc17d9d094e915c1e9fb4 (diff)
downloademacs-7c5e699b8147dccc4b9960b5481692378de96e1d.tar.gz
emacs-7c5e699b8147dccc4b9960b5481692378de96e1d.zip
Add ".crate" to Tramp archive file suffixes.
* doc/misc/tramp.texi (Archive file names): * lisp/net/tramp-archive.el (tramp-archive-suffixes): Add ".crate".
-rw-r--r--doc/misc/tramp.texi9
-rw-r--r--lisp/net/tramp-archive.el2
2 files changed, 9 insertions, 2 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 1f6d4ad6269..2a8a0382807 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -3389,8 +3389,8 @@ indication that the process has been interrupted, and returns a
3389corresponding string. 3389corresponding string.
3390 3390
3391This remote process handling does not apply to @acronym{GVFS} 3391This remote process handling does not apply to @acronym{GVFS}
3392(@pxref{GVFS-based methods}) because the remote file system is mounted on 3392(@pxref{GVFS-based methods}) because the remote file system is mounted
3393the local host and @value{tramp} accesses it by changing the 3393on the local host and @value{tramp} accesses it by changing the
3394@code{default-directory}. 3394@code{default-directory}.
3395 3395
3396@value{tramp} starts a remote process when a command is executed in a 3396@value{tramp} starts a remote process when a command is executed in a
@@ -4059,6 +4059,11 @@ CPIO archives
4059@cindex @file{cpio} file archive suffix 4059@cindex @file{cpio} file archive suffix
4060@cindex file archive suffix @file{cpio} 4060@cindex file archive suffix @file{cpio}
4061 4061
4062@item @samp{.crate} ---
4063Cargo (Rust) packages
4064@cindex @file{crate} file archive suffix
4065@cindex file archive suffix @file{crate}
4066
4062@item @samp{.deb} --- 4067@item @samp{.deb} ---
4063Debian packages 4068Debian packages
4064@cindex @file{deb} file archive suffix 4069@cindex @file{deb} file archive suffix
diff --git a/lisp/net/tramp-archive.el b/lisp/net/tramp-archive.el
index efd38e6b4b7..b0f447a3aee 100644
--- a/lisp/net/tramp-archive.el
+++ b/lisp/net/tramp-archive.el
@@ -54,6 +54,7 @@
54;; * ".ar" - UNIX archiver formats 54;; * ".ar" - UNIX archiver formats
55;; * ".cab", ".CAB" - Microsoft Windows cabinets 55;; * ".cab", ".CAB" - Microsoft Windows cabinets
56;; * ".cpio" - CPIO archives 56;; * ".cpio" - CPIO archives
57;; * ".crate" - Cargo (Rust) packages
57;; * ".deb" - Debian packages 58;; * ".deb" - Debian packages
58;; * ".depot" - HP-UX SD depots 59;; * ".depot" - HP-UX SD depots
59;; * ".exe" - Self extracting Microsoft Windows EXE files 60;; * ".exe" - Self extracting Microsoft Windows EXE files
@@ -141,6 +142,7 @@
141 "ar" ;; UNIX archiver formats. 142 "ar" ;; UNIX archiver formats.
142 "cab" "CAB" ;; Microsoft Windows cabinets. 143 "cab" "CAB" ;; Microsoft Windows cabinets.
143 "cpio" ;; CPIO archives. 144 "cpio" ;; CPIO archives.
145 "crate" ;; Cargo (Rust) packages. Not in libarchive testsuite.
144 "deb" ;; Debian packages. Not in libarchive testsuite. 146 "deb" ;; Debian packages. Not in libarchive testsuite.
145 "depot" ;; HP-UX SD depot. Not in libarchive testsuite. 147 "depot" ;; HP-UX SD depot. Not in libarchive testsuite.
146 "exe" ;; Self extracting Microsoft Windows EXE files. 148 "exe" ;; Self extracting Microsoft Windows EXE files.