all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

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

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.