From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: arc-mode Date: Sat, 18 May 2019 09:01:34 +0300 Message-ID: <83imu89u81.fsf@gnu.org> References: <83d0khb888.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="122863"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 18 08:05:03 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRsSt-000VmP-7W for ged-emacs-devel@m.gmane.org; Sat, 18 May 2019 08:05:03 +0200 Original-Received: from localhost ([127.0.0.1]:58162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRsSs-0004eF-AE for ged-emacs-devel@m.gmane.org; Sat, 18 May 2019 02:05:02 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRsSA-0004Eh-4i for emacs-devel@gnu.org; Sat, 18 May 2019 02:04:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRsPa-0004H7-VF; Sat, 18 May 2019 02:01:39 -0400 Original-Received: from [176.228.60.248] (port=4439 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hRsPa-000326-Cy; Sat, 18 May 2019 02:01:38 -0400 In-reply-to: (message from Lars Ingebrigtsen on Sat, 18 May 2019 05:56:04 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236702 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Sat, 18 May 2019 05:56:04 +0200 > > I'm wondering whether arc-mode.el is maintained, because it seems rather > er odd, and when I use the functions that actually use the library > functions we want to change, I'm getting bug-outs. It's maintained, but old and largely unused archive formats bit-rot with time. > archive-lzh-rename-entry("text2" ["text.txt" "text.txt" nil nil 930]) > > So finding code in there that works to check whether the changes we want > to make are sound is proving a challenge. :-) > > Hm... here's the matrix of supported functionality: > > ;; Arc Lzh Zip Zoo Rar 7z > ;; -------------------------------------------- > ;; View listing Intern Intern Intern Intern Y Y > ;; Extract member Y Y Y Y Y Y > ;; Save changed member Y Y Y Y N Y > ;; Add new member N N N N N N > ;; Delete member Y Y Y Y N Y > ;; Rename member Y Y N N N N > ;; Chmod - Y Y - N N > ;; Chown - Y - - N N > ;; Chgrp - Y - - N N > > Renaming files is only supported in .arc and .lzh files... neither of > which are used much any more. Perhaps those should be marked as > obsolete (especially since at least one of them don't work any more)? > > Let's see... `archive-zip-chmod-entry' actually seems to work, and uses > `insert-unibyte'... but only on numbers, not strings, so I don't know > how to test the string part. *scratches head* If zip archives work with the change, I suggest to make the change, leave behind a FIXME comment regarding those which don't seem to work, and file a bug report about that. I will try to get to that when I have time, if no one beats me to it. Thanks.