run-hooks: Symbol’s function definition is void: mood-line-segment-vc--update #8

Open
opened 2023-11-29 14:44:45 +00:00 by sebasmonia · 5 comments

Getting the error in the title when opening new files. Manually doing (require 'mood-line-segment-vc) made it go away.

Getting the error in the title when opening new files. Manually doing `(require 'mood-line-segment-vc)` made it go away.
jessieh added the
Kind/Bug
label 2023-11-29 17:28:25 +00:00
jessieh self-assigned this 2023-11-29 17:28:27 +00:00
jessieh added the
Priority
High
label 2023-12-05 00:02:05 +00:00
Owner

Thanks so much for reporting this!

I can't reproduce the error on either of my systems, but it seems likely that this is being caused by a (potentially unnecessary) check in mood-line--deflazy.

I've pushed a potential fix in ff0a35672e. Could you let me know if that fixes the issue?

Thanks so much for reporting this! I can't reproduce the error on either of my systems, but it seems likely that this is being caused by a (potentially unnecessary) check in `mood-line--deflazy`. I've pushed a potential fix in ff0a35672e57169bc004ccd8f4a7b6fceec5e93d. Could you let me know if that fixes the issue?
Owner

Closing this for now--please feel free to reopen if you're still experiencing the issue!

Closing this for now--please feel free to reopen if you're still experiencing the issue!
Author

Thanks for the fix!

Thanks for the fix!

Hi @jessieh, Im running mood line on the latest commit a15d16624 and am running into the same issue. I might dig into it to see if I can help, and also check Im not doing anything wrong. My mood-line config is just


  ;;; mode-line
(use-package mood-line
  :straight (mood-line
	     :type git
	     :host gitlab
	     :repo "jessieh/mood-line")
  :config
  (setq mood-line-format
	(mood-line-defformat
	 :left
	 (((mood-line-segment-buffer-status) . " ")
          ((mood-line-segment-buffer-name)   . " : ")
          (mood-line-segment-major-mode))
	 :right
	 (((mood-line-segment-scroll)             . " ")
          ((mood-line-segment-cursor-position)    . "  ")
          ((when (mood-line-segment-checker) "|") . "  ")
          ((mood-line-segment-checker)            . "  "))))
  ;; Enable mood-line
  (mood-line-mode))


Hi @jessieh, Im running mood line on the latest commit [a15d16624](https://git.tty.dog/jessieh/mood-line/commit/a15d166249f04b047a6136856e5be109357762d3) and am running into the same issue. I might dig into it to see if I can help, and also check Im not doing anything wrong. My mood-line config is just ```elisp ;;; mode-line (use-package mood-line :straight (mood-line :type git :host gitlab :repo "jessieh/mood-line") :config (setq mood-line-format (mood-line-defformat :left (((mood-line-segment-buffer-status) . " ") ((mood-line-segment-buffer-name) . " : ") (mood-line-segment-major-mode)) :right (((mood-line-segment-scroll) . " ") ((mood-line-segment-cursor-position) . " ") ((when (mood-line-segment-checker) "|") . " ") ((mood-line-segment-checker) . " ")))) ;; Enable mood-line (mood-line-mode)) ```
jessieh reopened this issue 2024-04-11 04:36:44 +00:00
Owner

Hi @jessieh, Im running mood line on the latest commit a15d16624 and am running into the same issue. I might dig into it to see if I can help, and also check Im not doing anything wrong. My mood-line config is just ...

I've been unable to reproduce this issue with this config. Is this still happening for you? If so, what version of Emacs is the issue occurring on?

> Hi @jessieh, Im running mood line on the latest commit [a15d16624](https://git.tty.dog/jessieh/mood-line/commit/a15d166249f04b047a6136856e5be109357762d3) and am running into the same issue. I might dig into it to see if I can help, and also check Im not doing anything wrong. My mood-line config is just ... I've been unable to reproduce this issue with this config. Is this still happening for you? If so, what version of Emacs is the issue occurring on?
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jessieh/mood-line#8
No description provided.