Tom Tromey writes: > Consider this pared-down but relatively normal js file: > > ================================================================ > function StyleSheetEditor(styleSheet, win, file, isNew, walker, highlighter) { > } > StyleSheetEditor.prototype = { > get unsaved() { > }, > updateLinkedStyleSheet: function () { > }, > checkLinkedFileForChanges: function () { > this.unsaved().updateLinkedStyleSheet(); > }, > } > ================================================================ > > Here it would be great to have imenu entries for "unsaved" and > "updateLinkedStyleSheet". > > Currently js-mode doesn't find these. I tried this in Emacs 26.1 (and on the trunk), and M-x imenu RET StyleSheetEditor RET TAB gave me