Coder Social home page Coder Social logo

Comments (13)

keevee09 avatar keevee09 commented on August 17, 2024 1

I am using version 20231222.636 of doom-modeline.
git log shows commit: 93f240f7a0bf35511cfc0a8dd75786744b4bcf77 from Mon Sep 18 19:44:25 2023 +0800, with comment Improve macro segment.

As you suggested, it appears to be a doom-emacs issue, not a doom-modeline one.

I noticed just now that when opening the readme files from within $HOME/.config/emacs in doom-emacs, that the text DOOM 3.0.0-pre is not displayed, and that the issue disappears. With Doom Docs or GFM displayed, rather than DOOM 3.0.0-pre, I can adjust the size of the doom-emacs window and the right side of the modeline adjusts to display as expected. So it is only an issue when emacs is displaying the DOOM splashscreen... which is not really an issue :)

Screenshot from 2023-12-27 07-11-22

Screenshot from 2023-12-27 07-37-56

from doom-modeline.

seagle0128 avatar seagle0128 commented on August 17, 2024

Can you reproduce this issue with emacs -Q?
BTW: I strongly to recommend emacs 29.

from doom-modeline.

Jdogzz avatar Jdogzz commented on August 17, 2024

I have upgraded to emacs 29 on my primary and test systems but do still see the problem on my primary and test systems. The test system experiences the problem with out-of-the-box doom emacs installed on emacs 29.

I have investigated using emacs -Q but it doesn't seem like that will be practical to do as doom-dashboard appears to be intimately linked with doom emacs (i.e. there's not a package for the dashboard like there is for doom-modeline). I am happy to follow pointers to making the dashboard work starting from emacs -Q if anyone has them.

from doom-modeline.

seagle0128 avatar seagle0128 commented on August 17, 2024

In any buffer, eval (doom-modeline-set-modeline 'dashboard) to set dashboard mode-line.

from doom-modeline.

Jdogzz avatar Jdogzz commented on August 17, 2024

Got it, thank you. I used that with the test system with emacs -Q and could not reproduce the issue I showed in the original video.

Screencast.from.2023-09-27.05-52-37.webm

from doom-modeline.

seagle0128 avatar seagle0128 commented on August 17, 2024

So you may need help from doom-emacs community? I guess the latest version of doom-modeline is not applied.

from doom-modeline.

Jdogzz avatar Jdogzz commented on August 17, 2024

Sure thing, I can file a bug report there.

from doom-modeline.

keevee09 avatar keevee09 commented on August 17, 2024

I am having this issue with doom-emacs on both Windows 11 WSL2 Ubuntu 22.04 and Fedora 39.
What I found is that it happens with the primary modeline, but, if I create a new window (split horizontally with <SPC>-w-n), then the secondary modeline adjusts correctly as I change the size of the window frame, for both the cli and the gui versions of doom-emacs. The original doom-modeline still refuses to adjust, whether that frame is active or inactive.
When I split vertically, I notice that the right side adjusts to the DOOM v3.0.0-pre text for both the original and the second doom-modeline. The clock etc. should be displayed after this text but it appears that the "DOOM" text is anchoring to the right, and so any subsequent entries on the modeline are cut off.

from doom-modeline.

seagle0128 avatar seagle0128 commented on August 17, 2024

@keevee09 Are you able to reproduce the issue with emacs -Q and the latest doom-modeline? If NOT, please file an issue for doom-emacs.

from doom-modeline.

keevee09 avatar keevee09 commented on August 17, 2024

@seagle0128 I will attempt to reproduce the issue with emacs -Q and the latest doom-modeline. So far, what I have seen, I suspect it is a doom-emacs issue but I am not certain.
The text: "DOOM v3.0.0-pre" is created in $HOME/.config/emacs/modules/ui/doom-dashboard/config.el:176:
175 (define-derived-mode +doom-dashboard-mode special-mode
176 (format "DOOM v%s" doom-version)
177 ...
The constant doom-version is created in:
$HOME/.config/emacs/lisp/doom.el:167:
167 (defconst doom-version "3.0.0-pre"
168 ...
"DOOM v3.0.0-pre" is the text that anchors itself to the right, before any other entries and seems to cause the problem.
Please give me a day or two to follow up.

from doom-modeline.

seagle0128 avatar seagle0128 commented on August 17, 2024

@keevee09 Which version of doom-modeline are you using?

from doom-modeline.

seagle0128 avatar seagle0128 commented on August 17, 2024

It looks good! So can I close this issue now?

from doom-modeline.

keevee09 avatar keevee09 commented on August 17, 2024

from doom-modeline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.