From: "Peder O. Klingenberg" <peder@klingenberg.no>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Manuel Uberti <manuel.uberti@inventati.org>, 56981@debbugs.gnu.org
Subject: bug#56981: 29.0.50; No org-loaddefs.el file could be found from where org.el is loaded
Date: Thu, 04 Aug 2022 19:55:04 +0200 [thread overview]
Message-ID: <87edxv99mv.fsf@klingenberg.no> (raw)
In-Reply-To: <874jysez9q.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 04 Aug 2022 18:42:25 +0200")
[-- Attachment #1: Type: text/plain, Size: 660 bytes --]
On Thu, 2022-08-04 18:42:25 +0200, Lars Ingebrigtsen wrote:
> Manuel Uberti via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@gnu.org> writes:
>
>> WARNING: No org-loaddefs.el file could be found from where org.el is loaded.
>> You need to run "make" or "make autoloads" from Org lisp directory
>
> Does the following patch fix the issue?
I filed the same bug mere minutes ago. I tried the equivalent of your
patch, but it didn't fix it for me. I attached a patch to my report
which fixed it for me. It hasn't turned up in the bugtracker yet, so I
add it here as well, in lieu of a reference to the other bug number.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-org-org.el-Fix-load-of-compiled-or-compressed-o.patch --]
[-- Type: text/x-diff, Size: 847 bytes --]
From 56eda8882eb3d1ece4a0a8805ac6648236fb3b40 Mon Sep 17 00:00:00 2001
From: "Peder O. Klingenberg" <peder@klingenberg.no>
Date: Thu, 4 Aug 2022 18:04:48 +0200
Subject: [PATCH] * lisp/org/org.el: Fix load of compiled or compressed
org-loaddefs.
---
lisp/org/org.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/org/org.el b/lisp/org/org.el
index e62ee3203b..8bb69e98ce 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -82,8 +82,8 @@ org-inlinetask-min-level
(or (eq this-command 'eval-buffer)
(condition-case nil
(load (concat (file-name-directory load-file-name)
- "org-loaddefs.el")
- nil t t t)
+ "org-loaddefs")
+ nil t nil t)
(error
(message "WARNING: No org-loaddefs.el file could be found from where org.el is loaded.")
(sit-for 3)
--
2.25.1
[-- Attachment #3: Type: text/plain, Size: 13 bytes --]
...Peder...
next prev parent reply other threads:[~2022-08-04 17:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-04 16:16 bug#56981: 29.0.50; No org-loaddefs.el file could be found from where org.el is loaded Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04 16:42 ` Lars Ingebrigtsen
2022-08-04 17:55 ` Peder O. Klingenberg [this message]
2022-08-05 5:38 ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 6:45 ` Eli Zaretskii
2022-08-05 7:20 ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04 16:47 ` Eli Zaretskii
2022-08-04 19:03 ` Pankaj Jangid
2022-08-04 19:11 ` Lars Ingebrigtsen
2022-08-05 6:35 ` Pankaj Jangid
2022-08-05 12:10 ` bug#56981: bug#56982: 29.0.50; Loading org.el fails to load org-loaddefs from installed location Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87edxv99mv.fsf@klingenberg.no \
--to=peder@klingenberg.no \
--cc=56981@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=manuel.uberti@inventati.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).