From: Eli Zaretskii <eliz@gnu.org>
To: Steinar Bang <sb@dod.no>
Cc: 62630@debbugs.gnu.org
Subject: bug#62630: 27.1; Emacs is unable to open some jar files
Date: Mon, 03 Apr 2023 05:27:11 +0300 [thread overview]
Message-ID: <838rf9wvi8.fsf@gnu.org> (raw)
In-Reply-To: <87lejarldj.fsf@dod.no> (message from Steinar Bang on Mon, 03 Apr 2023 00:04:56 +0200)
> From: Steinar Bang <sb@dod.no>
> Date: Mon, 03 Apr 2023 00:04:56 +0200
>
> When opening some .jar files that I have created with maven-jar-plugin
> 3.2.0, instead of opening the directory listing of the .jar file, the
> following error message is written to the minibuffer:
>
> Args out of range: #<buffer modelstore.services-1.0.0-SNAPSHOT-javadoc.jar>, 329454, 329458
>
> and then the file is opened in a buffer showing the binary contents of
> the file
I cannot reproduce this, neither with Emacs 27.1 nor with what will be
soon Emacs 29.1. I wonder why this happens on your system.
> The archive-zip-summarize function looks for the magic sequence
> "PK\005\006" or "PK\006\007" or "PK\006\006" or "PK\001\002".
>
> But what the problem jar file starts with, is "PK^c^d", which I think is
> "PK\003\004", which is none of the above.
>
> I.e. archive-zip-summarize doesn't recognize the magic number of these
> jar files.
As explained on help-gnu-emacs, your conclusions were incorrect. In
any case, the problem is not reproducible here.
next prev parent reply other threads:[~2023-04-03 2:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-02 22:04 bug#62630: 27.1; Emacs is unable to open some jar files Steinar Bang
2023-04-03 2:27 ` Eli Zaretskii [this message]
2023-04-03 5:18 ` Steinar Bang
2023-04-03 5:51 ` Steinar Bang
2023-04-03 5:58 ` Steinar Bang
2023-04-03 6:27 ` Steinar Bang
2023-04-03 6:55 ` Steinar Bang
2023-04-03 13:52 ` Eli Zaretskii
2023-04-03 18:07 ` Steinar Bang
2023-04-03 18:11 ` Eli Zaretskii
2023-04-03 12:43 ` Eli Zaretskii
2023-04-03 12:58 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=838rf9wvi8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=62630@debbugs.gnu.org \
--cc=sb@dod.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.