bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62630: 27.1; Emacs is unable to open some jar files


From: Andreas Schwab
Subject: bug#62630: 27.1; Emacs is unable to open some jar files
Date: Mon, 03 Apr 2023 14:58:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

On Apr 03 2023, Eli Zaretskii wrote:

>> From: Steinar Bang <sb@dod.no>
>> Cc: 62630@debbugs.gnu.org
>> Date: Mon, 03 Apr 2023 07:18:42 +0200
>> 
>> >>>>> Eli Zaretskii <eliz@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@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]