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.bugs Subject: bug#53678: 29.0.50; Invalid read syntax: "#<" for package install in Windows Date: Tue, 01 Feb 2022 17:00:34 +0200 Message-ID: <83wnie7ht9.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1167"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53678@debbugs.gnu.org To: Shuguang Sun , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 01 18:18:38 2022 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 1nEwnd-00009K-3S for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 18:18:37 +0100 Original-Received: from localhost ([::1]:49374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEwnb-0002yo-NU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 12:18:35 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEueU-00037C-OY for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 10:01:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50804) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEueU-0004zp-AV for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 10:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEueU-0005PG-6h for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 10:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Feb 2022 15:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53678 X-GNU-PR-Package: emacs Original-Received: via spool by 53678-submit@debbugs.gnu.org id=B53678.164372765020754 (code B ref 53678); Tue, 01 Feb 2022 15:01:02 +0000 Original-Received: (at 53678) by debbugs.gnu.org; 1 Feb 2022 15:00:50 +0000 Original-Received: from localhost ([127.0.0.1]:43707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEueI-0005Og-3u for submit@debbugs.gnu.org; Tue, 01 Feb 2022 10:00:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEueH-0005OQ-7b for 53678@debbugs.gnu.org; Tue, 01 Feb 2022 10:00:49 -0500 Original-Received: from [2001:470:142:3::e] (port=42766 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEue2-0004qV-Je; Tue, 01 Feb 2022 10:00:42 -0500 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=i5rhLFVw/WbpCrk5/VDvDUgF6VHFfOTjr2EaTq+v10k=; b=ha/qpHEaV813 rq+H1gZARa4OpaUv+xrjBsUQm1en1iy7CSmAzMtgp/7EaehnaYb43d2F3e9MO+xFj4lRz8d03p5KU kgi9Yiii2NVY/99bBoo0eo8EpOXcRrjQtkcFT05I4MKnTTDEzf+omWZr1ZKD4YbmOr/Rg1YXaDMtY asxj2qM+TCYleMk8xF3VqPui4CkmsnVkcAwdBML15kOlmB5Uuo72UtgdzJmTaZODVw4gWX/pKSv77 tiZ0UwcPAOKacb1vF/Iq+3q32Ek21PYNGoFRggO5+mWWR/d9cb/+muxdFfX08DQGKlVm7NkauRpPT UHaGd/b0aAO10IbAVqBGaQ==; Original-Received: from [87.69.77.57] (port=3778 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 1nEue2-0008B6-3A; Tue, 01 Feb 2022 10:00:34 -0500 In-Reply-To: (bug-gnu-emacs@gnu.org) 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" Xref: news.gmane.io gmane.emacs.bugs:225753 Archived-At: > Date: Tue, 01 Feb 2022 13:32:11 +0800 > From: Shuguang Sun via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > When I try to install packages from the Package Menu or the command of > package-install since about two weeks ago, it reports the error: > ``` > error in process sentinel: async-when-done: Invalid read syntax: "#<" > error in process sentinel: Invalid read syntax: "#<" > ``` > And it seems not preventing the installation process but stops the emacs > to compile the el files to elc. > > FYI. I failed to find out what makes it. It looks like the local variable in > the autoloads file generated by the package process. It add > `;; coding: utf-8-emacs-unix`, however, in windows, the file is probablly > in a coding of utf-8-emacs-dos. When I try to open the autoload file, > Emacs can't regonize the major mode which assumes to be `emacs-lisp-mode`. > Unless I change the `;; coding: utf-8-emacs-unix` to > `;; coding: utf-8-emacs`, it can be open in the `emacs-lisp-mode`. Stefan, any thoughts?