auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with cal-tex-cursor-month -> reftex-TeX-master-file -> TeX-m


From: Arash Esbati
Subject: Re: problem with cal-tex-cursor-month -> reftex-TeX-master-file -> TeX-master-file
Date: Wed, 24 Jan 2024 09:45:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Mandar Mitra <mandar.mitra@gmail.com> writes:

> When I run cal-tex-cursor-month in calendar mode, I'm supposed to get
> a LaTeX calendar buffer for the month the cursor is on. This works as
> expected with emacs -Q, but in my setup (using auctex), I'm getting a
> "Wrong type argument: stringp, nil" error.

I tried your recipe with my setup and get no error.  I did:

  • Start Emacs with my setup (no -Q)
  • eval'ed (add-hook 'latex-mode-hook #'turn-on-reftex)
  • M-x calendar RET t m

I get a latex buffer which is in LaTeX mode defined in tex-mode.el and
not the mode provided by AUCTeX.  I'm using the latest version for
AUCTeX git repo.

Can you come up with a small recipe starting with emacs -Q?  Maybe that
helps others to reproduce the issue.

Best, Arash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]