emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Can't activate orgmode after the installation of its git master version.
Date: Sun, 27 Dec 2020 15:12:43 +0100	[thread overview]
Message-ID: <20201227141243.GB1578@tuxteam.de> (raw)
In-Reply-To: <CAGP6POLv=sW+2F=VqVcPDdp2AMHgc-eaGzOudLU5F2n7pCK6xg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1467 bytes --]

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 [1] 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.

(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
quest.

Cheers
 - t

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2020-12-27 14:13 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 [this message]
2020-12-27 14:57   ` Hongyi Zhao
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

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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201227141243.GB1578@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=Emacs-orgmode@gnu.org \
    --cc=hongyi.zhao@gmail.com \
    /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/org-mode.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).