Skip to content
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

EXWM + spacemacs, mini-modeline truncates without truncation option on. #14

Open
nhmacuk opened this issue Jan 12, 2020 · 5 comments
Open
Labels
help wanted Extra attention is needed

Comments

@nhmacuk
Copy link

nhmacuk commented Jan 12, 2020

The mini-modeline gets truncated (the percentage sign of the battery level in this case), which causes the modeline to expand to two lines when changing to another buffer. Setting the visual-line-mode or truncation options on/off doesn't seem to change this behavior. Using the package with EXWM on emacs 26.3 with spacemacs developers edition.
image

@kiennq
Copy link
Owner

kiennq commented Jan 12, 2020

Did you by any chance set mini-modeline-truncate-p to nil? To have line truncated, mini-modeline-truncate-p should be set to t (defaut).

Also, if you're using EXWM, you can try to set mini-modeline-frame to exwm-workspace--current since that's the frame that minibuffer is displayed.

@nhmacuk
Copy link
Author

nhmacuk commented Jan 12, 2020

mini-modeline-truncate-p is set to t. When setting mini-modeline-frame to exwm-workspace--current, the modeline displays nothing anymore (is empty).

@kiennq
Copy link
Owner

kiennq commented Jan 21, 2020

Hmm, sadly I'm not using EXWM (I'm not on any linux distribution either), so to debug this kind of stuff is pretty no-op for me

@kiennq kiennq added the help wanted Extra attention is needed label Jan 21, 2020
@nhmacuk
Copy link
Author

nhmacuk commented Jan 23, 2020 via email

@QiangF
Copy link
Contributor

QiangF commented Jan 25, 2020

@nhmacuk Looks like you have a line wrap, make sure the frame is the frame in focus, exwm can have multiple frames, eg. different desktop or you can have separate frame for minibuffer. This might help:

   (defvaralias 'mini-modeline-frame 'exwm-workspace--current)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants