I am getting a
max-specdl-size error on only one
.markdown file. I have increased the size via
(setq max-specpdl-size 50000) to test, and I still get the error. This does not happen on any other
.markdown files. I also tested it on
.R files, but it only happens on one particular file.
When I load the file, the file will be enabled without
markdown-mode. However, if if I
revert-buffer this seems to correct itself and the
markdown-mode is re-enabled, but this does not always work either. I followed the advice here, but get a massive debug report (too big for the allowed limit to be posted here).
Any ideas why this is occurring? Please let me know if you need any more info.
This problem only happens when opening a file via
projectile but not
dired or directly form
This seems to be a problem on the contents of this particular file. I have copied the content to a new and renamed file, and still get the same issues. I also started using
imenu-list and it does not provided an outline for this particular file, and reports an error (wrong-type-argment consp 31794). I've tested this file in other editors (
VSCode), and it works fine.
Any ideas are greatly appreciated.
(setq max-specpdl-size 50000) to my
init file and the issue seems to have resolved.