From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#64834: 28.2; Auctex fails to load properly Date: Mon, 24 Jul 2023 18:37:51 +0200 Message-ID: <871qgxckr4.fsf@gnu.org> References: <83v8e9qoex.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23375"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.11.10; emacs 30.0.50 Cc: 64834@debbugs.gnu.org, Roger Lipsett To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 24 18:56:29 2023 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 1qNyrE-0005om-8F for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Jul 2023 18:56:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNyqr-00072L-1m; Mon, 24 Jul 2023 12:56:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNyqp-0006od-2z for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 12:56:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNyqo-0007aN-Pr for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 12:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNyqo-0005Tl-C4 for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 12:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jul 2023 16:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64834 X-GNU-PR-Package: emacs Original-Received: via spool by 64834-submit@debbugs.gnu.org id=B64834.169021773321009 (code B ref 64834); Mon, 24 Jul 2023 16:56:02 +0000 Original-Received: (at 64834) by debbugs.gnu.org; 24 Jul 2023 16:55:33 +0000 Original-Received: from localhost ([127.0.0.1]:43899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNyqK-0005Sl-QB for submit@debbugs.gnu.org; Mon, 24 Jul 2023 12:55:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNyqF-0005SO-1B for 64834@debbugs.gnu.org; Mon, 24 Jul 2023 12:55:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNyq9-0007GQ-IA; Mon, 24 Jul 2023 12:55:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=oPI45FHu45FbsUujIynkDgn2zf13G7ipk0q+vLQuvjA=; b=Ysm8Xi6Wb4fDrg YAxpI9FF1YjrAVDZGrF65jE6ZAt88lJov/4vxddvit7hfFMa9gM5+Mb2LULvOzEUwsUXndFQWHcif dIiwjSRzYMM+fe6Luer0MjreuUACD8FZ+o4zmIy7WzYIQ8jFynW0CVRJA/udhnIgZprnIIcGX/GHl 9Fmv6BxAClIbEd4u6FPxahw3EyE4RDy4W2M9QKSkjqyJ3APacrDhZUu/om9uwYs2EHvlxaYKThNRg YXSHCmPFiKYrXj3Uzk53Kj/S/E69VItMsvBYtbLuI5A8Uz/mnwTxLiaAGobB7rThgfRR8B+TWT1g0 yxyec6M2EmIYih4W0f2w==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNyq4-0006uT-Bd; Mon, 24 Jul 2023 12:55:16 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 343D527C0054; Mon, 24 Jul 2023 12:55:14 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 24 Jul 2023 12:55:14 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrheekgddutdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvvefuffgjkfggtgesthdtredttdertdenucfhrhhomhepvfgrshhs ihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpe dujedtheduvdelffejkeetgedvheelhedvueefhfeukeekkeehvdfggeegffevgfenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnod hmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedv leekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 24 Jul 2023 12:55:13 -0400 (EDT) In-reply-to: <83v8e9qoex.fsf@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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265985 Archived-At: Eli Zaretskii writes: Hi Roger and Eli, >> From: Roger Lipsett >> Date: Mon, 24 Jul 2023 11:08:24 -0400 >> >> I recently switched from an Intel Mac to an Apple Silicon mac, and >> Auctex no longer loads properly. How did you switch? Especially, did you copy over ~/.emacs.d/elpa/? >> If I start an emacs server, set debug-on-error to t, and try to load >> a .tex file, I get the following, and the first line below continues >> until I get the message "error lisp nesting exceeds >> 'max-lisp-eval-depth'". >> >> internal--fill-string-single-line("Use the command `TeX-Omega-mode' to change this va...") >> internal--fill-string-single-line("Use the command `TeX-Omega-mode' to change this va...") >> internal--fill-string-single-line("Use the command `TeX-Omega-mode' to change this va...") >> internal--format-docstring-line("Use the command `%s' to change this variable." TeX-Omega-mode) >> #f(compiled-function (arg1 arg2 &rest rest) "Define a new minor mode MODE.\nThis defines the I cannot reproduce that. I've tried emacs 28.2 with auctex 13.2.1 (on GNU/Linux) from ELPA with a sample TeX file also declaring TeX-engine: omega as a file local property. The (obsolete) TeX-Omega-mode is properly activated. >> If I also set debug-on-signal and try to byte-compile tex.el, which is >> where the previous error seemed to occur, I get the following: >> >> Debugger entered--Lisp error: (void-variable ansi-color-faces-vector) >> default-toplevel-value(ansi-color-faces-vector) >> custom-initialize-reset(ansi-color-faces-vector (funcall #'#f(compiled-function () #> 0x1ca1c2cd84e54>))) That also works fine for me... Do you also get that error when starting a fresh emacs and evaluating (require 'ansi-color) in *scratch* or M-:? Actually, ansi-color-faces-vector does exist in emacs 28.2 though it is obsolete. Do you use that variable somewhere in your configuration? It looks a bit like you would use it without requiring ansi-color first... >> In GNU Emacs 28.2 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build >> 21A559)) >> of 2023-02-22 built on armbob.lan >> Windowing system distributor 'Apple', version 10.3.2299 >> System Description: macOS 13.4 It's hard to tell what's wrong here. I'd start by looking at the output of M-x list-load-path-shadows RET to check if there are obsolete elisp files on the load-path. If there aren't, I'd try nuking ~/.emacs.d/elpa/ and reinstalling the packages anew so that they are byte-compiled again (with emacs 29.1, there's a package-recompile-all command making that much easier). Bye, Tassilo