Subject: bug#56185: 29.0.50; imenu with imenu-use-popup-menu fails for *Rescan* item

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 24 Jun 2022 15:12:29 +0200

Visuwesh <[email-masked]> writes:

> Thanks, it works now but now I'm wondering if the change will pollute
> the obarray?

Yes, but we usually don't care much about that.  All menus "pollute" the
obarray.

> Also can `intern' fail at any point because imenu is also
> used by text-modes like org-mode whose heading can have any ol'
> character---a quick test in an org file seems to have no problem
> however, but I'm interested to know regardless.

No, you can intern any string.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no