GNU bug report logs - #13770
24.3.50; Add support for .txz suffix, XZ-compressed tar archives

Previous Next

Package: emacs;

Reported by: Ulrich Müller <ulm <at> gentoo.org>

Date: Wed, 20 Feb 2013 08:57:01 UTC

Severity: normal

Found in version 24.3.50

Fixed in version 24.4

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13770 in the body.
You can then email your comments to 13770 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13770; Package emacs. (Wed, 20 Feb 2013 08:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ulrich Müller <ulm <at> gentoo.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 20 Feb 2013 08:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ulrich Müller <ulm <at> gentoo.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; Add support for .txz suffix, XZ-compressed tar archives
Date: Wed, 20 Feb 2013 09:55:06 +0100
[Message part 1 (text/plain, inline)]
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.

[txz.patch (text/plain, inline)]
2013-02-20  Ulrich Müller  <ulm <at> 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.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13770; Package emacs. (Wed, 20 Feb 2013 09:40:01 GMT) Full text and rfc822 format available.

Message #8 received at 13770 <at> debbugs.gnu.org (full text, mbox):

From: Ulrich Mueller <ulm <at> gentoo.org>
To: 13770 <at> debbugs.gnu.org
Subject: Re: 24.3.50; Add support for .txz suffix, XZ-compressed tar archives
Date: Wed, 20 Feb 2013 10:38:33 +0100
[Message part 1 (text/plain, inline)]
Here's the ChangeLog entry again; hopefully this time it won't get
mangled by the mailer.
[Message part 2 (text/plain, inline)]
2013-02-20  Ulrich Müller  <ulm <at> gentoo.org>

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


Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Wed, 20 Feb 2013 14:33:03 GMT) Full text and rfc822 format available.

Notification sent to Ulrich Müller <ulm <at> gentoo.org>:
bug acknowledged by developer. (Wed, 20 Feb 2013 14:33:03 GMT) Full text and rfc822 format available.

Message #13 received at 13770-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ulrich Müller <ulm <at> gentoo.org>
Cc: 13770-done <at> debbugs.gnu.org
Subject: Re: bug#13770: 24.3.50;
	Add support for .txz suffix, XZ-compressed tar archives
Date: Wed, 20 Feb 2013 09:30:51 -0500
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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 21 Mar 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 97 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.