-
Notifications
You must be signed in to change notification settings - Fork 42
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
Calling help from a popup help window replaces the popup window with a regular window #131
Comments
This happens a lot to me. I have coded this temporary solution that bypass some popwin features, without losing its functions: |
Same problem here, just found this issue via google wondering how to fix it. Also happens when clicking on 'links' in a help buffer. @arunce could you explain how your emacs-makesure helps bypass this issue? Is this possibly emacs 25 related? I just upgraded and I don't think I had that problem with 24.5 |
@rakete it's mostly a workaround that mitigates some nasty problems between sr-speedbar and popwin, but it works with other windows if you call them with a shortcut. Like this: "shell" is the window name, t or nil if you want focus or not and the 'shell process/function name which will be called if not active. Also, it helps with the I'm still using emacs 24.5. |
I never figured out how to apply your solution to this particular problem @arunce. But I did come up with my own workaround in the meantime:
The problem is that clicking a button in a help buffer erases the help buffer, fills it with new content and then eventually calls display-buffer on that same already displayed buffer. The display-buffer function examines display-buffer-alist for a matching function and finds the popwin:display-buffer-action and calls it, causing the problem described in this issue. So my workaround works by changing the display-buffer so that it won't be able to call popwin:display-buffer-action on an already displayed help buffer by setting display-buffer-alist to nil, but only for help buffers that are already displayed, and nothing else. Since display-buffer is a very important function this workaround may cause some unforseen side issues. Handle with care. |
I don't think @m2ym is actively maintaining this repository. |
Bug reproduction steps:
And pressing C-g doesn't close the help window.
This bug also happens when I press RET on links ("xrefs") inside the help window.
The text was updated successfully, but these errors were encountered: