Juri Linkov <j...@linkov.net> writes: >> It shouldn't be needed here at all, but in case anyone's thinking >> about it, please avoid messing with imenu's internal representation of >> hierarchies as that structure is relied upon by many extensions (not just >> mine, but several others). Even certain things supported by certain >> imenu-presenting frontends (like "special elements") are not supported by >> other frontends. It's a bit of a mess. The symbols holding/describing >> this representation (imenu--index-alist, maybe others) are incorrectly >> named '--' but they are most definitely externally visible and used >> customization points. > > Indeed, it's unfortunate that imenu--make-index-alist and imenu--index-alist > are named as internal.
Should they be renamed to `imenu-make-index-alist' and `imenu-index-alist' then? -- 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>