all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: 60812@debbugs.gnu.org, Paul Nelson <ultrono@gmail.com>
Subject: bug#60812: 29.0.50; error when using doom-modeline-mode and flymake-mode
Date: Mon, 16 Jan 2023 13:10:58 +0100	[thread overview]
Message-ID: <86y1q2smr1.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkmk9mLrw9xZ+XncsT71T2BwKwwS-suA5Mtr4iGon5f_afA@mail.gmail.com> (Stefan Kangas's message of "Sat, 14 Jan 2023 17:33:23 -0800")

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	other threads:[~2023-01-16 12:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-14 15:38 bug#60812: 29.0.50; error when using doom-modeline-mode and flymake-mode Paul Nelson
2023-01-15  1:33 ` Stefan Kangas
2023-01-16 12:10   ` Arash Esbati [this message]
2023-09-06  0:08     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86y1q2smr1.fsf@gnu.org \
    --to=arash@gnu.org \
    --cc=60812@debbugs.gnu.org \
    --cc=stefankangas@gmail.com \
    --cc=ultrono@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.