From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#53678: 29.0.50; Invalid read syntax: "#<" for package install in Windows Date: Tue, 1 Feb 2022 20:15:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16134"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53678@debbugs.gnu.org To: Shuguang Sun Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 01 23:49:10 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 1nF1xW-00043H-Eb for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 23:49:10 +0100 Original-Received: from localhost ([::1]:44450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF1xV-0007UJ-Dy for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 17:49:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEzZf-0000sF-4t for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 15:16:24 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEzZK-0000Sl-8i for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 15:16:11 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEzZK-0001jo-4v for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 15:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Feb 2022 20:16: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.16437465576661 (code B ref 53678); Tue, 01 Feb 2022 20:16:02 +0000 Original-Received: (at 53678) by debbugs.gnu.org; 1 Feb 2022 20:15:57 +0000 Original-Received: from localhost ([127.0.0.1]:44233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEzZE-0001jN-T2 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 15:15:57 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:20852 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1nEzZD-0001jA-QR for 53678@debbugs.gnu.org; Tue, 01 Feb 2022 15:15:56 -0500 Original-Received: (qmail 58520 invoked by uid 3782); 1 Feb 2022 20:15:48 -0000 Original-Received: from acm.muc.de (p4fe1570f.dip0.t-ipconnect.de [79.225.87.15]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 01 Feb 2022 21:15:48 +0100 Original-Received: (qmail 25850 invoked by uid 1000); 1 Feb 2022 20:15:48 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:225764 Archived-At: Hello, Shuguang. On Tue, Feb 01, 2022 at 13:32:11 +0800, Shuguang Sun wrote: > Hi, > 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. "#<" looks like the start of a symbol with position, something like "#" which is being returned by the reader recently when invoked from the byte compiler. The new mechanism for compilation warning positions was merged into the Emacs master on Saturday 2022-01-22, which matches up pretty well with your "since about two weeks ago, ...". > 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`. > Best Regards, > Shuguang Sun > In GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) > of 2022-01-31 built on YJ190169-SSG > Repository revision: 04f9c3b8df6afaf1e9de9f2a4478f63fd959bf09 > Repository branch: master > Windowing system distributor 'Microsoft Corp.', version 10.0.19044 > System Description: Microsoft Windows 10 Pro (v10.0.2009.19044.1466) > Configured using: > 'configure --without-pop --with-native-image-api > --with-native-compilation --without-compress-install > '--program-transform-name=s/^ctags$/ctags.emacs/'' > Configured features: > ACL DBUS GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES > NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF > TOOLKIT_SCROLL_BARS WEBP XPM ZLIB > Important settings: > value of $LANG: CHS > locale-coding-system: cp936 -- Alan Mackenzie (Nuremberg, Germany).