> Note how variable name length did not change in the above.
>
>> + Workaround 2: Maybe the ambiguity is fine?
>
> I think that longer variable names are not *that* much of a big
> deal. They are no worse than what you had until now.
That's true. I was just wondering if I can get away with shorter names. I'll
stick to using the -mode prefix.
>> + Workaround 1: Maybe it can apply to M-x org-latex-preview as well? This
>> way
>> is more consistent, but we lose the ability to manually preview certain
>> environments without also auto-previewing them. I am leaning towards
>> this approach.
>
> While applying these customizations globally might have its merits, I'd
> like to point out that you are trying to fix variable name length by
> adding features. Are you sure that it is so important? Especially given
> that we are trying to avoid falling into adding new features.
I didn't start out with this idea, but it does seem like a useful feature to
allow previewing to be disabled for certain environment types. "figure" is an
example -- previewing it with dvisvgm (the default) will almost always fail.
(Normally previewing \begin{figure}...\end{figure} is avoided by using org
links instead or by placing the figure environment in an export latex block.)
I'll circle back to this after org-latex-preview is merged.
I'll make the naming changes some time this week, after Timothy takes a look at
the suggestions.
Karthik