-
Notifications
You must be signed in to change notification settings - Fork 23
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
outshine-imenu does not recognize the different heading levels #89
Comments
Not sure if this is related, but python-mode makes a really strange outline-end regexp with similar behavior. I fixed it with (setq-local outline-heading-end-regexp
(default-value 'outline-heading-end-regexp))) to get outlines parsing normally. |
The imenu documentation in the Fortunately, it does not look like a terribly complicated function (you can go check out the source with I've taken a crack at this in my fork in the branch Getting this to play nice with Personally, since I use |
Thanks to all of you for your input here. I don't use Outshine much anymore, and I don't have time to work on changes as big as the ones mentioned by Dan. I don't think @thblt uses it much anymore, either, but I'm always glad to have his help and input when he's able. @dankessler If you'd like to propose a PR, and I can grok it easily enough, I'd be glad to merge it, especially if you would be able to help fix any related bugs that might be discovered later (not that your code wouldn't be perfect, of course). If anyone's interested, for this kind of navigation within a file or project, I'm generally working on Deffy, though it currently only supports Lisp; eventually I may publish it as a separate project. |
Hi,
In org-mode, imenu recognizes the different heading levels (here imenu-list, which relies on imenu):
However, when using outline-outshine e.g. with ESS, all headings are put on the same level:
Would it be possible to solve this and to have index items and subitems like in org-mode?
The text was updated successfully, but these errors were encountered: