From: Andreas Schwab <schwab@suse.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 62630@debbugs.gnu.org, Steinar Bang <sb@dod.no>
Subject: bug#62630: 27.1; Emacs is unable to open some jar files
Date: Mon, 03 Apr 2023 14:58:41 +0200 [thread overview]
Message-ID: <mvmedp1qfzy.fsf@suse.de> (raw)
In-Reply-To: <834jpxw2zr.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 03 Apr 2023 15:43:04 +0300")
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."
prev parent reply other threads:[~2023-04-03 12:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-02 22:04 bug#62630: 27.1; Emacs is unable to open some jar files Steinar Bang
2023-04-03 2:27 ` Eli Zaretskii
2023-04-03 5:18 ` Steinar Bang
2023-04-03 5:51 ` Steinar Bang
2023-04-03 5:58 ` Steinar Bang
2023-04-03 6:27 ` Steinar Bang
2023-04-03 6:55 ` Steinar Bang
2023-04-03 13:52 ` Eli Zaretskii
2023-04-03 18:07 ` Steinar Bang
2023-04-03 18:11 ` Eli Zaretskii
2023-04-03 12:43 ` Eli Zaretskii
2023-04-03 12:58 ` Andreas Schwab [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mvmedp1qfzy.fsf@suse.de \
--to=schwab@suse.de \
--cc=62630@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=sb@dod.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.