emacs/var/elfeed/db/data/30/30c15349b3b581f80d21480a389bc2f1b20869e9
2022-01-03 12:49:32 -06:00

1 line
3.9 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Hi,</p> <p>I just set up a new host with Xubuntu 20.04 LTS which comes with <code>GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14) of 2020-03-26, modified by Debian</code>.</p> <p>Of course, I&#39;m reusing my config from <a href="https://github.com/novoid/dot-emacs">here</a> which worked on Emacs 28.0.50 (my previous host that died and had a snapshot release installed which I could not re-install) and which still works on Emacs 26.3 on another Xubuntu 20.04 LTS machine - the very same Emacs version.</p> <p>Therefore, I&#39;m puzzled of this error message on startup:</p> <pre><code> Debugger entered--Lisp error: (void-function make-closure) make-closure(#f(compiled-function (url arg) #&lt;bytecode 0x12db8d9&gt;) &quot;ftp&quot;) byte-code(&quot;\300\301\302\303#\210\304\211\203\035\0\211@\300\001\302\305\306\005\&quot;#\210\001A\266\202\202\007\0\207&quot; [org-link-set-parameters &quot;help&quot; :follow org-link--open-help (&quot;ftp&quot; &quot;http&quot; &quot;https&quot; &quot;mailto&quot; &quot;news&quot;) make-closure #f(compiled-function (url arg) #&lt;bytecode 0x12db8d9&gt;)] 8) require(ol) byte-code(&quot;\302\303!\210\302\304!\210\302\305!\210\302\306!\210\010\307=\204;\0\3101*\0\311\312\011!\313P\314\315\211\211%0\210\202;\0\210\316\317!\210\320\321!\210\316\322!\210\320\321!\210\302\323!\210\302\324!\210\302\325!\210\302\326!\210\302\327!\210\302\330!\210\302\331!\207&quot; [this-command load-file-name require cl-lib calendar find-func format-spec eval-buffer (error) load file-name-directory &quot;org-loaddefs.el&quot; nil t message &quot;WARNING: No org-loaddefs.el file could be found from where org.el is loaded.&quot; sit-for 3 &quot;You need to run \&quot;make\&quot; or \&quot;make autoloads\&quot; from Org lisp directory&quot; org-macs org-compat org-keys ol org-table org-fold org-cycle] 6) require(org) eval-buffer(#&lt;buffer *load*&gt; nil &quot;/home/vk/.emacs.d/init.el&quot; nil t) ; Reading at buffer position 1590 load-with-code-conversion(&quot;/home/vk/.emacs.d/init.el&quot; &quot;/home/vk/.emacs.d/init.el&quot; t t) load(&quot;/home/vk/.emacs.d/init&quot; t t) #f(compiled-function () #&lt;bytecode 0x1e0f4d&gt;)() command-line() normal-top-level() </code></pre> <p>This error message is invoked at the <code>(require &#39;org)</code> line right at the start of my <code>init.el</code>:</p> <pre><code> (package-initialize) (defvar my-init-el-start-time (current-time) &quot;Time when init.el was started&quot;) (setq my-user-emacs-directory &quot;~/.emacs.d/&quot;) ;; set paths to manually installed Org-mode (from git; instead of built-in Org-mode) (add-to-list &#39;load-path (concat my-user-emacs-directory &quot;contrib/org-mode/contrib/lisp&quot;)) (add-to-list &#39;load-path (concat my-user-emacs-directory &quot;contrib/org-mode/lisp&quot;)) (require &#39;org) [...] </code></pre> <p>Since the config should be fine, I guess the error is caused by something related to the (binary) setup on this new machine or a potential Org-mode conflict (my git version vs. any default Org) which should not happen because of my load-path and a dummy package according to Alan&#39;s posting below as far as I understood.</p> <p>Do you have an idea what might be the issue on this machine? I&#39;m really stuck here.</p> <pre><code>From: Alan Schmitt &lt;alan.schmitt@polytechnique.org&gt; Newsgroups: gmane.emacs.orgmode Subject: Re: Org-mode via ELPA and via git in parallel Date: Thu, 28 Jan 2016 11:21:42 +0100 Message-ID: &lt;m2vb6e2edl.fsf@charm-wifi.irisa.fr&gt; </code></pre> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/publicvoit"> /u/publicvoit </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/qtnczo/lisp_error_voidfunction_makeclosure_on_loading/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/orgmode/comments/qtnczo/lisp_error_voidfunction_makeclosure_on_loading/">[comments]</a></span>