From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Failed to load emacs-application-framework with (require 'eaf) method. Date: Sun, 13 Dec 2020 11:37:45 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="705"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 13 04:38:35 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koIDT-00005a-BJ for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 04:38:35 +0100 Original-Received: from localhost ([::1]:53050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koIDS-0006QD-Dk for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 22:38:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koICw-0006Q5-F9 for help-gnu-emacs@gnu.org; Sat, 12 Dec 2020 22:38:02 -0500 Original-Received: from mail-yb1-xb34.google.com ([2607:f8b0:4864:20::b34]:44277) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koICs-0004x2-0O for help-gnu-emacs@gnu.org; Sat, 12 Dec 2020 22:38:02 -0500 Original-Received: by mail-yb1-xb34.google.com with SMTP id x2so12103731ybt.11 for ; Sat, 12 Dec 2020 19:37:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Mzs+zSpMfSBNd0Dt5DaArUPAgFxjiMIB4iUaSUtjqiA=; b=kY5RrqmgIS5WRA8U2kY2WmprMgKPeh9uA6BQpI8xd+3B6GgHYgXpaOODkm3EmdjhKd FryHfQWA8MxVR0uoQqZiwnNNS4pT03iU4tvlqe+8vpEpzeYTcfP5TC6aEBYV5x7ZIxek pgDA3J4+PHvgHN/GUMRzR817ZcEhC6XBNyF8xdZOTXJpGJiwHxb+gCV923w6VFbiK6gI H4XMnaH0uTsdv+y2dDRHx3Fq8QDG5A36s/iMqTe/fAE2BrWhaZBkBKOEmIgxaMk3krrX v6BDsbEs6TfOVjEx7EvWd6K3HLu5hkJcKPl3yIA/BPxUNF7OYFNn8o+/0JRUBeTe8sbK VNfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Mzs+zSpMfSBNd0Dt5DaArUPAgFxjiMIB4iUaSUtjqiA=; b=kTpFK4o54wMseCmDyD16y4Cn0qpFV0zW4nfR1QoD4L9DJk1da7P/w3cAIxaSPGlVSC DK5IW0h7oYy2Nkf/MJKiITB0GRDiWalr/g651NjfPA4Y0tqJXIJ4SRo7NkHVtafCjRZo q8CWy7GA2szH6jgr0E1TMyRRuLgJ9ZIDh+vN1NYhmG73DkVzkT042ldvbP/m9cPJ0FfA RjL8FaBQtrP3ptWX8vzHJZrHIhBetMLSrDaTozM8rlaSRfsfD43bif8orJDdFo7hj0bD O+EaZW2W0xC9yDz7kW1/n7DDh+eXjAU9YP1ONl0wJmu4+AQzRoeWoubro/QULZmIrp+l UrjQ== X-Gm-Message-State: AOAM530sHx8basJmXkOIgh2UIooN6E0rgYy2QLwuNr5Vdy2aVsYs7cNJ K23XZFvqor/lGbGODUsJ2FZZAK2QcsvbKA94WVJGaZgcf9eMypN3 X-Google-Smtp-Source: ABdhPJx1kaFGadg0nBpG8S3r5Wp+fu6THHNQJWZKPrAxHC4Gax5KTZ28kULAVO0Y9UKq1E7BmbCBAqVCJLyVXg8GHY0= X-Received: by 2002:a25:a125:: with SMTP id z34mr28479074ybh.374.1607830676066; Sat, 12 Dec 2020 19:37:56 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::b34; envelope-from=hongyi.zhao@gmail.com; helo=mail-yb1-xb34.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126297 Archived-At: 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(# 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(# 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 () #) #f(compiled-function () #) t) command-line() normal-top-level() Any hints for solving this problem? Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic Vocational and Technical University NO. 552 North Gangtie Road, Xingtai, China