From unknown Mon Jun 23 11:25:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2353 <2353@debbugs.gnu.org> To: bug#2353 <2353@debbugs.gnu.org> Subject: Status: 23.0.90; jka-compr: LZMA support Reply-To: bug#2353 <2353@debbugs.gnu.org> Date: Mon, 23 Jun 2025 18:25:20 +0000 retitle 2353 23.0.90; jka-compr: LZMA support reassign 2353 emacs submitter 2353 trentbuck@gmail.com severity 2353 wishlist thanks From trentbuck@gmail.com Mon Feb 16 22:36:58 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Feb 2009 06:36:58 +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=0.1 required=4.0 tests=FOURLA 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.13.8/8.13.8/Debian-3) with ESMTP id n1H6at8j001216 for ; Mon, 16 Feb 2009 22:36:56 -0800 Received: from mx10.gnu.org ([199.232.76.166]:51632) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LZJXd-000897-Lf for emacs-pretest-bug@gnu.org; Tue, 17 Feb 2009 01:34:49 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LZJZd-00023H-4K for emacs-pretest-bug@gnu.org; Tue, 17 Feb 2009 01:36:54 -0500 Received: from rv-out-0708.google.com ([209.85.198.251]:62947) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZJZc-00023B-LL for emacs-pretest-bug@gnu.org; Tue, 17 Feb 2009 01:36:53 -0500 Received: by rv-out-0708.google.com with SMTP id f25so2371814rvb.6 for ; Mon, 16 Feb 2009 22:36:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:cc :subject; bh=3XJd9hzDcRV0Q9jv4cprIC/RmLqdLaXULQpDO4qYcRQ=; b=VCzjbIhJsc7FQZs6Ii/st+GkoEDCYg5gg1HBG9SGauVt77x46k5oxtJ6EJ5GBNqnhN NNBHxtelSKQ3oKEgxz83CGz+PXG17sIDG6G4gBRDHCPuT9nychIDU0GqL7b2+bw3jZ5x IP6i8JHwXVXw/Bf4+GlWpToV0nrZl1TyaT7YQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:cc:subject; b=pzDOfBmD37COm38PCq/TAxjMELSmbKgeZxeh/oWivJbKseB6AD5Xw4R8ZPTR2QUVD7 O6VLQWhG1nzrPcahsttfwck/mTjZWwGBDRyqSeXjLFD/6aZrOug9mXmjXGXKeOnz/oHK WlduBmOBplP6JclVO4mY4o7NvjZQjYfMsvH3o= Received: by 10.114.197.10 with SMTP id u10mr1080297waf.96.1234852609328; Mon, 16 Feb 2009 22:36:49 -0800 (PST) Received: from localhost (nat064.cyber.com.au [203.7.155.64]) by mx.google.com with ESMTPS id z15sm9238140pod.14.2009.02.16.22.36.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 16 Feb 2009 22:36:49 -0800 (PST) Message-ID: <499a5b01.0f98600a.516d.36ee@mx.google.com> Date: Mon, 16 Feb 2009 22:36:49 -0800 (PST) From: trentbuck@gmail.com To: emacs-pretest-bug@gnu.org CC: rfrancoise@debian.org Subject: 23.0.90; jka-compr: LZMA support X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) >From lzma(1): LZMA (Lempel-Ziv-Markov chain-Algorithm) is an improved version of famous LZ77 compression algorithm. It was improved in way of maximum increasing of compression ratio, keeping high decompression speed and low memory requirements for decompressing. This seems to work such that foo.tar.lzma can be opened happily by Emacs. I suggest adding it to the default list in jka-compr.el. (progn (add-to-list 'jka-compr-compression-info-list ["\\.lzma\\(~\\|\\.~[0-9]+~\\)?\\'" nil "lzma" nil nil "unlzma" nil nil t ""]) (jka-compr-set 'jka-compr-compression-info-list jka-compr-compression-info-list)) PS: I'm not sure whether to use nil or "" for this case: there is no reliable magic for lzma files. From my /usr/share/file/magic: # URL: http://www.7-zip.org/sdk.html # From: Robert Millan and Reuben Thomas # Commented out because apparently not reliable (according to Debian # bug #364260) #0 string ]\000\000\200\000 LZMA compressed data In GNU Emacs 23.0.90.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2009-02-07 on elegiac, modified by Debian (emacs-snapshot package, version 1:20090207-1) configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.90/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.90/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' 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: en_AU.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t eldoc-mode: t paredit-mode: t shell-dirtrack-mode: t rcirc-track-minor-mode: t savehist-mode: t icomplete-mode: t partial-completion-mode: t show-paren-mode: t delete-selection-mode: t tooltip-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC x i r c C-j ESC x g n u s RET q y C-c C-@ C-c C-l ESC o ESC a C-c C-@ C-c C-@ C-c C-@ C-c C-@ C-c C-@ C-c C-@ C-x C-f ~ / V C S / C-j C-h C-s ESC O B ESC O B ESC > C-x C-f ~ / . e m a c s RET ESC O A ESC O A ESC [ 1 ~ ESC O A C-@ ESC O B ESC O B ESC O B ESC O B ESC w ESC x r e p o r t SPC e m a c s RET Recent messages: Opening nndoc server on gnus-help...done Checking new news...done Are you sure you want to quit reading news? (y or n) (No changes need to be saved) Activity in this buffer is low priority Rcirc-Omit mode enabled Loading tramp...done Mark set Followed link to /home/twb/Preferences/.emacs Mark set From rgm@gnu.org Tue Feb 17 09:52:10 2009 Received: (at control) by emacsbugs.donarmstrong.com; 17 Feb 2009 17:52:11 +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.0 required=4.0 tests=VALID_BTS_CONTROL 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.13.8/8.13.8/Debian-3) with ESMTP id n1HHq8ZE008111 for ; Tue, 17 Feb 2009 09:52:09 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LZU53-0008WO-VU; Tue, 17 Feb 2009 12:50:01 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18842.63689.889659.707874@fencepost.gnu.org> Date: Tue, 17 Feb 2009 12:50:01 -0500 From: Glenn Morris To: control Subject: control message tags 2303 moreinfo tags 2282 moreinfo unreproducible merge 1638 2357 reassign 2358 spam severity 2353 wishlist From cloos@jhcloos.com Wed Mar 4 10:27:43 2009 Received: (at 2353) by emacsbugs.donarmstrong.com; 4 Mar 2009 18:27:43 +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.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from eagle.jhcloos.com (eagle.jhcloos.com [207.210.242.212]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n24IReAJ006543 for <2353@emacsbugs.donarmstrong.com>; Wed, 4 Mar 2009 10:27:41 -0800 Received: by eagle.jhcloos.com (Postfix, from userid 10) id 151E340091; Wed, 4 Mar 2009 18:27:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1236191260; bh=QC4vGjohkAOD6vWFYe8jzXOi7iVEqhFsqhJR6Ym4m uk=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=KMHd1VjX88iorQBHxMZ8edirIxHL9r1eOojha WVQuO/IofvYvLcCKsNg11lQADOUZMpbx/TcCNvIBRpLXeqDAjs67vvpcME+KtWd6RzY 379lxx0MPGOsoNLQoUn3dhMHN78xZImX1wkxIOalvqILn/5RQWbu8WsLIJ6prTaKQkE = Received: by lugabout.jhcloos.org (Postfix, from userid 500) id CF5BFC0C9D; Wed, 4 Mar 2009 18:27:17 +0000 (UTC) From: James Cloos To: 2353@debbugs.gnu.org Subject: Re: bug#2353: 23.0.90; jka-compr: LZMA support In-Reply-To: <499a5b01.0f98600a.516d.36ee@mx.google.com> (trentbuck@gmail.com's message of "Mon, 16 Feb 2009 22:36:49 -0800 (PST)") References: <499a5b01.0f98600a.516d.36ee@mx.google.com> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2009 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Date: Wed, 04 Mar 2009 13:26:53 -0500 Message-ID: Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Hashcash: 1:23:090304:2353@emacsbugs.donarmstrong.com::UXQlLkKLNtCGd2S/:000000000000000000000000000000Ele+ When doing this, xz (lzma's replacement) should be added, too. The typical extension is .xz and the commands are xz to compress, unxz to decompress, and xzdec to to decompress to stdout. Unlike lzma, xz does have reliable file magic; AFAIK, though, it has not yet been translated into magic(5) format. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 09 16:24:40 2012 Received: (at 2353-done) by debbugs.gnu.org; 9 Feb 2012 21:24:40 +0000 Received: from localhost ([127.0.0.1]:34103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvbTo-0002I4-9u for submit@debbugs.gnu.org; Thu, 09 Feb 2012 16:24:40 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:60506 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvbTl-0002Hw-34 for 2353-done@debbugs.gnu.org; Thu, 09 Feb 2012 16:24:34 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RvbSc-0003wq-SF; Thu, 09 Feb 2012 16:23:22 -0500 From: Glenn Morris To: 2353-done@debbugs.gnu.org Subject: Re: bug#2353: 23.0.90; jka-compr: LZMA support References: <499a5b01.0f98600a.516d.36ee@mx.google.com> X-Spook: bootleg e-cash halcon Europol NATO Treasury ANDVT nitrate X-Ran: =w'=XP[lthzP-` (James Cloos's message of "Wed, 04 Mar 2009 13:26:53 -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 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 2353-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Version: 24.1 I noticed that jka-compr-compression-info-list now has entries for lzma (since end Jan) and xz. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 09 17:14:55 2012 Received: (at 2353) by debbugs.gnu.org; 9 Feb 2012 22:14:55 +0000 Received: from localhost ([127.0.0.1]:34143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvcGV-0003ZT-MT for submit@debbugs.gnu.org; Thu, 09 Feb 2012 17:14:55 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:63456) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvcGT-0003ZD-JZ for 2353@debbugs.gnu.org; Thu, 09 Feb 2012 17:14:54 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LZ500H00C6O4L00@a-mtaout21.012.net.il> for 2353@debbugs.gnu.org; Fri, 10 Feb 2012 00:13:00 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.149.156]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LZ500GY0CDMXXA0@a-mtaout21.012.net.il>; Fri, 10 Feb 2012 00:13:00 +0200 (IST) Date: Fri, 10 Feb 2012 00:13:05 +0200 From: Eli Zaretskii Subject: Re: bug#2353: 23.0.90; jka-compr: LZMA support In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83ehu3ac5q.fsf@gnu.org> References: <499a5b01.0f98600a.516d.36ee@mx.google.com> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 2353 Cc: rgm@gnu.org, 2353@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Glenn Morris > Date: Thu, 09 Feb 2012 16:23:22 -0500 > > Version: 24.1 > > I noticed that jka-compr-compression-info-list now has entries > for lzma (since end Jan) and xz. Yes, I added them (after I saw several GNU packages started using these formats exclusively, and more are considering that). I think we can close that bug. From unknown Mon Jun 23 11:25:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Mar 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator