From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Shuguang Sun via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53678: 29.0.50; Invalid read syntax: "#<" for package install in Windows Date: Tue, 01 Feb 2022 13:32:11 +0800 Message-ID: Reply-To: Shuguang Sun Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27725"; mail-complaints-to="usenet@ciao.gmane.io" To: 53678@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 01 06:52:12 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 1nEm5M-00074H-2o for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 06:52:12 +0100 Original-Received: from localhost ([::1]:45282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEm5K-0007KD-63 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 00:52:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEm2I-0007IH-MQ for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 00:49:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEm2H-0001DR-TY for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 00:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEm2H-0005xS-PC for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 00:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Shuguang Sun Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Feb 2022 05:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53678 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164369450722847 (code B ref -1); Tue, 01 Feb 2022 05:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Feb 2022 05:48:27 +0000 Original-Received: from localhost ([127.0.0.1]:41507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEm1j-0005wR-1m for submit@debbugs.gnu.org; Tue, 01 Feb 2022 00:48:27 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:47344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEm1f-0005wG-Kv for submit@debbugs.gnu.org; Tue, 01 Feb 2022 00:48:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEm1f-0007Do-DG for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 00:48:23 -0500 Original-Received: from out203-205-221-209.mail.qq.com ([203.205.221.209]:59303) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEm1F-00019z-Ju for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 00:48:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1643694465; bh=LiTjq/cuIWxBpc9Pqoa5V4ZoQhGUuqt/Q6jeXLb/v3M=; h=From:To:Subject:Date; b=fxT+uEOi8RC4f/YRH5aU1mwnyXCU/INxxfQAEDY7S4hKz5aZ/PSbjkcnnO2TCEZi+ ZU43LEgR27FphOTEvfAoHYRi20GsW/OUshTcpsR/9+ypkUshhKMiBlL3Pu3TX4DOoY ZKJvrAnoOiJ70GprYHUBOmwvvfIX4f0Q1fpkmmcw= Original-Received: from yj190169-SSG ([101.88.15.77]) by newxmesmtplogicsvrsza5.qq.com (NewEsmtp) with SMTP id 80E2B46E; Tue, 01 Feb 2022 13:32:14 +0800 X-QQ-mid: xmsmtpt1643693534to44pij8f X-QQ-XMAILINFO: MntsAqBg2ZZ5bNHoUvKTiyqu1V3nZpSJhjc1BIFI+qgIr8TGoqXmfKCcHtOtbR 9kDgw9JvRNtnNEbySECwldn3cTzFtqlvlD3y4FTnLkhdz8RttRjVma+CEqjwMi2LFOCPKCk/XU+V Fa1jvzZfu74y1MTcTt7yaDDTkEiFSee1AKQzQtJt7Z0QYDxpPFhzE46rUbP/gSSHm4IoaEjMfaTf m1qLGQp3N2YKxwvoh0OSVaUy+RGHIRDDAYM/zeNM+K0jtWcMT8hMePVNuDk3237MjYvNkWOla0CZ EEpE4xPx9nOqZpq0hv/5XlAqcB2+pLfliGKALB2DfemT+f3Up/ZedR2mGbeFLoYerBc5Oz4mSkDi ufKqFlwVb1p2yU3hC6T++eWhXzBSbBfwBWjpuAwCpy/oaCgl3tTkvC0eBsUwZhDcG7IHooq/h6lp LBU5li8Vh4rQq9Z1vCTDUJxDmlEawsBHgFaety9QSfg8kyXKS8zHpqHzOZ+rz/yUrmMoHMp/++o7 es89/fURXSvDPRL9pP+RWH2dBZoD6q0d+jJ0jtq+jSyQMgaWlLJz74Hdq60++9RPoj2a6aS7S90u E8E4UbYVI1PgmaReFOy7Ih9w4gC5jONWtyqbK+yI7E2gZIMZ6cpgbmlYRKXEpfrrEJX5slyDXiDS UyOgiFcqtCZ+VPZrx2+v+vzCMdham1ZhCeDw0X0ZVvvTDa64Qe3ev6GfxjD/YFTQgu/0qGIUOK+z T1sgwjAiuGhJThkmaQsn16mngnX27KkOI0ER/fmu5jT30bYkjDFBKK8K2R/iVOPaeZR5aYe86gnD VAOFPnJ2/3+zQIWgkMKoGiWx7eabgI4I6QGsE4uK Original-Message-ID: Received-SPF: pass client-ip=203.205.221.209; envelope-from=shuguang79@qq.com; helo=out203-205-221-209.mail.qq.com X-Spam_score_int: 11 X-Spam_score: 1.1 X-Spam_bar: + X-Spam_report: (1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:225740 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. 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