Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

=Minor improvements in management of XZ archives.

The latest version of AVFS manages xz properly now.
  • Loading branch information...
commit e30a75a5e746d46ccf30ff312b334d364427f740 1 parent d70c99c
@escherdragon escherdragon authored
Showing with 12 additions and 11 deletions.
  1. +10 −9 sunrise-commander.el
  2. +2 −2 sunrise-x-mirror.el
View
19 sunrise-commander.el
@@ -7,7 +7,7 @@
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 24 Sep 2007
;; Version: 5
-;; RCS Version: $Rev: 395 $
+;; RCS Version: $Rev: 396 $
;; Keywords: files, dired, midnight commander, norton, orthodox
;; URL: http://www.emacswiki.org/emacs/sunrise-commander.el
;; Compatibility: GNU Emacs 22+
@@ -272,13 +272,14 @@ Setting this value activates AVFS support."
(const :tag "AVFS support disabled" nil)
(directory :tag "AVFS root directory")))
-(defcustom sr-avfs-handlers-alist '(("\\.[jwesh]ar$" . "#uzip/")
- ("\\.xpi$" . "#uzip/")
- ("\\.apk$" . "#uzip/")
- ("\\.iso$" . "#iso9660/")
- ("\\.patch$" . "#/")
- ("\\.tar.xz$" . "#uxze#utar/")
- ("." . "#/"))
+(defcustom sr-avfs-handlers-alist '(("\\.[jwesh]ar$" . "#uzip/")
+ ("\\.wsar$" . "#uzip/")
+ ("\\.xpi$" . "#uzip/")
+ ("\\.apk$" . "#uzip/")
+ ("\\.iso$" . "#iso9660/")
+ ("\\.patch$" . "#/")
+ ("\\.txz$" . "#/")
+ ("." . "#/"))
"List of AVFS handlers to manage specific file extensions."
:group 'sunrise
:type 'alist)
@@ -4052,7 +4053,7 @@ with advice matching REGEXP."
(sr-rainbow sr-html-face (:foreground "DarkOliveGreen") "\\(^..[^d].*\\.x?html?$\\)")
(sr-rainbow sr-xml-face (:foreground "DarkGreen") "\\(^..[^d].*\\.\\(xml\\|xsd\\|xslt?\\|wsdl\\)$\\)")
-(sr-rainbow sr-log-face (:foreground "brown") "\\(^..[^d].*\\.log$\\)")
+(sr-rainbow sr-log-face (:foreground "brown") "\\(^..[^d].*\\.log$\\)")
(sr-rainbow sr-compressed-face (:foreground "magenta") "\\(^..[^d].*\\.\\(zip\\|bz2\\|t?[gx]z\\|[zZ]\\|[jwers]?ar\\|xpi\\|apk\\|xz\\)$\\)")
(sr-rainbow sr-packaged-face (:foreground "DarkMagenta") "\\(^..[^d].*\\.\\(deb\\|rpm\\)$\\)")
(sr-rainbow sr-encrypted-face (:foreground "DarkOrange1") "\\(^..[^d].*\\.\\(gpg\\|pgp\\)$\\)")
View
4 sunrise-x-mirror.el
@@ -7,7 +7,7 @@
;; Maintainer: José Alfredo Romero L. <escherdragon@gmail.com>
;; Created: 4 May 2008
;; Version: 2
-;; RCS Version: $Rev: 395 $
+;; RCS Version: $Rev: 396 $
;; Keywords: sunrise commander, archives read/write
;; URL: http://www.emacswiki.org/emacs/sunrise-x-mirror.el
;; Compatibility: GNU Emacs 22+
@@ -132,7 +132,7 @@
("\\.tar$" . "tar cvf %f *")
("\\.\\(?:tar\\.gz\\|tgz\\)$" . "tar cvzf %f *")
("\\.tar\\.bz2$" . "tar cvjf %f *")
- ("\\.tar\\.xz$" . "tar cvJf %f *")
+ ("\\.\\(?:tar\\.xz\\|txz\\)$" . "tar cvJf %f *")
)
"List of shell commands to repack particular archive contents.
Used when repacking contents from a mirror area into a compressed
Please sign in to comment.
Something went wrong with that request. Please try again.