From: Hongyi Zhao <email@example.com>
Subject: Re: Can't activate orgmode after the installation of its git master version.
Date: Sun, 27 Dec 2020 22:57:31 +0800 [thread overview]
Message-ID: <CAGP6POL4c_o8R+_kOHj4ZwN9ZAwQ8bJ+kSPNcTni9HfUmNOzYg@mail.gmail.com> (raw)
On Sun, Dec 27, 2020 at 10:12 PM <firstname.lastname@example.org> wrote:
> On Sun, Dec 27, 2020 at 09:34:18PM +0800, Hongyi Zhao wrote:
> > On Ubuntu 20.10, I compiled the latest git master version of emacs,
> > but I can't activate the org-mode command from within it. So I try to install
> > the orgmode using its git repository according to the official guidance  as
> > shown below.
> > $ git clone https://code.orgmode.org/bzg/org-mode.git
> > Public/repo/code.orgmode.org/bzg/org-mode.git
> > $ cd code.orgmode.org/bzg/org-mode.git
> > $ make autoloads
> > Then add the following lines into ~/.emacs.d/init.el:
> > (add-to-list 'load-path "~/Public/repo/code.orgmode.org/bzg/org-mode.git/lisp")
> > (add-to-list 'load-path
> > "~/Public/repo/code.orgmode.org/bzg/org-mode.git/contrib/lisp" t)
> > But after I started emacs and issue the instructions 'M-x org-mode RET', I
> > see the following information in the minibuffer:
> > M-x org-mode [No match]
> My guess is that org-mode isn't arranged to autoload
> the org library.
> Before doing "M-x org-mode" try doing "M-x load-library <RET> org <RET>".
> If that works, then autoload is your problem.
Yes. It does the trick.
> (Background: Emacs doesn't load all available libraries: this would
> make startup times too long for things you are probably not going to
> need. Instead, it has a mapping of commands to libraries, to help it
> load the right library whenever that command is seen the first time).
> Once we know whether your problem is autoload, we can refine the
Then how should I revise my ~/.emacs.d/init.el to load org library
automatically before enable org-mode?
Assoc. Prof. Hongyi Zhao <email@example.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China
next prev parent reply other threads:[~2020-12-27 14:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-27 13:34 Can't activate orgmode after the installation of its git master version Hongyi Zhao
2020-12-27 14:12 ` tomas
2020-12-27 14:57 ` Hongyi Zhao [this message]
2020-12-27 15:14 ` Hongyi Zhao
2020-12-27 16:18 ` tomas
2020-12-28 0:24 ` Hongyi Zhao
2020-12-28 9:30 ` tomas
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).