-
Notifications
You must be signed in to change notification settings - Fork 27
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
Multiple frames? #24
Comments
Hi, thanks for the feedback. You can checkout the |
Your use case is very similar to treemacs, where I did implement frame locality a while ago. If a simple one buffer per frame approach is what you're going for you can copy most of the implementation details from treemacs. The basic idea is quite simple, you just build an alist mapping frames to buffers and access your buffer with something like this:
Other than that code you'll also need some hooks to clean up the alist when frames/buffers are killed and deal with a bunch of your global variables suddenly becoming buffer-local. |
Hi. This looks like a nice package, but I can't work out how it is supposed to work when you have more than one frame open. Say that I have Buffer A visible in Frame X and Buffer B visible in Frame Y. I turn on
imenu-list-minor-mode
in Frame X and it shows me the menu for Buffer A - so far, so good! But now, if I change focus to Frame Y, the menu for Buffer B appears in Frame X (not in Frame Y). This is not useful - for instance, I can't click on any Buffer B items in the menu because that switches the focus back to Frame X, which means that the menu jumps back to Buffer A without registering the click.The only workaround seems to be to toggle
imenu-list-minor-mode
two times after each time that I switch frames.Any advice? Thanks
The text was updated successfully, but these errors were encountered: