New answers tagged

1 vote

How to perform incremental search inside math environments in tex/latex documents

I have written a function to temporarily set the value of isearch-filter-predicate (it works with query-replace* functions too): ;; From AUCTeX, but it works as a standalone too: (require 'texmathp) (...
Gabriele Nicolardi's user avatar
0 votes

AUCtex buttons not working

I don't know what's your problem but you could try to force the setting of Tex-engine, in your .emacs, this way: (add-hook 'LaTeX-mode-hook #'(lambda () (setq TeX-engine '...
Gabriele Nicolardi's user avatar
1 vote
Accepted

Auctex 14.0.2 returns errors on (wrong-type-argument number-or-marker-p nil) in run-hooks when opening tex files

My psychic debugger is not the most reliable at the best of times, but my guess is that you are using an unreleased version of Auctex from the git repository, and that it now depends on Emacs 29. Try ...
db48x's user avatar
  • 17.7k
0 votes

Determining AUCTeX Activation in Emacs Buffer: Major Mode Detection Issue

You can try to run advice-member-p and test for the advice on latex-mode: advice-member-p is a native-compiled Lisp function in ‘nadvice.el’. (advice-member-p ADVICE SYMBOL) Return non-nil if ADVICE ...
Arash Esbati's user avatar
  • 1,945
2 votes

Determining AUCTeX Activation in Emacs Buffer: Major Mode Detection Issue

From mode-line-format we find that the "LaTeX/P" in the mode-line is configured via mode-line-modes. From there we find that "LaTeX/P" is simply the value of mode-name so you could ...
dalanicolai's user avatar
  • 7,785
1 vote

How to install AUCTeX on Emacs without automatic activation for LaTeX (.tex) files?

I followed the Arash Esbati answer and I noticed that the variable Tex-modes: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so ...
Gabriele Nicolardi's user avatar
3 votes
Accepted

How to install AUCTeX on Emacs without automatic activation for LaTeX (.tex) files?

From the manual: 1.2.4 Loading the package [...] Once activated, the modes provided by AUCTeX are used per default for all supported file types. If you want to change the modes for which it is ...
Arash Esbati's user avatar
  • 1,945

Top 50 recent answers are included