[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Failed to load emacs-application-framework with (require 'eaf) method.
From: |
Hongyi Zhao |
Subject: |
Failed to load emacs-application-framework with (require 'eaf) method. |
Date: |
Sun, 13 Dec 2020 11:37:45 +0800 |
Hi,
On Ubuntu 20.10, I compiled the latest git master version of emacs.
Then I try to load [the emacs-application-framework
package](https://github.com/manateelazycat/emacs-application-framework)
from within emacs. For this purpose, I put the following lisp snippets
in ~/.emacs.d/init.el:
;;---------
(defun add-subdirs-to-load-path (dir)
"Recursive add directories to `load-path'."
(let ((default-directory (file-name-as-directory dir)))
(add-to-list 'load-path dir)
(normal-top-level-add-subdirs-to-load-path)))
(add-subdirs-to-load-path
"~/elisp/manateelazycat/emacs-application-framework.git")
(require 'eaf)
;;---------------
When starting emacs with `emacs --debug-init', I meet the following error:
require(s)
eval-buffer(#<buffer *load*-364872> nil
"/home/werner/elisp/manateelazycat/emacs-application-framework.git/eaf.el"
nil t) ; Reading at buffer position 2240
load-with-code-conversion("/home/werner/elisp/manateelazycat/emacs-application-framework.git/eaf.el"
"/home/werner/elisp/manateelazycat/emacs-applicatio..." nil t)
require(eaf)
eval-buffer(#<buffer *load*> nil "/home/werner/.emacs.d/init.el"
nil t) ; Reading at buffer position 2645
load-with-code-conversion("/home/werner/.emacs.d/init.el"
"/home/werner/.emacs.d/init.el" t t)
load("/home/werner/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode
-0x6b0f4b36ab07ca6>) #f(compiled-function () #<bytecode
0x130138584040ab13>) t)
command-line()
normal-top-level()
Any hints for solving this problem?
Regards
--
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic Vocational and Technical University
NO. 552 North Gangtie Road, Xingtai, China
- Failed to load emacs-application-framework with (require 'eaf) method.,
Hongyi Zhao <=