GNU bug report logs - #60812
29.0.50; error when using doom-modeline-mode and flymake-mode

Previous Next

Package: emacs;

Reported by: Paul Nelson <ultrono <at> gmail.com>

Date: Sat, 14 Jan 2023 15:40:02 UTC

Severity: normal

Found in version 29.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60812 in the body.
You can then email your comments to 60812 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#60812; Package emacs. (Sat, 14 Jan 2023 15:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Nelson <ultrono <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 14 Jan 2023 15:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Nelson <ultrono <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; error when using doom-modeline-mode and flymake-mode
Date: Sat, 14 Jan 2023 16:38:47 +0100
[Message part 1 (text/plain, inline)]
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.

--

In GNU Emacs 29.0.50 (build 3, x86_64-apple-darwin21.6.0, NS
 appkit-2113.60 Version 12.6 (Build 21G115)) of 2022-11-06 built on
 Pauls-MBP-2
Repository revision: 6a132f9b52fd5e53298264ec89652be1a130a472
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2113
System Description:  macOS 12.6

Configured using:
 'configure --with-ns --with-native-compilation'

Configured features:
ACL DBUS GIF GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY KQUEUE NS PDUMPER PNG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
WEBP XIM ZLIB

Important settings:
  value of $LC_CTYPE: UTF-8
  locale-coding-system: utf-8-unix

Major mode: Messages

Minor modes in effect:
  doom-modeline-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/Users/paulnelson/.emacs.d/elpa/lispy-20210121.926/elpa hides
/Users/paulnelson/.emacs.d/elpa/ivy-20210503.1143/elpa
/Users/paulnelson/.emacs.d/elpa/transient-20210426.2141/transient hides
/Applications/Emacs.app/Contents/Resources/lisp/transient

Features:
(shadow sort mail-extr emacsbug message yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils time-date checkdoc lisp-mnt flymake-proc flymake
project compile text-property-search comint ansi-osc ansi-color ring
thingatpt cus-start cus-load doom-modeline doom-modeline-segments
doom-modeline-env doom-modeline-core shrink-path f s all-the-icons
all-the-icons-faces data-material data-weathericons data-octicons
data-fileicons data-faicons data-alltheicons dash finder-inf
gnuplot-autoloads org-noter-pdftools-autoloads org-pdftools-autoloads
org-noter-autoloads tex-site info package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source eieio eieio-core password-cache json map byte-opt url-vars
cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv
cl-extra help-mode bytecomp byte-compile cl-lib rmc iso-transl tooltip
cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 182694 8385)
 (symbols 48 14661 0)
 (strings 32 55515 3602)
 (string-bytes 1 1653983)
 (vectors 16 25186)
 (vector-slots 8 532299 16445)
 (floats 8 441 54)
 (intervals 56 290 0)
 (buffers 984 13))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60812; Package emacs. (Sun, 15 Jan 2023 01:34:02 GMT) Full text and rfc822 format available.

Message #8 received at 60812 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Paul Nelson <ultrono <at> gmail.com>, 60812 <at> debbugs.gnu.org
Subject: Re: bug#60812: 29.0.50;
 error when using doom-modeline-mode and flymake-mode
Date: Sat, 14 Jan 2023 17:33:23 -0800
Paul Nelson <ultrono <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60812; Package emacs. (Mon, 16 Jan 2023 12:12:01 GMT) Full text and rfc822 format available.

Message #11 received at 60812 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 60812 <at> debbugs.gnu.org, Paul Nelson <ultrono <at> gmail.com>
Subject: Re: bug#60812: 29.0.50; error when using doom-modeline-mode and
 flymake-mode
Date: Mon, 16 Jan 2023 13:10:58 +0100
Stefan Kangas <stefankangas <at> gmail.com> writes:

> Paul Nelson <ultrono <at> 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 sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Wed, 06 Sep 2023 00:09:02 GMT) Full text and rfc822 format available.

Notification sent to Paul Nelson <ultrono <at> gmail.com>:
bug acknowledged by developer. (Wed, 06 Sep 2023 00:09:02 GMT) Full text and rfc822 format available.

Message #16 received at 60812-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Arash Esbati <arash <at> gnu.org>
Cc: 60812-done <at> debbugs.gnu.org, Paul Nelson <ultrono <at> gmail.com>
Subject: Re: bug#60812: 29.0.50;
 error when using doom-modeline-mode and flymake-mode
Date: Tue, 5 Sep 2023 17:08:31 -0700
Arash Esbati <arash <at> gnu.org> writes:

> Stefan Kangas <stefankangas <at> gmail.com> writes:
>
>> Paul Nelson <ultrono <at> 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

No further comments within 9 months, so I'm assuming upgrading and/or
reporting this to the doom-modeline-mode developers worked.

I'm therefore closing this bug report.

If this conclusion is incorrect and this is still an issue, please reply
to this email (use "Reply to all" in your email client) and we can
reopen the bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 04 Oct 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.