Comments (9)
Are you using official GNU Emacs 26.1? I think you should use x64 build.
Can you evel when-let
and frame-selected-window
in your env?
from doom-modeline.
- The same thing with GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) ;
Debugger entered--Lisp error: (invalid-function (win (frame-selected-window)))
(win (frame-selected-window))()
doom-modeline-set-selected-window()
run-hooks(focus-in-hook)
handle-focus-in((focus-in #<frame *Backtrace* 0000000400a69a50>))
funcall-interactively(handle-focus-in (focus-in #<frame *Backtrace* 0000000400a69a50>))
call-interactively(handle-focus-in nil [(focus-in #<frame *Backtrace* 0000000400a69a50>)])
command-execute(handle-focus-in nil [(focus-in #<frame *Backtrace* 0000000400a69a50>)] t)
-
(when-let)
Debugger entered--Lisp error: (void-function when-let) (when-let) eval((when-let) nil) elisp--eval-last-sexp(nil) eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp)
(frame-selected-window)
#<window 3 on *scratch*>
from doom-modeline.
Wired! In Emacs 26.1 when-let
function is defined. Did you download from official website https://ftp.gnu.org/gnu/emacs/windows/emacs-26/emacs-26.1-x86_64.zip? I tested on Windows 10 and it works well.
Otherwise, please try this
(use-package doom-modeline
:ensure t
:defer t
:preface (defalias 'when-let 'when-let*)
:hook (after-init . doom-modeline-init)
)
from doom-modeline.
Yes on Windows 10 is works well,But on Windows 7 is not!
I download from official website;
I tried your :
(use-package doom-modeline
:ensure t
:defer t
:preface (defalias 'when-let 'when-let*)
:hook (after-init . doom-modeline-init)
)
But still not working...
Debugger entered--Lisp error: (invalid-function (win (frame-selected-window)))
(win (frame-selected-window))()
doom-modeline-set-selected-window()
run-hooks(focus-in-hook)
handle-focus-in((focus-in #<frame Backtrace 0000000400a69a50>))
funcall-interactively(handle-focus-in (focus-in #<frame Backtrace 0000000400a69a50>))
call-interactively(handle-focus-in nil [(focus-in #<frame Backtrace 0000000400a69a50>)])
command-execute(handle-focus-in nil [(focus-in #<frame Backtrace 0000000400a69a50>)] t)
from doom-modeline.
Please check if when-let
exists in ./lisp/emacs-lisp/subr-x.el
. If YES, try this:
(use-package doom-modeline
:ensure t
:defer t
:hook (after-init . doom-modeline-init)
:config (require 'subr-x)
)
Otherwise try:
(use-package doom-modeline
:ensure t
:defer t
:preface (defalias 'when-let 'let)
:hook (after-init . doom-modeline-init)
)
from doom-modeline.
subr-x.el in here: C:\Emacs\share\emacs\26.1\lisp\emacs-lisp\subr-x.el
still not working...
Windows 7 BUG?
from doom-modeline.
I tested on Windows7 and there is no such issue. Please test with the bare Emacs emacs -Q
. I think the issue exists in your configurations.
from doom-modeline.
The same issue even install doom-modeline on bare Emacs. Anyway,thank you very much!
from doom-modeline.
If when-let
is not defined, many packages will not work. So you should ensure when-let
is defined in your environment, or file a bug for Emacs. But please make sure 100% before filing the issue, because in my laptop it does work well.
from doom-modeline.
Related Issues (20)
- [Bug] Null vertical padding after update HOT 5
- [Bug] Buffer line number does not update consistently HOT 2
- [Bug] segment report error in terminal HOT 11
- [Bug] GitHub notifications are showing way too many HOT 3
- [Bug] How to get rid of the <N>, <I>, <V> in the centre of the icons? HOT 2
- [Bug] Potential commit 8d9815 or a2a6f53 breaking lsp-mode HOT 2
- [Feature Request] Show number of lines in the current file HOT 1
- Indicate modals everywhere HOT 1
- [Bug] Doom modeline a bit slow under wayland(pgtk build) HOT 4
- [Bug] Resizing window with doom-dashboard increasingly cuts off right side of modeline HOT 13
- [Feature request] Customize display of line and column numbers
- [Bug] Custom segment makes emacs lag HOT 1
- [Bug] Missing icon for a common major mode (emacs-jupyter) HOT 4
- [Bug] Modeline aligns with fill column in visual-fill-column-mode HOT 3
- [Feature Request] Add hooks for pre-processing buffer-file-name and buffer-file-truename. HOT 4
- [Feature Request] Add support for `jupyter-repl-interaction-mode-line`
- [Bug] Emacs 29.1 - Warning (comp): doom-modeline-core.el:1098:37: Warning: reference to free variable ‘mode-line-right-align-edge’ HOT 4
- display number of goals in Coq mode HOT 11
- [Feature Request] Feed path through `abbreviate-file-name` HOT 2
- [Bug] buffer-state-icon display error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doom-modeline.