bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60812: 29.0.50; error when using doom-modeline-mode and flymake-mode


From: Arash Esbati
Subject: bug#60812: 29.0.50; error when using doom-modeline-mode and flymake-mode
Date: Mon, 16 Jan 2023 13:10:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50

Stefan Kangas <stefankangas@gmail.com> writes:

> Paul Nelson <ultrono@gmail.com> writes:
>
>> Starting from emacs -Q, I enter the following commands via M-x:
>>
>> package-initialize
>> doom-modeline-mode
>> flymake-mode
>>
>> This yields the following in *Messages*:
>>
>> Doom-Modeline mode enabled
>> Flymake mode enabled in current buffer
>> error in process sentinel: apply: Symbol’s value as variable is void:
>> flymake--backend-state
>> error in process sentinel: Symbol’s value as variable is void:
>> flymake--backend-state
>>
>> flymake seems to function OK for me now even with this error, but it wasn't
>> earlier; I haven't been able to reproduce a situation in which it doesn't
>> function, but the above error message was the only one that I saw, and it
>> seems to have been caused by doom-modeline-mode.
>
> I'd suggest reporting this to the doom-modeline-mode developers first.

doom-modeline-segments.el contains these lines:

;; Compatibility
;; @see 
https://github.com/emacs-mirror/emacs/commit/6e100869012da9244679696634cab6b9cac96303.
(with-eval-after-load 'flymake
  (unless (boundp 'flymake--state)
    (defvaralias 'flymake--state 'flymake--backend-state))
  (unless (fboundp 'flymake--state-diags)
    (defalias 'flymake--state-diags 'flymake--backend-state-diags)))

Maybe updating the package is sufficient.

Best, Arash





reply via email to

[Prev in Thread] Current Thread [Next in Thread]