GNU bug report logs - #79165
Archive Mode (arc-mode.el) not opening .zip files

Previous Next

Package: emacs;

Reported by: binarydigitz01 <binarydigitz01 <at> proton.me>

Date: Sun, 3 Aug 2025 09:53:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

To reply to this bug, email your comments to 79165 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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#79165; Package emacs. (Sun, 03 Aug 2025 09:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to binarydigitz01 <binarydigitz01 <at> proton.me>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 03 Aug 2025 09:53:02 GMT) Full text and rfc822 format available.

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

From: binarydigitz01 <binarydigitz01 <at> proton.me>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Archive Mode (arc-mode.el) not opening .zip files
Date: Sun, 03 Aug 2025 09:52:17 +0000
[Message part 1 (text/plain, inline)]
I found a bug in arc-mode.el which makes it unable to open zip files, on
further analysis i found it was using incf instead of cl-incf. It is now
able to open .zip files and works as expected. I have attached a patch that fixes it.


In GNU Emacs 30.1.90 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.18.4, Xaw3d scroll bars)
Repository revision: emacs-30.1.90
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12401008
System Description: NixOS 25.11 (Xantusia)

Configured using:
 'configure
 --prefix=/nix/store/21npjyrbq3m495h63dsb7mj2kw69fg2z-emacs-unstable-30.1.90
 --disable-build-details --with-modules --with-x-toolkit=lucid
 --with-cairo --without-xft --with-compress-install
 --with-toolkit-scroll-bars --with-native-compilation
 --without-imagemagick --with-mailutils --without-small-ja-dic
 --with-tree-sitter --with-xinput2 --without-xwidgets --with-dbus
 --with-selinux'
[patch.diff (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79165; Package emacs. (Sun, 03 Aug 2025 10:44:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: binarydigitz01 <binarydigitz01 <at> proton.me>
Cc: 79165 <at> debbugs.gnu.org
Subject: Re: bug#79165: Archive Mode (arc-mode.el) not opening .zip files
Date: Sun, 03 Aug 2025 13:43:16 +0300
> Date: Sun, 03 Aug 2025 09:52:17 +0000
> From:  binarydigitz01 via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> I found a bug in arc-mode.el which makes it unable to open zip files, on
> further analysis i found it was using incf instead of cl-incf. It is now
> able to open .zip files and works as expected. I have attached a patch that fixes it.

Thanks, but where did you get the version of arc-mode,el which uses
incf?  The version included with Emacs 30.1.90 uses cl-incf, not incf.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79165; Package emacs. (Sun, 03 Aug 2025 11:02:01 GMT) Full text and rfc822 format available.

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

From: binarydigitz01 <binarydigitz01 <at> proton.me>
To: Eli Zaretskii <eliz <at> gnu.org>,
 "79165 <at> debbugs.gnu.org" <79165 <at> debbugs.gnu.org>
Subject: Re: bug#79165: Archive Mode (arc-mode.el) not opening .zip files
Date: Sun, 03 Aug 2025 11:00:54 +0000
[Message part 1 (text/plain, inline)]
I was working on another patch on the master branch of emacs, and while testing i encountered this, but after digging and a quick magit blame I realised this is one of the changes of emacs master branch, I should have tested my changes after building emacs instead of relying on my unstable emacs, my bad!

> > Date: Sun, 03 Aug 2025 09:52:17 +0000
> > From: binarydigitz01 via "Bug reports for GNU Emacs,
> > the Swiss army knife of text editors" bug-gnu-emacs <at> gnu.org
> >
> > I found a bug in arc-mode.el which makes it unable to open zip files, on
> > further analysis i found it was using incf instead of cl-incf. It is now
> > able to open .zip files and works as expected. I have attached a patch that fixes it.
>
>
> Thanks, but where did you get the version of arc-mode,el which uses
> incf? The version included with Emacs 30.1.90 uses cl-incf, not incf.
[signature.asc (application/pgp-signature, attachment)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 03 Aug 2025 11:36:01 GMT) Full text and rfc822 format available.

Notification sent to binarydigitz01 <binarydigitz01 <at> proton.me>:
bug acknowledged by developer. (Sun, 03 Aug 2025 11:36:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: binarydigitz01 <binarydigitz01 <at> proton.me>
Cc: 79165-done <at> debbugs.gnu.org
Subject: Re: bug#79165: Archive Mode (arc-mode.el) not opening .zip files
Date: Sun, 03 Aug 2025 14:35:14 +0300
> Date: Sun, 03 Aug 2025 11:00:54 +0000
> From: binarydigitz01 <binarydigitz01 <at> proton.me>
> 
> I was working on another patch on the master branch of emacs, and while testing i encountered this, but after digging and a quick magit blame I realised this is one of the changes of emacs master branch, I should have tested my changes after building emacs instead of relying on my unstable emacs, my bad!

OK, thanks.  Now it's clear.  We indeed made this change on the master
branch, where incf is a macro.

So I'm closing this bug.




This bug report was last modified 7 days ago.

Previous Next


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