-
Notifications
You must be signed in to change notification settings - Fork 6
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
the side-bar takes a whole buffer #2
Comments
Well, it's not supposed to do that! What is your system? |
OS: Gnu/Linux -- Artix (Arch based distro) |
Thanks. Can you check if a frame is actually created (and cover the initial frame) or if there's an error during the creation? |
Ok. Can you try to add a message here to check if the |
alright, i've added this message like that (when (not visible)
;;;;;;;;;;;;;;;;;the message;;;;;;;;;;;;;;;;;;;
(message "Hello there")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(make-frame-visible sidebar)
(modify-frame-parameters sidebar `((top . 0)
(height . 1.0)
(width . ,sidebar-width)
(left . ,(* -1 width))))
(select-frame-set-input-focus selected-frame)) These are the messages I got
|
Ok. Do you know if there are actually two frames or only one after toggling the sidebar? For example, is one covering the other? |
Can you try:
|
PS: when i execute |
The command was a test to chekc whether you can create a child frame and apparently you can. By the way, are you using a tiloing window manager or emacs in full screen (that won't play well with the sidebar)? |
yes, i'm using dwm |
That might be the reason. Can you try with a floating emacs window? |
i tried with a floating mode in dwm... same problem 🤔 |
What about the minimal example I posted above? I suspect that the new frame might be identified as new window by your wm and put somewhere else. Since this new frame is a child frame, I'm not sure how dwm would handle it. Can you try with a non-tiling window manager (if possible, don't break your configuration for the test)? |
@rougier I tried on macOS Monterey with Emacs 28 today, and this spawns a sub-window that is attached to the main one, much like macOS sheets used to maintain relative position. Thing is, the sidebar also is a floating window. Much like old Mac OS X GUIs, or GIMP: Is there anything else you do to customize the display of Emacs frames on your Mac? |
@DivineDominion Sorry for late answer. I think this the expected behavior. In my case (OSX Monterrey EmacsMac 27.1), I removed the title bar. |
when i use the
nano-sidebar-toggle
, it takes a whole buffer instead of just the "side"is there a way so i can configure it on a specific width?
The text was updated successfully, but these errors were encountered: