From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help Subject: Re: jar files won't open in emacs 27.1 on debian 11.6 "bullseye" Date: Sun, 02 Apr 2023 20:59:36 +0200 Message-ID: <87a5zqkt47.fsf@dod.no> References: <87o7o6lshs.fsf@dod.no> <83y1nawysz.fsf@gnu.org> <87edp2l41z.fsf@dod.no> <83pm8mwc65.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37805"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 02 21:00:26 2023 Return-path: Envelope-to: geh-help-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 1pj2wC-0009gE-Vo for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 02 Apr 2023 21:00:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pj2vc-0003XA-Lv; Sun, 02 Apr 2023 14:59:48 -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 1pj2vX-0003Ww-D5 for help-gnu-emacs@gnu.org; Sun, 02 Apr 2023 14:59:43 -0400 Original-Received: from cadalora.bang.priv.no ([46.43.15.90]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pj2vU-000150-MH for help-gnu-emacs@gnu.org; Sun, 02 Apr 2023 14:59:42 -0400 Original-Received: from marquez (unknown [84.210.69.52]) by cadalora.bang.priv.no (Postfix) with ESMTPSA id 131DF1046E1 for ; Sun, 2 Apr 2023 19:59:37 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dod.no; s=sb; t=1680461977; bh=3sUuWbYYTQwcI9wrsHeNeQTzBZTHFzw5hMtNSRVJ2JU=; h=From:To:Subject:References:Date:In-Reply-To:From; b=xF+/31orPMmns6MWu1lDwSNtsZt+Ky/4Vzj/BVjbtVYx+HwkFlLok4Xze1yXvkKac ZjevC+fzKTiFlQMoAIGjTGQ0JDGLUqNLRDpvnAsnMhv3UCCH0ylXi83vCuXzrX6kFo +s6+eHEs1ATeTRMPtR9456ZsgxlLo1DRM26Th/1w= In-Reply-To: <83pm8mwc65.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 02 Apr 2023 18:12:34 +0300") Received-SPF: none client-ip=46.43.15.90; envelope-from=sb@dod.no; helo=cadalora.bang.priv.no X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143198 Archived-At: >>>>> Eli Zaretskii : > You need to "M-x load-file RET arc-mode.el.gz RET" before "C-u M-x" of > the function. The Emacs will stop in the function. Ok, archive-zip-summarize looks for the magic sequence "PK\005\006" or "PK\006\007" or "PK\006\006" or "PK\001\002". But what this jar file starts with, is "PK^c^d", which I think is "PK\003\004", which is non of the above. I.e. archive-zip-summarize doesn't recognize the magic number of these jar files.