Open weiyaw opened 2 months ago
Update: I can't reproduce this issue on my other machine running Emacs 29.2 on the same macOS 14.4.1.
That's odd, since Emacs 29.3 is only a bug-fix release with security patches: https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29
Is it possible that there is some other environment difference between those two machines? For example, perhaps a different default shell in the environment that leads Emacs to assume different quoting rules would be correct?
That's a possibility, but unfortunately I'm relatively new to Emacs and not sure which button to push to get the right diagnostics. Is there any debugging tools that shows the shell being used?
I'm also using doomemacs: https://github.com/doomemacs/doomemacs and the work branch of this Mac port of Emacs: https://bitbucket.org/mituharu/emacs-mac/src/work/ so this could be an issue specific to this particular port of Emacs.
Currently the command for
latexindent
formatter is(latexindent . ("latexindent" "--logfile=/dev/null"))
. Apparently this results in an incorrect parsing of the command, as a backslash is being added before=
when running the command.However, adding two backslash before
=
, i.e.("latexindent" "--logfile\\=/dev/null")
fix the issue. I'm not sure if this issue only shows up in macOS/zsh though.Running Emacs 29.3 on macOS 14.4.1.