Skip to content

LaTeX-mode does not automatically initialize when opening a .tex file #8191

@variemai

Description

@variemai

I confirm that...

  • I have searched the issue tracker, documentation, FAQ, Discourse, and Google, in case this issue has already been reported/resolved.

  • I have read "How to Debug Issues", and will use it to provide as much information about this issue as possible.

  • The issue can be reproduced on the latest available commit of Doom.

  • The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. (Unstable versions end in .50, .60, or .9x)

Expected behavior

Opening a .tex file should initialize the AUCTEX major mode LaTeX-mode.

Current behavior

Opening a .tex file DOES NOT initialize the LaTeX-mode instead it defaults to the latex-mode.

This behavior can be fixed by explicitly setting in the doom config file:

(add-to-list 'auto-mode-alist '("\\.tex\\'" . LaTeX-mode))

However, it used to work without explicitly setting it.

Steps to reproduce

  1. Run Emacs
  2. Open a .tex file

System Information

https://pastebin.com/98CdELJv

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:regressionA bug introduced in a recent and unreleased changemodule:coreRelevant to Doom coremodule:lang/latexPertains to Doom's :lang latex module

    Type

    No type

    Projects

    Status

    Resolved

    Status

    Resolved

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions