elfeed icon indicating copy to clipboard operation
elfeed copied to clipboard

Symbol's value as variable is void: `byte-compile-root-dir`

Open rudolf-adamkovic opened this issue 3 years ago • 1 comments

Using Emacs from master, I sometimes see this error on initialization:

Symbol's value as variable is void: byte-compile-root-dir

Call stack:

Debugger entered--Lisp error: (void-variable byte-compile-root-dir)
  byte-code("\301\302!\210\10\204\24\0\303\304!\210\303\305!\210\303\306!\210\301\207" [byte-compile-root-dir provide elfeed require elfeed-csv elfeed-show elfeed-search] 2)
  require(elfeed)
  byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\307 \210\300\310!\210\300\311!\210\300\312!\210\300\313!\210\314\315\316\317\320DD..." [require cl-lib shr url-parse browse-url message bookmark bookmark-maybe-load-default-file elfeed elfeed-db elfeed-lib elfeed-search custom-declare-variable elfeed-show-truncate-long-urls funcall function #f(compiled-function () #<bytecode 0x1dc00016fe5d4>) "When non-nil, use an ellipsis to shorten very long..." :group :type boolean elfeed-show-entry-author #f(compiled-function () #<bytecode 0x1dc00016fe5d4>) "When non-nil, show the entry's author (if it's in ..."] 8)
  require(elfeed-show)
  byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\207" [require org cl-lib elfeed-db elfeed-show elfeed-search] 2)
  elfeed-link-store-link()
  org-store-link(nil)
  org-babel-tangle-single-block(1)
  org-babel-tangle-collect-blocks("\\`\\(?:e\\(?:\\(?:macs-\\)?lisp\\)\\)\\'" nil)
  org-babel-tangle(nil "~/config.el" "\\`\\(?:e\\(?:\\(?:macs-\\)?lisp\\)\\)\\'")
  org-babel-tangle-file("~/config.org" "~/config.el" "\\`\\(?:e\\(?:\\(?:macs-\\)?lisp\\)\\)\\'")
  org-babel-load-file("~/config.org")
  eval-buffer(#<buffer  *load*> nil "/Users/salutis/.emacs" nil t)  ; Reading at buffer position 618
  load-with-code-conversion("/Users/salutis/.emacs" "/Users/salutis/.emacs" t t)
  load("~/.emacs" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x155f7991797335>) #f(compiled-function () #<bytecode -0x1f3c6feddc0cf6b5>) t)
  command-line()
  normal-top-level()

rudolf-adamkovic avatar Jun 28 '22 05:06 rudolf-adamkovic

Looks like this was just a temporary bug on the Emacs master branch and it has since been fixed. Emacs' master branch often has breakage, which is to be expected. I'm not worried about dealing with any Emacs issues in Elfeed until those issues make it into at least a release candidate. They usually go away on their own.

For example, I also see there's a new compiler warning, but most instances in Elfeed are false positives. Rather than work around it, I'll wait in case they change the warning behavior upstream before I take action.

skeeto avatar Jul 04 '22 16:07 skeeto

This is not an issue anymore.

rudolf-adamkovic avatar May 06 '24 09:05 rudolf-adamkovic