From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Failed to load emacs-application-framework with (require 'eaf) method.
Date: Sun, 13 Dec 2020 11:37:45 +0800 [thread overview]
Message-ID: <CAGP6PO+ehwv=Yc_D_FpLafxLvM9ePXtz_tBJtZ1N6UtvGuvUuA@mail.gmail.com> (raw)
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
next reply other threads:[~2020-12-13 3:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-13 3:37 Hongyi Zhao [this message]
2020-12-13 3:55 ` Failed to load emacs-application-framework with (require 'eaf) method Michael Heerdegen
2020-12-13 7:19 ` Hongyi Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGP6PO+ehwv=Yc_D_FpLafxLvM9ePXtz_tBJtZ1N6UtvGuvUuA@mail.gmail.com' \
--to=hongyi.zhao@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.