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.bugs Subject: bug#62630: 27.1; Emacs is unable to open some jar files Date: Mon, 03 Apr 2023 08:27:32 +0200 Message-ID: <87a5zpjx9n.fsf@dod.no> References: <87lejarldj.fsf@dod.no> <838rf9wvi8.fsf@gnu.org> <87mt3pk0gd.fsf@dod.no> <87iledjyy5.fsf@dod.no> <87edp1jym1.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26402"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: 62630@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 03 08:28:24 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 1pjDfz-0006cf-Ru for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Apr 2023 08:28:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjDfi-0008Mo-Pa; Mon, 03 Apr 2023 02:28:06 -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 1pjDfg-0008MR-GL for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 02:28:04 -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 1pjDfe-0002HD-AV for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 02:28:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pjDfd-0002YB-Sk for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 02:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Steinar Bang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Apr 2023 06:28: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.16805032669778 (code B ref 62630); Mon, 03 Apr 2023 06:28:01 +0000 Original-Received: (at 62630) by debbugs.gnu.org; 3 Apr 2023 06:27:46 +0000 Original-Received: from localhost ([127.0.0.1]:43219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjDfO-0002Xd-0N for submit@debbugs.gnu.org; Mon, 03 Apr 2023 02:27:46 -0400 Original-Received: from cadalora.bang.priv.no ([46.43.15.90]:39188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjDfJ-0002XJ-H1 for 62630@debbugs.gnu.org; Mon, 03 Apr 2023 02:27:44 -0400 Original-Received: from marquez (unknown [84.210.69.52]) by cadalora.bang.priv.no (Postfix) with ESMTPSA id 67A1A1046E1; Mon, 3 Apr 2023 07:27:35 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dod.no; s=sb; t=1680503255; bh=AFfLfg6+fZkWM0rISg82XWjNj2TXeFi23u/9FyZnFK4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=up2u84USsDDwOPKTQ3WVDl4G4pdHcuaZjlV5/cPksA+Po8bXJSNfpW3yusg/VoiW3 JozhbcyxvZhwaZ0Os7Y4nwxVxVZ8sOXDBqA6NkJIYIGfxQuukb4TvGcKnoFLFNPmWQ iq/GEon5wnC5sWHLFNI1xdc/1is4hWkWTjcFFGyo= In-Reply-To: <87edp1jym1.fsf@dod.no> (Steinar Bang's message of "Mon, 03 Apr 2023 07:58:30 +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:259155 Archived-At: >>>>> Steinar Bang : >>>> 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. >> Could it be something in my config? I will investigate this next. > "emacs -Q" are able to open both of these files > https://www.bang.priv.no/screenshots/Screenshot%20at%202023-04-03%2007-54-54.png > So this is something in my config, and this bug can be closed as not a > bug in emacs. > I will track down the offending config and report back both on this bug > and the thread on emacs help. The offending config was the following in my ~/.emacs: ;; editorconfig formatting support ;;;================================ (when (locate-library "editorconfig") (editorconfig-mode 1)) editorconfig is a minor mode that makes emacs respect formatting settings found in .editorconfig files at the top of projects, making emacs respect the same formatting settings as e.g. IntelliJ IDEA and Eclipse. https://github.com/editorconfig/editorconfig-emacs And all of the projects that contains .jar files that have failed to open correctly have .editorconfig files on the top. Removing the .editorconfig file on the top of the project with the failing jar files removed the problem. I bisected the .editorconfig file and found that the offending line was: https://github.com/steinarb/modelstore/blob/master/.editorconfig#L7 I.e: charset = utf-8