From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.auctex.devel,gmane.emacs.devel Subject: Re: Emacs 31 (git@Head) and Auctex (installed via package.el) Date: Mon, 22 Jul 2024 19:47:10 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27120"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: auctex-devel@gnu.org, emacs-devel@gnu.org To: "T.V Raman" Original-X-From: auctex-devel-bounces+gead-auctex-devel=m.gmane-mx.org@gnu.org Mon Jul 22 19:47:52 2024 Return-path: Envelope-to: gead-auctex-devel@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 1sVx8Z-0006qH-Lr for gead-auctex-devel@m.gmane-mx.org; Mon, 22 Jul 2024 19:47:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVx87-0001qj-QZ; Mon, 22 Jul 2024 13:47:23 -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 1sVx81-0001PT-02; Mon, 22 Jul 2024 13:47:18 -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 1sVx7y-00017R-V9; Mon, 22 Jul 2024 13:47:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=OdChQ/6iVtDc9wNs2mqYiLMFUaBCkwjjbFUne26w/J8=; b=otURO/NBRYSSYG1VRsH7 eNkJ0GtyvfS1DKkl71GFQq/Uzl6KTlczWXuHlEl4X4pZu/lqSSiAHyokDU40y8BQbWKiJpVm+q0Rk LrSkEz8j0aEuB/hC06H1Ckj2ObWTBtxjA8B3UH9t0wwBjnLVlCYBr/QaqOVmZZOYq5eS4KNfUdlP5 Jihio63R/8RA4OoShZPleH6cs09lpw5HtV7zK5EKiQYXTxn/+xGCblvzoNHcYMtr80imVO4IaAstD uQj7yVekN6cBq/bEAL1ivdlaHAwuVFGSuIA5ri1TWcWreJhabiEXdOI17GurdnsEhXMjAH//JNIxf h/WuFYB7Ec1yeQ==; In-Reply-To: (T. V. Raman's message of "Mon, 22 Jul 2024 07:39:26 -0700") X-BeenThere: auctex-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AUCTeX developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: auctex-devel-bounces+gead-auctex-devel=m.gmane-mx.org@gnu.org Original-Sender: auctex-devel-bounces+gead-auctex-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.auctex.devel:7835 gmane.emacs.devel:321952 Archived-At: "T.V Raman" writes: > 1. Running Emacs 31 build from latest Git @HEAD > 2. auctex "14.0.6" installed via package.el > 3. I have package-initialize in my init and do not do anything else as > recommended by the auctex docs to install. > > When Emacs starts: > > 1. (featurep 'tex-site) =3D=3Dt > > 2. tex-mode and latex-mode come from the built-in Emacs tex mode > > 3. tex.el from auctex is not yet loaded. > > 4. LaTeX docs start off in latex-mode (emacs builtin) -- not the > Auctex LaTeX-mode > > 5. It's all very confusing. > > Auctex sanity gets restored if I explicitly call M-x LaTeX-mode > after opening a LaTeX file. Wild guess: What's the value of `TeX-modes' in the setup above? ,----[ C-h v TeX-modes RET ] | TeX-modes is a variable defined in =E2=80=98tex-site.el=E2=80=99. |=20 | Its value is | (tex-mode plain-tex-mode texinfo-mode latex-mode doctex-mode) |=20 | List of built-in TeX modes redirected to AUCTeX modes. |=20 | This variable can=E2=80=99t be set normally; use customize for that, or | set it with =E2=80=98TeX-modes-set=E2=80=99. `---- If that variable has sane values, then please do: =E2=80=A2 emacs -Q =E2=80=A2 eval: (progn (package-initialize t) (package-activate 'auctex)) and open a .tex file. If that works as expected, your AUCTeX installation should work and we have to look somewhere else. HTH. Best, Arash