Open karthink opened 5 months ago
karthink @.***> writes:
Following the discussion in #28 and @yantar92's suggestion, we should rename all the new async functions we've added (that use org-async and will be included in the patch) to have the
-async
suffix.Does this mean we should rename
org-latex-preview-place
toorg-latex-preview-place-async
too? I'm not inclined to make this change since this function is intended to be part of the Emacs-wide API for LaTeX previews. Plus, the workhorseorg-latex-preview--create-image-async
is already named appropriately.
You don't need to. We only need to take care about preserving the behavior of previously defined functions, so that no third-party code is broken. Newly introduced functions are not constrained.
-- Ihor Radchenko // yantar92, Org mode contributor, 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
Newly introduced functions are not constrained.
I understand. The question about renaming org-latex-preview-place
was only to ensure future consistency, not for backwards compatibility.
Following the discussion in #28 and @yantar92's suggestion, we should rename all the new async functions we've added (that use org-async and will be included in the patch) to have the
-async
suffix.Does this mean we should rename
org-latex-preview-place
toorg-latex-preview-place-async
too? I'm not inclined to make this change since this function is intended to be part of the Emacs-wide API for LaTeX previews. Plus, the workhorseorg-latex-preview--create-image-async
is already named appropriately.