doublep / iter2

Reimplementation of Elisp generators
GNU General Public License v3.0
9 stars 3 forks source link

Add to lisp-imenu-generic-expression #6

Closed wyuenho closed 2 years ago

wyuenho commented 2 years ago

So imenu can index iter2-defuns and iter2-lambdas

doublep commented 2 years ago

Idea is fine, but I don't see any type of lambdas in the standard value of lisp-imenu-generic-expression. Should iter2-lambda be added (I don't use Imenu, can't say)?

Also, I understand you just copied relevant piece of Emacs code and adjusted it, but at least purecopy really should be excluded.

wyuenho commented 2 years ago

Ok thanks for catching this. TBH I'm not entirely surely what purecopy is suppose to accomplish here and why that lisp-mode-symbol-regexp is wrapped inside a eval-and-compile. These look like some really old code that were once useful but not anymore.

doublep commented 2 years ago

Thank you.