GNU bug report logs -
#62630
27.1; Emacs is unable to open some jar files
Previous Next
Reported by: Steinar Bang <sb <at> dod.no>
Date: Sun, 2 Apr 2023 22:08:02 UTC
Severity: normal
Found in version 27.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Apr 03 2023, Eli Zaretskii wrote:
>> From: Steinar Bang <sb <at> dod.no>
>> Cc: 62630 <at> debbugs.gnu.org
>> Date: Mon, 03 Apr 2023 07:18:42 +0200
>>
>> >>>>> Eli Zaretskii <eliz <at> gnu.org>:
>>
>> > 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.
>>
>> Here is the complete stack trace I get when hitting this problem:
>> https://gist.github.com/steinarb/234cf172c214b26b33ee92a4e5b5afd1
>
> Note this part:
>
> revert-buffer-with-coding-system(utf-8-unix)
> editorconfig-set-coding-system-revert("lf" "utf-8")
> editorconfig-apply()
> editorconfig-mode-apply()
> run-hooks(change-major-mode-after-body-hook after-change-major-mode-hook)
>
> This is probably the root cause: that editorconfig package forced
> Emacs to visit the archive using UTF-8 encoding, which is a bad idea,
> since ZIP archives must be visited without any coding conversions, as
> raw bytes.
editorconfig should probably refuse to process buffers where mode-class
is special.
--
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
This bug report was last modified 2 years and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.