New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle special elements of imenu--index-alist
that provides function to call
#58
Comments
Continued in #63. |
joaotavora
added a commit
to joaotavora/eglot
that referenced
this issue
Sep 8, 2022
Fix #758, #536, #535. Eglot's eglot-imenu returned a structure compliant with the rules outlined in imenu--index-alist. In particular, it returned some elements of the form (INDEX-NAME POSITION GOTO-FN ARGUMENTS...) The original intention (mine) must have been to allow fancy highlighting of the position navigated to with a custom GOTO-FN. Not only was access to that fanciness never implemented, but many other imenu frontends do not support such elements. See for example #758, #536, #535. And also related issues in other packages: colonelpanic8/flimenu#6 bmag/imenu-list#58 So it's best to remove this problematic feature for now. It can be added back later. * eglot.el (eglot-imenu): Simplify. * NEWS.md: Mention change
bhankas
pushed a commit
to bhankas/emacs
that referenced
this issue
Sep 18, 2022
Fix joaotavora/eglot#758, joaotavora/eglot#536, joaotavora/eglot#535. Eglot's eglot-imenu returned a structure compliant with the rules outlined in imenu--index-alist. In particular, it returned some elements of the form (INDEX-NAME POSITION GOTO-FN ARGUMENTS...) The original intention (mine) must have been to allow fancy highlighting of the position navigated to with a custom GOTO-FN. Not only was access to that fanciness never implemented, but many other imenu frontends do not support such elements. See for example joaotavora/eglot#758, joaotavora/eglot#536, joaotavora/eglot#535. And also related issues in other packages: colonelpanic8/flimenu#6 bmag/imenu-list#58 So it's best to remove this problematic feature for now. It can be added back later. * eglot.el (eglot-imenu): Simplify. * NEWS.md: Mention change
bhankas
pushed a commit
to bhankas/emacs
that referenced
this issue
Sep 19, 2022
Fix joaotavora/eglot#758, joaotavora/eglot#536, joaotavora/eglot#535. Eglot's eglot-imenu returned a structure compliant with the rules outlined in imenu--index-alist. In particular, it returned some elements of the form (INDEX-NAME POSITION GOTO-FN ARGUMENTS...) The original intention (mine) must have been to allow fancy highlighting of the position navigated to with a custom GOTO-FN. Not only was access to that fanciness never implemented, but many other imenu frontends do not support such elements. See for example joaotavora/eglot#758, joaotavora/eglot#536, joaotavora/eglot#535. And also related issues in other packages: colonelpanic8/flimenu#6 bmag/imenu-list#58 So it's best to remove this problematic feature for now. It can be added back later. * eglot.el (eglot-imenu): Simplify. * NEWS.md: Mention change
bhankas
pushed a commit
to bhankas/emacs
that referenced
this issue
Sep 19, 2022
Fix #758, #536, #535. Eglot's eglot-imenu returned a structure compliant with the rules outlined in imenu--index-alist. In particular, it returned some elements of the form (INDEX-NAME POSITION GOTO-FN ARGUMENTS...) The original intention (mine) must have been to allow fancy highlighting of the position navigated to with a custom GOTO-FN. Not only was access to that fanciness never implemented, but many other imenu frontends do not support such elements. See for example #758, #536, #535. And also related issues in other packages: colonelpanic8/flimenu#6 bmag/imenu-list#58 So it's best to remove this problematic feature for now. It can be added back later. * eglot.el (eglot-imenu): Simplify. * NEWS.md: Mention change #758: joaotavora/eglot#758 #536: joaotavora/eglot#536 #535: joaotavora/eglot#535 #758: joaotavora/eglot#758 #536: joaotavora/eglot#536 #535: joaotavora/eglot#535
jollaitbot
pushed a commit
to sailfishos-mirror/emacs
that referenced
this issue
Oct 12, 2022
Fix joaotavora/eglot#758, joaotavora/eglot#536, joaotavora/eglot#535. Eglot's eglot-imenu returned a structure compliant with the rules outlined in imenu--index-alist. In particular, it returned some elements of the form (INDEX-NAME POSITION GOTO-FN ARGUMENTS...) The original intention (mine) must have been to allow fancy highlighting of the position navigated to with a custom GOTO-FN. Not only was access to that fanciness never implemented, but many other imenu frontends do not support such elements. See for example joaotavora/eglot#758, joaotavora/eglot#536, joaotavora/eglot#535. And also related issues in other packages: colonelpanic8/flimenu#6 bmag/imenu-list#58 So it's best to remove this problematic feature for now. It can be added back later. * eglot.el (eglot-imenu): Simplify. * NEWS.md: Mention change
jollaitbot
pushed a commit
to sailfishos-mirror/emacs
that referenced
this issue
Oct 20, 2022
Fix joaotavora/eglot#758, joaotavora/eglot#536, joaotavora/eglot#535. Eglot's eglot-imenu returned a structure compliant with the rules outlined in imenu--index-alist. In particular, it returned some elements of the form (INDEX-NAME POSITION GOTO-FN ARGUMENTS...) The original intention (mine) must have been to allow fancy highlighting of the position navigated to with a custom GOTO-FN. Not only was access to that fanciness never implemented, but many other imenu frontends do not support such elements. See for example joaotavora/eglot#758, joaotavora/eglot#536, joaotavora/eglot#535. And also related issues in other packages: colonelpanic8/flimenu#6 bmag/imenu-list#58 So it's best to remove this problematic feature for now. It can be added back later. * eglot.el (eglot-imenu): Simplify. * NEWS.md: Mention change
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From
imenu--index-alist
docstring:Eglot creates this kind of
imenu--index-alist
:Calling
imenu-list-smart-toggle
lead to this error:The text was updated successfully, but these errors were encountered: