From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#8968: arc-mode 7z writing support Date: Fri, 08 Jul 2011 21:38:17 +0300 Organization: JURTA Message-ID: <87tyaw8vqb.fsf@mail.jurta.org> References: <87k4c356w6.fsf@mail.jurta.org> <871uy51y7h.fsf@mail.jurta.org> <87mxgpmy40.fsf@mail.jurta.org> <83r561nt9y.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310150857 20738 80.91.229.12 (8 Jul 2011 18:47:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2011 18:47:37 +0000 (UTC) Cc: 8968@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 08 20:47:33 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QfG5K-0005oo-Dn for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jul 2011 20:47:30 +0200 Original-Received: from localhost ([::1]:59058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfG5J-0003Gz-RA for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jul 2011 14:47:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfG4u-0003GJ-Tm for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2011 14:47:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfG4t-000743-5l for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2011 14:47:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfG4s-00073x-MW for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2011 14:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QfG4s-0000t3-3l; Fri, 08 Jul 2011 14:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Jul 2011 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8968 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 8968-submit@debbugs.gnu.org id=B8968.13101508003371 (code B ref 8968); Fri, 08 Jul 2011 18:47:02 +0000 Original-Received: (at 8968) by debbugs.gnu.org; 8 Jul 2011 18:46:40 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfG4V-0000sH-EO for submit@debbugs.gnu.org; Fri, 08 Jul 2011 14:46:39 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfG4T-0000s0-Pb for 8968@debbugs.gnu.org; Fri, 08 Jul 2011 14:46:38 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 55CDA6E8077; Fri, 8 Jul 2011 11:46:32 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 4ADC5451C03C; Fri, 8 Jul 2011 11:46:29 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Fri, 08 Jul 2011 09:06:39 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 08 Jul 2011 14:47:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48266 Archived-At: >> So by supporting only 7z, let alone making that the default, Emacs is >> in fact preferring a non-free software program to a free one. We have > > Oh, I didn't realize 7z was non-Free. We need to fix that, then. AFAIU, 7z as a program is Free Software on GNU/Linux systems. However, some packages can process formats of non-Free archives. I see the following Debian packages: * p7zip-rar.deb - non-free rar module for p7zip p7zip-rar provides a module for p7zip-full to make 7z able to extract RAR files. * p7zip-full.deb provides: - 7za - a standalone version of the 7-zip tool that handles 7z archives and other free compression formats. - 7z - handles 7z and other free compression formats. * p7zip.deb provides: - 7zr - a standalone minimal version that only handles 7z archives. - p7zip - a gzip like wrapper around 7zr. There is some confusion: the same name `p7zip' is used for the package and for the program, and the same name `7z' is used for the package, for the program and for the format name. The program `p7zip' (a gzip like wrapper) is not suitable for using in arc-mode.el on GNU/Linux. That's why I omitted it from searching for available programs. On GNU/Linux it will find the wrong program. But I don't know the situation on cygwin. The package `p7zip-full' uses the Free Software subset of the algorithms supported by 7z. It contains Free Software that has program names `7z', `7za'. So it seems correct to use `7z' for search a program to handle zip archives. The difference between programs `7z' and `7za' is not essential: one of them is just a standalone version of another. p7zip-rar.deb is a separate non-free module for rar archives.