From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62630: 27.1; Emacs is unable to open some jar files Date: Mon, 03 Apr 2023 05:27:11 +0300 Message-ID: <838rf9wvi8.fsf@gnu.org> References: <87lejarldj.fsf@dod.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30881"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62630@debbugs.gnu.org To: Steinar Bang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 03 04:27:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pj9ud-0007qd-Il for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Apr 2023 04:27:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pj9uS-0002Gt-S5; Sun, 02 Apr 2023 22:27:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pj9uQ-0002G7-MN for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2023 22:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pj9uQ-0004fM-Ea for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2023 22:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pj9uP-0003oy-Lv for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2023 22:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Apr 2023 02:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62630 X-GNU-PR-Package: emacs Original-Received: via spool by 62630-submit@debbugs.gnu.org id=B62630.168048882114681 (code B ref 62630); Mon, 03 Apr 2023 02:27:01 +0000 Original-Received: (at 62630) by debbugs.gnu.org; 3 Apr 2023 02:27:01 +0000 Original-Received: from localhost ([127.0.0.1]:43026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj9uO-0003oj-HI for submit@debbugs.gnu.org; Sun, 02 Apr 2023 22:27:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj9uM-0003oU-Bw for 62630@debbugs.gnu.org; Sun, 02 Apr 2023 22:26:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pj9uF-0004c8-T9; Sun, 02 Apr 2023 22:26:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Cd+D+sCfqhCAbUPrQR+c8FqZANm3b3cQjSNK6fYudvM=; b=kfj6fi4R2G0f 4DEnglLx8PgWIb5fWU6OHhaUdfgmf5zqznVAyeitNaRK1ebhZpMu/jv3k6P320HZ7iytGIpVz532g H0RUHowod5ojB4UkV/JQPbCgdU8f6JE4LJKQrAh7T8nZ8FeySlcTTSKQezvMj78IyklgN3qwYMY8/ 9ulQbB3i/+ovnkVjsMZ3Ip1zxpnMtV9EllVRTXxJKm/Qun1jhLh1FCB0KPTs7tgbMKHJOenFxQjGc vGGlPEREnmfi2B5PxU70CzEQagScvZD255C/L1ap5Lc0Dowi9IV1yMgM5sXF2kKYDSksPwhYUj0yD 4IhNXvlzVabQIutyBvREIw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pj9uF-00065l-4k; Sun, 02 Apr 2023 22:26:51 -0400 In-Reply-To: <87lejarldj.fsf@dod.no> (message from Steinar Bang on Mon, 03 Apr 2023 00:04:56 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259147 Archived-At: > From: Steinar Bang > 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: #, 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.