-
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
vundo-box (displaying vundo like eldoc-box) #113
Comments
Hey sorry for the late reply. Do you want to display the undo tree in a childframe, or display the undo tree vertically? |
In a childframe. |
Shouldn't be hard to make it configurable. Let me see. |
Ok, now you should be able to configure how to display the vundo buffer by adding an entry to |
Thank! I'll test it right away. |
Ah, forgot to ask, to what function should I set I tried: (add-to-list 'display-buffer-alist '(vundo-1 (display-buffer-in-child-frame))) But that broke buffer display. |
Hey sorry, didn't see you second message. You should use something like (add-to-list 'display-buffer-alist
`(" *vundo tree*"
display-buffer-in-child-frame
(child-frame-parameters . ((undecorated . t)
(menu-bar-lines . 0)
(internal-border-width . 1)
(tool-bar-lines . 0)
(vertical-scroll-bars . nil)
(horizontal-scroll-bars . nil)
(tab-bar-lines . 0)
(mouse-wheel-frame . nil)
)))) But you probably want to use something like posframe to handle the details (all the childframe parameters and positioning) for you. |
Thanks. I was going to report to you that it didn't work, then I noticed I actually had the stable version ( (add-to-list 'display-buffer-alist
`("\\*vundo tree\\*"
display-buffer-in-child-frame
(child-frame-parameters . ((undecorated . t)
(menu-bar-lines . 0)
(internal-border-width . 1)
(tool-bar-lines . 0)
(vertical-scroll-bars . nil)
(horizontal-scroll-bars . nil)
(tab-bar-lines . 0)
(mouse-wheel-frame . nil)
)))) It works, but since it's a child-frame I can't exactly interact with it. I'll try it out with a (add-to-list 'display-buffer-alist
`("\\*vundo tree\\*"
posframe-show
:poshandler #'posframe-poshandler-frame-top-right-corner)) And, again, it displays in correctly (a posframe), but I can't interact with it. I was going to send a video, but OBS just keeps dying on me, so here are some screenshots: ChildframeThe vundo frame covers the area highlighted in red. As shown by the PosframeWay smaller. It doesn't display in the top right (but I kind of like that, actually), but I once again can't interact with it. There's also a |
I seet that you're also the creator of eldoc-box (love this package, btw), and, when trying out Neomacs, I noticed they have an undo system similar to the one found on this package, but it's not displayed at the bottom:
Would it be possible to make an option to display vundo in a childframe, like how it's done in eldoc-box?
The text was updated successfully, but these errors were encountered: