Arash Esbati <[email protected]> writes: > Just drop the patch I sent, use the code provided by straight; it is > up-to-date, and you can start testing it without further ado. Just remember > to reset any customizations to `reftex-label-regexps' and > `reftex-label-alist' reg. \lstinputlisting and restart Emacs.
It works, thanks! I said earlier that the problem still persists, but that was due to my own setup. Related: > May I ask why you're leaving straight behind? 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. Best, Rens
