* Failed to load emacs-application-framework with (require 'eaf) method.
@ 2020-12-13 3:37 Hongyi Zhao
2020-12-13 3:55 ` Michael Heerdegen
0 siblings, 1 reply; 3+ messages in thread
From: Hongyi Zhao @ 2020-12-13 3:37 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Failed to load emacs-application-framework with (require 'eaf) method.
2020-12-13 3:37 Failed to load emacs-application-framework with (require 'eaf) method Hongyi Zhao
@ 2020-12-13 3:55 ` Michael Heerdegen
2020-12-13 7:19 ` Hongyi Zhao
0 siblings, 1 reply; 3+ messages in thread
From: Michael Heerdegen @ 2020-12-13 3:55 UTC (permalink / raw)
To: help-gnu-emacs
Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> require(s)
"s" is a string manipulation library. Do you maybe need to install it
for your package to work?
Michael.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Failed to load emacs-application-framework with (require 'eaf) method.
2020-12-13 3:55 ` Michael Heerdegen
@ 2020-12-13 7:19 ` Hongyi Zhao
0 siblings, 0 replies; 3+ messages in thread
From: Hongyi Zhao @ 2020-12-13 7:19 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: help-gnu-emacs
On Sun, Dec 13, 2020 at 11:55 AM Michael Heerdegen
<michael_heerdegen@web.de> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > require(s)
>
> "s" is a string manipulation library. Do you maybe need to install it
> for your package to work?
Thanks a lot for pointing this out. Based on your note, the following
command solved this problem:
M-x package-install s
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-13 7:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-13 3:37 Failed to load emacs-application-framework with (require 'eaf) method Hongyi Zhao
2020-12-13 3:55 ` Michael Heerdegen
2020-12-13 7:19 ` Hongyi Zhao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).