-
-
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
Weird visual glitches when using emacs server. #13
Comments
From: tusharhero ***@***.***>
Date: Thu, 25 Apr 2024 23:44:07 -0700
Hey @protesilaos, thank you for this amazing package.
You are welcome!
Problem happens only when using emacs server and it doesn't occur when I start emacs without running a server.
# Screenshots
![image](https://github.com/protesilaos/spacious-padding/assets/54012021/390b52ef-3890-4713-948c-42b20d7a1f70)
So you are starting Emacs without 'server-mode'? Or is this still an emacsclient?
…--
Protesilaos Stavrou
https://protesilaos.com
|
I use this command to run the emacsclient with a server: |
Does this issue go away if you re-enable I notice that the box does not come directly from the theme (which looks like |
It does go away if I re-enable (setq custom-safe-themes t)
(advice-add 'load-theme
:before (lambda (theme &optional no-confirm no-enable)
(disable-theme (car custom-enabled-themes)))) The theme I am using is |
From: tusharhero ***@***.***>
Date: Fri, 26 Apr 2024 20:52:42 -0700
It does go away if I re-enable `spacious-padding-mode`. I am not sure
if something else is involved but here is a relevant portion of my
init.el
Are you starting spacious-padding before or after loading the theme?
Perhaps that is the issue.
[... 7 lines elided]
The theme I am using is `ef-frost`.
Okay, same idea for the :box as with the modus-themes (I use the warm
night light and it distorts the colours...).
…--
Protesilaos Stavrou
https://protesilaos.com
|
Spacious padding is enabled before I load the theme. |
From: tusharhero ***@***.***>
Date: Fri, 26 Apr 2024 21:06:34 -0700
Spacious padding is enabled before I load the theme.
Try to change that order. Because now spacious-padding does not read the
colours of your theme at startup.
…--
Protesilaos Stavrou
https://protesilaos.com
|
I tried changing the order, it doesn't seem to change much. |
In my
I'm also using modus-operandi.
For me disabling and enabling |
From: Julian Flake ***@***.***>
Date: Sun, 28 Apr 2024 04:12:53 -0700
[... 7 lines elided]
> Does this issue go away if you re-enable `spacious-padding-mode`? Or is something else involved that sets the `:box` attribute of the mode line?
>
For me disabling and enabling spacious-padding-mode works around that issue.
Yes, this is the expected behaviour. After a frame exists and a theme is
available, the "unspecified-bg" is no longer there. We get the correct
value.
Let me check how best to work around this.
…--
Protesilaos Stavrou
https://protesilaos.com
|
This is an attempt to fix the common problem of spacious-padding not getting the correct colours at startup when Emacs runs as a daemon. Thanks to tusharhero and Julian Flake for reporting on this in issue 13: <#13>.
I just added a change. Please let me know if this works for you. |
Hey @protesilaos, unfortunately your fix doesn't seem to work for me. |
I just noticed that creating a new frame by running The first time I run |
Also not fixed for me. I start emacs exactly like tusharhero, but it doesn't make a difference, if I start |
Ah, opening a second frame then fixes the glitch with both frames (which is new behaviour, if I remember correctly)! |
Yup, even I noticed this. |
This is still related to issue 13: <#13>.
I pushed another change. Can you please try again? |
fixed with af8030e ! 🥳 Thank You! |
Fixed for me too! |
Very well! I am waiting for another issue and will then prepare the new release. |
Hey @protesilaos, thank you for this amazing package.
Problem happens only when using emacs server and it doesn't occur when I start emacs without running a server.
Screenshots
Specifications
The text was updated successfully, but these errors were encountered: