Charles B. Cameron <[email protected]> writes: > I have created two key bindings for swapping back and forth between org > mode and LaTeX mode. I use C-c s t to activate LaTeX-mode and I use C-c > s o to activate org-mode. The bug arose when I tried to reactivate org > mode. > ... > The error only seems to arise when I invoke C-c s o with point in > certain positions. When it is in front of this row: > > * Completing the Square (Part 1) > > I can toggle back and forth with C-c s t and C-c s o without error. But > with point at the end of the file, the error arises when I invoke C-c s > o. As nearly as I can tell, it occurs whenever point is at or following > the character 'a' in this line: > > 0 &= a x^2 + b x + c \\ > > and I invoke the C-c s o key binding.
Sorry for the late reply. I tried to reproduce the error from emacs -Q, but I never see it on my side. Could you please provide the file as an attachment and give detailed instructions starting from emacs -Q? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
