Coder Social home page Coder Social logo

Comments (5)

seagle0128 avatar seagle0128 commented on July 17, 2024

Hi, this is the screenshot in my env. It looks fine. In the issue of spacemacs, seems no such issue with doom-modeline. so I don't understand your real issue.

image

from doom-modeline.

FrauH0lle avatar FrauH0lle commented on July 17, 2024

Strange, I get this:
grafik

;; Doom-modeline
(use-package doom-modeline
  :defer t
  :hook (after-init . doom-modeline-init))

Any ideas where the error could come from?

from doom-modeline.

seagle0128 avatar seagle0128 commented on July 17, 2024

Hi, I need more information to investigate.

  1. OS
  2. Emacs version
  3. Emacs configurations
  4. Errors/Exceptions
  5. others

Would you please try this?

;; Doom-modeline
(use-package doom-modeline
  :init (doom-modeline-init))

from doom-modeline.

FrauH0lle avatar FrauH0lle commented on July 17, 2024

Changing the use-package call did the trick. Thanks!

  1. Arch Linux
  2. 27.0.50 (emacs-git AUR package)
  3. https://gitlab.com/DonHugo/emacs.d (Documentation is still lacking in a lot of parts)
  4. No errors
  5. Nothing observed

from doom-modeline.

seagle0128 avatar seagle0128 commented on July 17, 2024

Glad to know it worked.
I couldn't recreate this issue with Emacs 27.0.50 on Linux Mint 19. I am thinking your Emacs configurations might impact but not very sure. According to the snippet, the *Messages* buffer was set to main before emacs-init. Perhaps some hooks or advices impact this in your env?

Anyway I am closing this since it has been resolved. Thanks.

(defun doom-modeline-init ()
  "Initialize doom mode-line."
  ;; Create bars
  (doom-modeline-refresh-bars)
  (unless after-init-time
    ;; These buffers are already created and don't get modelines. For the love
    ;; of Emacs, someone give the man a modeline!
    (dolist (bname '("*scratch*" "*Messages*"))
      (with-current-buffer bname
        (doom-modeline-set-modeline 'main)))))

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.