Rens Oliemans <[email protected]> writes: > It works, thanks! I said earlier that the problem still persists, but > that was due to my own setup.
Thanks for your response. Your initial message showed that there was a bug in `reftex-label-regexps', it just took me some time to track it down. Glad to hear that it now works. > I am running NixOS, which has a bit of trouble with building/running arbitrary > executables. Some Emacs packages require this (jinx, vterm, tree-sitter stuff, > etc), so on NixOS you'd install the Emacs packages via the Nix package manager > itself rather than using straight/package. Currently I install problematic > packages via NixOS, and the rest I install via straight.el. > > However, I do note that this sometimes does not work nicely. Emacs gets > reftex-ref.el from > /nix/store/…-emacs-unstable-31.1/share/emacs/31.1/lisp/textmodes/, and > latex.el from ~/.emacs.d/straight/build/auctex/. I'm not sure if this matters, > but it's a bit complicated at times. > > One thing I'd like to try is to use NixOS for *all* packages. This isn't ideal > either: updating a single package isn't trivial, and it means my Emacs > configuration gets somewhat tied to my OS. Anyhow, work in progress, but > that's the low-priority moving away from straight. Thanks. I'm not familiar with NixOS, but from what I read here and questions we had, I think the easiest way to install AUCTeX is via ELPA and built-in package manager. I mean, if people don't need features provided by straight and other advanced package manager, why the hassle, just run `list-packages', choose AUCTeX, install it, case closed. Best, Arash
