all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#13770: 24.3.50; Add support for .txz suffix, XZ-compressed tar archives
@ 2013-02-20  8:55 Ulrich Müller
       [not found] ` <handler.13770.B.136135061232164.ack@debbugs.gnu.org>
  2013-02-20 14:30 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: Ulrich Müller @ 2013-02-20  8:55 UTC (permalink / raw
  To: 13770

[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 281 bytes --]

The .txz suffix has recently become somewhat popular. For example,
Slackware GNU/Linux and FreeBSD are using it.

Attached patch adds support for .txz to jka-compr. (In other places,
like dired-x, .txz is already recognised). It would be nice if this
could be added to the trunk.


[-- Attachment #2: txz.patch --]
[-- Type: text/plain, Size: 1277 bytes --]

2013-02-20  Ulrich Müller  <ulm@gentoo.org>

	* jka-cmpr-hook.el (jka-compr-compression-info-list)
	(jka-compr-mode-alist-additions): Handle .txz suffix for
	XZ-compressed tar archives.

--- emacs/lisp/jka-cmpr-hook.el
+++ emacs/lisp/jka-cmpr-hook.el
@@ -234,6 +234,10 @@
      "XZ compressing"     "xz"           ("-c" "-q")
      "XZ uncompressing"   "xz"           ("-c" "-q" "-d")
      t t "\3757zXZ\0"]
+    ["\\.txz\\'"
+     "XZ compressing"     "xz"           ("-c" "-q")
+     "XZ uncompressing"   "xz"           ("-c" "-q" "-d")
+     t nil "\3757zXZ\0"]
     ;; dzip is gzip with random access.  Its compression program can't
     ;; read/write stdin/out, so .dz files can only be viewed without
     ;; saving, having their contents decompressed with gzip.
@@ -302,7 +306,9 @@
   :group 'jka-compr)
 
 (defcustom jka-compr-mode-alist-additions
-  (list (cons (purecopy "\\.tgz\\'") 'tar-mode) (cons (purecopy "\\.tbz2?\\'") 'tar-mode))
+  (list (cons (purecopy "\\.tgz\\'") 'tar-mode)
+	(cons (purecopy "\\.tbz2?\\'") 'tar-mode)
+	(cons (purecopy "\\.txz\\'") 'tar-mode))
   "List of pairs added to `auto-mode-alist' when installing jka-compr.
 Uninstalling jka-compr removes all pairs from `auto-mode-alist' that
 installing added.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13770: 24.3.50; Add support for .txz suffix, XZ-compressed tar archives
       [not found] ` <handler.13770.B.136135061232164.ack@debbugs.gnu.org>
@ 2013-02-20  9:38   ` Ulrich Mueller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Mueller @ 2013-02-20  9:38 UTC (permalink / raw
  To: 13770

[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 90 bytes --]

Here's the ChangeLog entry again; hopefully this time it won't get
mangled by the mailer.

[-- Attachment #2: Type: text/plain, Size: 194 bytes --]

2013-02-20  Ulrich Müller  <ulm@gentoo.org>

	* jka-cmpr-hook.el (jka-compr-compression-info-list)
	(jka-compr-mode-alist-additions): Handle .txz suffix for
	XZ-compressed tar archives.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13770: 24.3.50; Add support for .txz suffix, XZ-compressed tar archives
  2013-02-20  8:55 bug#13770: 24.3.50; Add support for .txz suffix, XZ-compressed tar archives Ulrich Müller
       [not found] ` <handler.13770.B.136135061232164.ack@debbugs.gnu.org>
@ 2013-02-20 14:30 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2013-02-20 14:30 UTC (permalink / raw
  To: Ulrich Müller; +Cc: 13770-done

Version: 24.4

> Attached patch adds support for .txz to jka-compr. (In other places,
> like dired-x, .txz is already recognised). It would be nice if this
> could be added to the trunk.

Thank you, installed,


        Stefan





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-20 14:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-20  8:55 bug#13770: 24.3.50; Add support for .txz suffix, XZ-compressed tar archives Ulrich Müller
     [not found] ` <handler.13770.B.136135061232164.ack@debbugs.gnu.org>
2013-02-20  9:38   ` Ulrich Mueller
2013-02-20 14:30 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.