-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asy-mode.el: "concat: Symbol’s value as variable is void: LaTeX-verbatim-regexp" on M-x lasy-mode
#418
Comments
A bit of context: I'm on Emacs 30.0.50 and I've downloaded
The second line is for
which I got after fixing the error about Still, I don't know if the mode works as intended. Asymptote code is fontified only if |
Make sure you are using the latest version (from about 3 years ago) of https://raw.githubusercontent.com/vectorgraphics/asymptote/HEAD/base/asy-mode.el The symbol LaTeX-verbatim-regexp is defined on line 1066. |
Hey John, hi! Thanks for Asymptote, I've seen what it can do and I'm very excited to learn it. I have the version you linked. Now I don't get the void variable error for I get five |
I verified that if you open up latexusage.tex with emacs 28.3, execute lasy-mode and scroll down, syntax highlighting of the LaTeX code is suddenly disabled. Perhaps it has always been this way. If you execute lasy-mode again from within an asy block, you get the (void-function turn-on-font-lock-if-enabled) error. Executing lasy-mode repeatedly outside an asy block will give an args out of range error or the LaTeX-verbatim-regexp error. So apparently these issues have nothing to do with changes in Emacs 30. If you manage to fix these issues, a pull request would be welcome. For now, just execute lasy-mode once and all should be well. |
Fixing the issue is outside of my immediate possibilities. What I can do is translate the old |
Hello, I'm trying to set up
asy-mode
following Editing-modes and LaTeX-usage. On doingM-x lasy-mode
inlatexusage.tex
I getconcat: Symbol’s value as variable is void: LaTeX-verbatim-regexp
andlasy-mode
doesn't turn on.The text was updated successfully, but these errors were encountered: