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.help Subject: Re: jar files won't open in emacs 27.1 on debian 11.6 "bullseye" Date: Sun, 02 Apr 2023 18:12:34 +0300 Message-ID: <83pm8mwc65.fsf@gnu.org> References: <87o7o6lshs.fsf@dod.no> <83y1nawysz.fsf@gnu.org> <87edp2l41z.fsf@dod.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37603"; mail-complaints-to="usenet@ciao.gmane.io" 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 17:12:49 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 1pizNx-0009Zz-2T for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 02 Apr 2023 17:12:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pizNT-0002F9-9Y; Sun, 02 Apr 2023 11:12:19 -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 1pizNR-0002F0-1u for help-gnu-emacs@gnu.org; Sun, 02 Apr 2023 11:12:17 -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 1pizNQ-0007un-Gp for help-gnu-emacs@gnu.org; Sun, 02 Apr 2023 11:12:16 -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=XuszTG/CDtESmCfPkRbEjK4uYOc5nKN3EMKL6mww4Yw=; b=U9oA/nnm2D6U bwuC74Cv++vqf2tCuONVJF77gENeABbrQsTfMfapzlr05VODTZ6e2FcC1QMidrrtMniqKf0tF4SaA OetJIclgGmol7Ffkxa916ikyhOATrvoo4EQ9/gZQOJpIx3fkYeIcljHr0kzKIRLvfIK90NWKyU7LP qLFSFKNQtRKRhN25jUyQldQY0Alvi7ZP74FDHoMw2mI8kMsQzPqZm/KheDORSiZH8B7OZK+LvcxkL pztJIfln09uBThJVfKo7N27U+6rO/EXxmKq2BHyPmnChy8rNjue3Y+vq2rOyS4JS5S3HFh1zgIgoL X6eAmU+1GikdmhmCmQBV6Q==; 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 1pizNP-0003pI-Ne for help-gnu-emacs@gnu.org; Sun, 02 Apr 2023 11:12:16 -0400 In-Reply-To: <87edp2l41z.fsf@dod.no> (message from Steinar Bang on Sun, 02 Apr 2023 17:03:20 +0200) 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:143195 Archived-At: > From: Steinar Bang > Date: Sun, 02 Apr 2023 17:03:20 +0200 > > > Step with Edebug through arc-mode.el and see why it signals the error? > > It is possible that the jar file you tried uses some extensions of the > > ZIP format which were not yet supported in Emacs 27, so perhaps try > > with a later version of Emacs. > > no luck with edebug so far. > > I first did (setq debug-on-error t) in a fresh emacs and got the > following stack trace from attempting to open the javadoc file: > https://gist.github.com/steinarb/234cf172c214b26b33ee92a4e5b5afd1 > and found archive-zip-summarize which looks promising (and is in > arc-mode.el) > > Then I opened a new fresh emacs and openet /usr/share/emacs/27.1/lisp/arc-mode.el.gz > and but the cursor over archive-zip-summarize and did 'C-u C-M-x' > > Then I tried opening the javadoc.jar but, unfortunately it didn't stop > in archive-zip-summarize > > Not sure what more to do to make the code stop in the debugger (I have > skimmed the edebug docs to get this far). 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.