Questions tagged [load]
The load tag has no summary.
58 questions
0 votes
1 answer
43 views
Providing a feature doesn't load function definitions from its file
I have a file as: .... (require 'widget) .... (ert-deftest my-test () .... (widget-convert type) ...) .... I loaded the file with (load-file (buffer-file-name)) and no error. But when run tests ...
0 votes
1 answer
60 views
Find out name of file that is loaded during startup
I'm writing a package with several different files, in which the placement of the root directory is important. Since I don't know where other users will put the package, I thought I'd be clever and ...
2 votes
0 answers
216 views
On startup `run-hooks: Cannot open load file: No such file or directory, emacs` for `emacs` package itself
Due to an misformed Makefile I deleted my ~/.config dir which contained all my Emacs setting under .config/emacs following XDG-sheme. Luckily I had a backup of all my dotfiles so no big problem -- I ...
0 votes
3 answers
82 views
disappearing function
I've got a standard function that seems to disappear on launch. After about a half an hour to an hour of use the function becomes available again. (avy-org-refile-as-child) The function appears to be ...
-1 votes
1 answer
137 views
Why does emacs not load full configuration until `load-file` is called?
tl;dr I have the following snippet in config file: (setq-default indent-tabs-mode nil) (setq-default tab-width 4) (setq indent-line-function 'insert-tab) It does not load until I load the init ...
0 votes
1 answer
65 views
How can I get the old GNEVE to work?
I wanted to try GNEVE, the video editor for Emacs, but its code is from 2008;) (use-package gneve :ensure t) Debugger entered--Lisp error: (error "Loading file /home/b0ef/.emacs.d/straight/build/...
0 votes
1 answer
2k views
how to load a file in init.el
I have a ~/.emacs.d/init.el which includes:- (load-file "blabla.el") blabla.el is in ~/.emacs.d/ When I start emacs I get this error:- File is missing: Cannot open load file, No such file or ...
2 votes
1 answer
211 views
Function load raises error on loading an existing file
I started getting an error on loading theme files and tracked it down to the (load) function being called by (load-theme). I tried to isolate the problem with the following test function and am still ...