GNU bug report logs - #77898
31.0.50; arc-mode: Split PKZIP archive signature not recognized

Previous Next

Package: emacs;

Reported by: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>

Date: Fri, 18 Apr 2025 12:33:03 UTC

Severity: normal

Found in version 31.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77898 <at> debbugs.gnu.org
Subject: Re: bug#77898: 31.0.50; arc-mode: Split PKZIP archive signature not
 recognized
Date: Thu, 24 Apr 2025 23:41:39 +0200
[Message part 1 (text/plain, inline)]
On 2025-04-24  15:09, Eli Zaretskii wrote:

> LGTM, and the tests succeeded on my system, so I've now installed this
> on master, and I'm closing the bug.

Thanks.  Two follow-up nits, not sure whether and how you'd like to
handle them:

- Your windows-nt-specific follow-up commit e38401e7 isn't at all
  windows-nt-specific, as I learned after I noticed it.  On Debian
  GNU/Linux I have both executables "7z" and "7za" available with
  7z(1) saying:

    7z uses plugins to handle archives, so it might be slightly slower than
    7za(1) but can handle more archive formats.

  So using executable "7z" for all ports seems to be TRT.

  (And yes, I have tested using

    (define-arc-mode-test-on-type "7z" '("7z" "a") "7z" '7z)

  on GNU/Linux successfully.)

- And that part of my doc string of macro `define-arc-mode-test-on-type'
  is incorrect:

    "Define and execute a test that tests function `archive-find-type'.
            ^^ wrong ^^

  Since the macro, strictly speaking, only *defines* a test, IIUC.
  Execution happens when command `ert' (or one of its derivatives)
  runs.

Attached is a patch that fixes both of these.  Please let me know what
you think.  Thanks again.
[0001-Fix-previous-arc-mode-test-commit.patch (text/x-patch, attachment)]

This bug report was last modified 24 days ago.

Previous Next


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