GithubHelp home page GithubHelp logo

Comments (6)

hlissner avatar hlissner commented on August 19, 2024

About neotree:

Have you installed the fonts provided by all-the-icons? This is required to use their icons.

About doom-buffer-mode, that is strange. Could you provide a list of steps to reproduce that?

from themes.

honnisha avatar honnisha commented on August 19, 2024

Have you installed the fonts provided by all-the-icons? This is required to use their icons.

Yes, but I have symbols instead icons, its not important because its most likely all-the-icons issue.

screenshot_20170221_190501

About doom-buffer-mode, that is strange. Could you provide a list of steps to reproduce that?

doom-buffer-mode work well if I use it trough M-x. New created buffers created with doom-buffer-mode (not always), darker than others, but when i switch between buffers nothing changes.

This is my settings:

(use-package doom-themes
  :ensure t
  :config
  (setq doom-neotree-enable-file-icons t)
  (load-theme 'doom-one t) ;; or doom-dark, etc.
  (setq doom-enable-bold t    ; if nil, bolding are universally disabled
	doom-enable-italic t  ; if nil, italics are universally disabled

	doom-one-brighter-modeline nil
	doom-one-brighter-comments nil
	)
  ;; brighter source buffers
  (add-hook 'find-file-hook 'doom-buffer-mode)
  ;; brighter minibuffer when active
  (add-hook 'minibuffer-setup-hook 'doom-brighten-minibuffer)
  ;; The temporary buffers ediff spins up aren't dimmed. You can fix this with:
  (add-hook 'ediff-prepare-buffer-hook 'doom-buffer-mode)
  
  ;; Enable custom neotree theme
  (require 'doom-neotree)    ; all-the-icons fonts must be installed!
  ;; Enable nlinum line highlighting
  (require 'doom-nlinum)     ; requires nlinum and hl-line-mode
  )

from themes.

hlissner avatar hlissner commented on August 19, 2024

This is strange. It is possible that an error is occuring before doom-buffer-mode gets run. You may want to check view-echo-area-messages to see if there are any error messages (coming from another part of your emacs config).

If there aren't any, here is an alternative solution that works for me:

  (defun doom*brighter-buffer-maybe (buffer &rest _)
    (when (and (not doom-buffer-mode)
               buffer-file-name)
      (doom-buffer-mode +1)))
  (advice-add 'switch-to-buffer :after 'doom*brighter-buffer-maybe)
  (advice-add 'display-buffer   :after 'doom*brighter-buffer-maybe)

You do not need (add-hook 'find-file-hook 'doom-buffer-mode) with this.

Let me know if that solves your problem.


As for neotree, I don't think it's a neotree issue. I am using doom-themes neotree mod (on Arch Linux) and it works fine. From the screenshot, it looks like it's not recognizing the fonts.

from themes.

hlissner avatar hlissner commented on August 19, 2024

Whoops, ignore that doom-popup-p call in the above code. That's only for my emacs.d. I've corrected it now.

from themes.

honnisha avatar honnisha commented on August 19, 2024

Nothing changes with doom*brighter-buffer-maybe. Nothing in Messages buffer.

Its strange, because doom-buffer-mode work as well trough M-x, but (add-hook 'find-file-hook 'doom-buffer-mode) doesn't work at all. How can I test add-hook 'find-file-hook? I don't know how to use elisp.

from themes.

honnisha avatar honnisha commented on August 19, 2024

I tried on computer and on my laptop. Both are use Kubuntu, the result is the same.I tried to leave only the doom-themes settings in .emacs, it still doesn't work. Any clues?

p.s.
I start use https://github.com/mina86/auto-dim-other-buffers.el instead doom-buffer-mode, works for me.

from themes.

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.