> It looks like an oversight to me. I think > org-startup-with-latex-preview should be let-bound to nil around > org-goto-location's call to org-mode. Likewise, I'd say that > org-startup-with-inline-images and org-startup-shrink-all-tables should > be let-bound to nil.
Is there even a need to call the whole (org-mode). The new buffer is an indirect buffer. It should already have org-mode activated (at least, we can check for it and not call (org-mode) unnecessarily). If we just want to reset initial visibility, (org-overview) is already doing the job of (org-set-startup-visibility) from (org-mode). Best, Ihor Kyle Meyer <k...@kyleam.com> writes: > Vladimir Nikishkin writes: > >> Why is it that org-goto enforces the regeneration of previews in a buffer? > > It looks like an oversight to me. I think > org-startup-with-latex-preview should be let-bound to nil around > org-goto-location's call to org-mode. Likewise, I'd say that > org-startup-with-inline-images and org-startup-shrink-all-tables should > be let-bound to nil. > > Assuming nobody chimes in to explain why that's a bad idea, I'll plan to > make those changes tomorrow night. > -- Ihor Radchenko, PhD, Center for Advancing Materials Performance from the Nanoscale (CAMP-nano) State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong University, Xi'an, China Email: yanta...@gmail.com, ihor_radche...@alumni.sutd.edu.sg