From unknown Mon Aug 11 12:54:11 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4953: 23.1.50; Dired does not deal well with xz-compressed files Reply-To: Sven Joachim , 4953@debbugs.gnu.org Resent-From: Sven Joachim Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 18 Nov 2009 09:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4953 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125853473124247 (code B ref -1); Wed, 18 Nov 2009 09:05:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Nov 2009 08:58:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,FOURLA,FVGT_m_MULTI_ODD, SARE_SUB_OBFU_Z autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAI8wn1T024244 for ; Wed, 18 Nov 2009 00:58:50 -0800 Received: from mail.gnu.org ([199.232.76.166]:39464 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NAgNE-0001de-W2 for emacs-pretest-bug@gnu.org; Wed, 18 Nov 2009 03:58:49 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NAgNC-0005AY-Jx for emacs-pretest-bug@gnu.org; Wed, 18 Nov 2009 03:58:48 -0500 Received: from mail.gmx.net ([213.165.64.20]:43436) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NAgNC-00059W-2C for emacs-pretest-bug@gnu.org; Wed, 18 Nov 2009 03:58:46 -0500 Received: (qmail invoked by alias); 18 Nov 2009 08:58:40 -0000 Received: from p548640F4.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.64.244] by mail.gmx.net (mp040) with SMTP; 18 Nov 2009 09:58:40 +0100 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX193eaxeH7h35bvtOOjUlVJ1SACYqErA71/oRgZ0RO 20aZtP4lMcwO7a Received: by turtle.gmx.de (Postfix, from userid 1000) id E753F354B6; Wed, 18 Nov 2009 09:58:38 +0100 (CET) From: Sven Joachim To: emacs-pretest-bug@gnu.org Date: Wed, 18 Nov 2009 09:58:38 +0100 Message-ID: <87k4xop5tt.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) While finding xz-compressed files is handled transparently in Emacs, the same cannot be said about their support (or rather, lack thereof) in Dired. Two examples: - dired-do-compress on file.xz produces file.xz.gz instead of file - dired-do-shell-command does not offer anything for file.tar.xz (with GNU tar 1.22, just "tar xf" unpacks it, older versions may need the option --use-compress-program=xz). In GNU Emacs 23.1.50.3 (i486-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-17 on turtle Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--build=i486-pc-linux-gnu' 'build_alias=i486-pc-linux-gnu'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x k C-x d Z y Z y g M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Compress or uncompress coreutils-8.0.128-630f.tar.xz? (y or n) Compressing /usr/local/src/coreutils-8.0.128-630f.tar.xz...done Compress or uncompress: 1 file. Compress or uncompress coreutils-8.0.128-630f.tar.xz.gz? (y or n) Uncompressing /usr/local/src/coreutils-8.0.128-630f.tar.xz.gz...done Compress or uncompress: 1 file. Load-path shadows: None found. Features: (shadow mail-extr message ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug sendmail dired-aux dired regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting gtk x-toolkit x multi-tty emacs) From unknown Mon Aug 11 12:54:11 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4953: 23.1.50; Dired does not deal well with xz-compressed files Reply-To: Glenn Morris , 4953@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 19 Nov 2009 07:50:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4953 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4953-submit@emacsbugs.donarmstrong.com id=B4953.125861654832257 (code B ref 4953); Thu, 19 Nov 2009 07:50:04 +0000 Received: (at 4953) by emacsbugs.donarmstrong.com; 19 Nov 2009 07:42:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.1 required=4.0 tests=AWL,HAS_BUG_NUMBER, SARE_SUB_OBFU_Z,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAJ7gRmT032254 for <4953@emacsbugs.donarmstrong.com>; Wed, 18 Nov 2009 23:42:28 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NB1es-0002mr-Et; Thu, 19 Nov 2009 02:42:26 -0500 From: Glenn Morris To: Sven Joachim Cc: 4953@debbugs.gnu.org References: <87k4xop5tt.fsf@turtle.gmx.de> X-Spook: Abbas SDI Lexis-Nexis supercomputer JFK Waco, Texas X-Ran: lm#J*E/}:3,K;J(H^r5gR3]~95HFB%R>bqO6fbY;u70"N{R2K.]{jhC7SW,7^[MGqrwsP( X-Hue: red X-Attribution: GM Date: Thu, 19 Nov 2009 02:42:26 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sven Joachim wrote: > - dired-do-compress on file.xz produces file.xz.gz instead of file OK, I added an unxz entry to dired-compress-file-suffixes. > - dired-do-shell-command does not offer anything for file.tar.xz I don't know what this means. M-x dired-do-shell-command for foo.tar.gz doesn't seem to do anything special. From unknown Mon Aug 11 12:54:11 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4953: 23.1.50; Dired does not deal well with xz-compressed files Reply-To: Sven Joachim , 4953@debbugs.gnu.org Resent-From: Sven Joachim Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 19 Nov 2009 08:00:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4953 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4953-submit@emacsbugs.donarmstrong.com id=B4953.12586173661001 (code B ref 4953); Thu, 19 Nov 2009 08:00:07 +0000 Received: (at 4953) by emacsbugs.donarmstrong.com; 19 Nov 2009 07:56:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, SARE_SUB_OBFU_Z autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id nAJ7u37c000997 for <4953@emacsbugs.donarmstrong.com>; Wed, 18 Nov 2009 23:56:05 -0800 Received: (qmail invoked by alias); 19 Nov 2009 07:55:57 -0000 Received: from p54863B2E.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.59.46] by mail.gmx.net (mp018) with SMTP; 19 Nov 2009 08:55:57 +0100 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+DMcYFEH+D8cd5TVwB8yqg+xP32u16mIBl3SmggD 7q398RKS5T+YTw Received: by turtle.gmx.de (Postfix, from userid 1000) id 5C4FA354B6; Thu, 19 Nov 2009 08:55:57 +0100 (CET) From: Sven Joachim To: Glenn Morris Cc: 4953@debbugs.gnu.org References: <87k4xop5tt.fsf@turtle.gmx.de> Date: Thu, 19 Nov 2009 08:55:56 +0100 In-Reply-To: (Glenn Morris's message of "Thu, 19 Nov 2009 02:42:26 -0500") Message-ID: <87d43fkkxf.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.72 On 2009-11-19 08:42 +0100, Glenn Morris wrote: > Sven Joachim wrote: > >> - dired-do-compress on file.xz produces file.xz.gz instead of file > > OK, I added an unxz entry to dired-compress-file-suffixes. Thanks. >> - dired-do-shell-command does not offer anything for file.tar.xz > > I don't know what this means. M-x dired-do-shell-command for > foo.tar.gz doesn't seem to do anything special. You need to load dired-x first (Info "(dired-x) Shell Command Guessing"). Sven From rgm@gnu.org Thu Nov 19 14:11:46 2009 Received: (at control) by emacsbugs.donarmstrong.com; 19 Nov 2009 22:11:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,ONEWORD autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAJMBjuT020247 for ; Thu, 19 Nov 2009 14:11:46 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NBFE8-00045Z-MU; Thu, 19 Nov 2009 17:11:44 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19205.49824.635702.822782@fencepost.gnu.org> Date: Thu, 19 Nov 2009 17:11:44 -0500 From: Glenn Morris To: control Subject: control close 4924 tags 4931 moreinfo unreproducible close 4946 tags 4948 moreinfo severity 4953 wishlist severity 4957 minor severity 4976 wishlist reassign 4976 emacs,erc reassign 4965 spam reassign 4969 spam severity 4973 wishlist From unknown Mon Aug 11 12:54:11 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4953: 23.1.50; Dired does not deal well with xz-compressed files Reply-To: Sven Joachim , 4953@debbugs.gnu.org Resent-From: Sven Joachim Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 21 Nov 2009 22:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4953 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4953-submit@emacsbugs.donarmstrong.com id=B4953.12588406171920 (code B ref 4953); Sat, 21 Nov 2009 22:05:04 +0000 Received: (at 4953) by emacsbugs.donarmstrong.com; 21 Nov 2009 21:56:57 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.1 required=4.0 tests=AWL,HAS_BUG_NUMBER, IMPRONONCABLE_2,MURPHY_DRUGS_REL8,SARE_SUB_OBFU_Z,VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id nALLuts3001917 for <4953@emacsbugs.donarmstrong.com>; Sat, 21 Nov 2009 13:56:56 -0800 Received: (qmail invoked by alias); 21 Nov 2009 21:56:49 -0000 Received: from p54864874.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.72.116] by mail.gmx.net (mp019) with SMTP; 21 Nov 2009 22:56:49 +0100 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX18e2uBvNMUeRu6cj+HlWjDRRDVvvYvmqoDLQ8FCd3 9VCjHKCyWLdLTG Received: by turtle.gmx.de (Postfix, from userid 1000) id 6E909354B6; Sat, 21 Nov 2009 22:56:48 +0100 (CET) From: Sven Joachim To: 4953@debbugs.gnu.org Cc: Glenn Morris References: <87k4xop5tt.fsf@turtle.gmx.de> <87d43fkkxf.fsf@turtle.gmx.de> Date: Sat, 21 Nov 2009 22:56:47 +0100 In-Reply-To: <87d43fkkxf.fsf@turtle.gmx.de> (Sven Joachim's message of "Thu, 19 Nov 2009 08:55:56 +0100") Message-ID: <877htjczj4.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53 tags 4953 + patch thanks On 2009-11-19 08:55 +0100, Sven Joachim wrote: > On 2009-11-19 08:42 +0100, Glenn Morris wrote: > >> Sven Joachim wrote: >> >>> - dired-do-shell-command does not offer anything for file.tar.xz >> >> I don't know what this means. M-x dired-do-shell-command for >> foo.tar.gz doesn't seem to do anything special. > > You need to load dired-x first (Info "(dired-x) Shell Command Guessing"). Here is a patch that adds support for xz-compressed files to dired-guess-shell-alist-default, emulating the case of bzip2-compressed files: --8<---------------cut here---------------start------------->8--- diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 4da19f6..dce8685 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -1017,6 +1017,16 @@ dired." ;; Optional decompression. "bunzip2") + ;; xz'ed archives + (list "\\.t\\(ar\\.\\)?xz$" + "unxz -c * | tar xvf -" + ;; Extract files into a separate subdirectory + '(concat "mkdir " (file-name-sans-extension file) + "; unxz -c * | tar -C " + (file-name-sans-extension file) " -xvf -") + ;; Optional decompression. + "unxz") + '("\\.shar\\.Z$" "zcat * | unshar") '("\\.shar\\.g?z$" "gunzip -qc * | unshar") @@ -1098,6 +1108,7 @@ dired." (list "\\.g?z$" '(concat "gunzip" (if dired-guess-shell-gzip-quiet " -q"))) (list "\\.dz$" "dictunzip") (list "\\.bz2$" "bunzip2") + (list "\\.xz$" "unxz") (list "\\.Z$" "uncompress" ;; Optional conversion to gzip format. '(concat "znew" (if dired-guess-shell-gzip-quiet " -q") --8<---------------cut here---------------end--------------->8--- Suggested Changelog entry: 2009-11-21 Sven Joachim * dired-x.el (dired-guess-shell-alist-default): Support xz format. Cheers, Sven From unknown Mon Aug 11 12:54:11 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Sven Joachim Subject: bug#4953 closed by Glenn Morris (Re: bug#4953: 23.1.50; Dired does not deal well with xz-compressed files) Message-ID: References: <87k4xop5tt.fsf@turtle.gmx.de> X-Emacs-PR-Message: they-closed 4953 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Reply-To: 4953@debbugs.gnu.org Date: Mon, 23 Nov 2009 00:40:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1258936805-23957-1" This is a multi-part message in MIME format... ------------=_1258936805-23957-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4953: 23.1.50; Dired does not deal well with xz-compressed files It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 4953: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4953 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1258936805-23957-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4953-done) by emacsbugs.donarmstrong.com; 23 Nov 2009 00:33:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.1 required=4.0 tests=AWL,HAS_BUG_NUMBER, SARE_SUB_OBFU_Z,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAN0XGdG023555 for <4953-done@emacsbugs.donarmstrong.com>; Sun, 22 Nov 2009 16:33:17 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NCMrj-0005VE-Ro; Sun, 22 Nov 2009 19:33:15 -0500 From: Glenn Morris To: 4953-done@debbugs.gnu.org Subject: Re: bug#4953: 23.1.50; Dired does not deal well with xz-compressed files References: <87k4xop5tt.fsf@turtle.gmx.de> <87d43fkkxf.fsf@turtle.gmx.de> <877htjczj4.fsf@turtle.gmx.de> X-Spook: sweep Axis of Evil Telex Agfa Crypto AG MP5K-SD USCOI X-Ran: K%>a{(q)P2#<`yE;C%^}5~$C7;tKQ)zgc~S}&n&]fWP3Ix_bNeaiapk&I0`z^OVbt(.>KX X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 22 Nov 2009 19:33:15 -0500 In-Reply-To: <877htjczj4.fsf@turtle.gmx.de> (Sven Joachim's message of "Sat, 21 Nov 2009 22:56:47 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Thanks; applied. ------------=_1258936805-23957-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 18 Nov 2009 08:58:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,FOURLA,FVGT_m_MULTI_ODD, SARE_SUB_OBFU_Z autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAI8wn1T024244 for ; Wed, 18 Nov 2009 00:58:50 -0800 Received: from mail.gnu.org ([199.232.76.166]:39464 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NAgNE-0001de-W2 for emacs-pretest-bug@gnu.org; Wed, 18 Nov 2009 03:58:49 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NAgNC-0005AY-Jx for emacs-pretest-bug@gnu.org; Wed, 18 Nov 2009 03:58:48 -0500 Received: from mail.gmx.net ([213.165.64.20]:43436) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NAgNC-00059W-2C for emacs-pretest-bug@gnu.org; Wed, 18 Nov 2009 03:58:46 -0500 Received: (qmail invoked by alias); 18 Nov 2009 08:58:40 -0000 Received: from p548640F4.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.64.244] by mail.gmx.net (mp040) with SMTP; 18 Nov 2009 09:58:40 +0100 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX193eaxeH7h35bvtOOjUlVJ1SACYqErA71/oRgZ0RO 20aZtP4lMcwO7a Received: by turtle.gmx.de (Postfix, from userid 1000) id E753F354B6; Wed, 18 Nov 2009 09:58:38 +0100 (CET) From: Sven Joachim To: emacs-pretest-bug@gnu.org Subject: 23.1.50; Dired does not deal well with xz-compressed files Date: Wed, 18 Nov 2009 09:58:38 +0100 Message-ID: <87k4xop5tt.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) While finding xz-compressed files is handled transparently in Emacs, the same cannot be said about their support (or rather, lack thereof) in Dired. Two examples: - dired-do-compress on file.xz produces file.xz.gz instead of file - dired-do-shell-command does not offer anything for file.tar.xz (with GNU tar 1.22, just "tar xf" unpacks it, older versions may need the option --use-compress-program=xz). In GNU Emacs 23.1.50.3 (i486-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-17 on turtle Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--build=i486-pc-linux-gnu' 'build_alias=i486-pc-linux-gnu'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x k C-x d Z y Z y g M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Compress or uncompress coreutils-8.0.128-630f.tar.xz? (y or n) Compressing /usr/local/src/coreutils-8.0.128-630f.tar.xz...done Compress or uncompress: 1 file. Compress or uncompress coreutils-8.0.128-630f.tar.xz.gz? (y or n) Uncompressing /usr/local/src/coreutils-8.0.128-630f.tar.xz.gz...done Compress or uncompress: 1 file. Load-path shadows: None found. Features: (shadow mail-extr message ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug sendmail dired-aux dired regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting gtk x-toolkit x multi-tty emacs) ------------=_1258936805-23957-1--