-
Notifications
You must be signed in to change notification settings - Fork 22
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
How to open scratch buffer as a popper popup? #36
Comments
Does it behave as expected (popup at the bottom) after Emacs is done booting up? |
No, it opens full screen only. |
I don't follow, so let me clarify my question.
When you boot up Emacs, it's recognized as a popup but it still opens full screen.
1. What happens when you then call popper-toggle-latest? Does the scratch buffer disappear?
2. What happens when you call popper-toggle-latest again? Does the scratch buffer appear full screen, or in a regular window split, or as a popup at the bottom?
3. How about on all subsequent calls to popper-toggle-latest or popper-cycle?
|
Yes.
If I call
If I call
Subsequent calls to I use the |
Sorry, I still don't understand the problem well.
If Emacs doesn't open the scratch buffer by default, and calls to
I'm trying to figure out what the intended behavior should be when Emacs boots up.
Okay, this makes sense. If you want to change this, you can try setting the window option
There are many other ways to open the scratch buffer:
All of these will open it while obeying the display rules set in your |
When I first launch Emacs, |
I see. Can you try the following:
|
OK, first I time I called From
|
I can't reproduce this. Can you paste your popper-mode config here? |
Sure,
|
This looks fine. Do you use anything besides the dashboard package that influences the Emacs' startup? I'll try installing them. |
Note sure.. But here is my entire config https://gitlab.com/apoorv569/dotfiles/-/blob/master/.emacs.d/Emacs.org |
Note: This problem is caused by Emacs' startup customizations not triggering `window-configuration-change-hook`, leading to buffers missing Popper's net and fail to be classified as popups. The hacky solution (until I can think of a better way) is to schedule `popper--find-buried-popups` after Emacs' init process.
Thanks @apoorv569, that's helpful. I've pushed a fix on the recipe: (use-package popper
:straight (:host github :repo "karthink/popper"
:branch "catch-init")
;; Rest of the config
) Specifically, I'd like to know if you notice any lag immediately after Emacs boots up. Notes: This problem is caused by Emacs' startup customizations not triggering |
I added the recipe, but I don't see any difference, I still can't find the I didn't notice lag after Emacs boots up. EDIT: |
I am trying to have my
scratch
buffer as a popup window, kind of like howDoom Emacs
does it. I added this,The scratch buffer does open as a popup, but it doesn't go on the bottom as other popups, instead it opens full screen as a normal buffer.
The text was updated successfully, but these errors were encountered: