From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AKdYBYuW6F8COAAA0tVLHw (envelope-from ) for ; Sun, 27 Dec 2020 14:13:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IP4wAYuW6F9lawAAB5/wlQ (envelope-from ) for ; Sun, 27 Dec 2020 14:13:31 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4648E940355 for ; Sun, 27 Dec 2020 14:13:30 +0000 (UTC) Received: from localhost ([::1]:47818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktWnZ-0004DH-8E for larch@yhetil.org; Sun, 27 Dec 2020 09:13:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktWn7-0004DA-7s for Emacs-orgmode@gnu.org; Sun, 27 Dec 2020 09:13:01 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:36935) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1ktWn4-0003De-MH for Emacs-orgmode@gnu.org; Sun, 27 Dec 2020 09:13:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:Date; bh=3GbQ6i+1aCeu5TL+NMAizOdt7tz1VY9K7IioO6UrBHs=; b=MAqCYe3fcFv3EK9DKZudp8gg4n0aYzWAudcIKmnwE1eUqWxUO//bIGMOg37ygkfjSkrNiDNmmwLwCNOYszYHln2jvuYcjVVOmo83MO/kY+ZW5WUOQI9glVCU3F5P1tWJMEQewDemaR0RJuO/eLs6uDVEzhcmezL8feK4LCk8C7HdBkTi2sH6joBvzu6GRhoG6nX9RV6S4PqSgs0zTHhB9FoAJ63wYJ/Wq7VtAaYi1bMHltnFRX1RYPTk2mZ4DfZkosgx7/iTZIdieYz18DGeetwXKbhtBdbj02F/4vxplb7DZEfsRVilWpnFZZ3Wu2fajjNgWuhgT5lJgk+HURAN9w==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1ktWmp-0003X9-Si; Sun, 27 Dec 2020 15:12:44 +0100 Date: Sun, 27 Dec 2020 15:12:43 +0100 To: Hongyi Zhao Subject: Re: Can't activate orgmode after the installation of its git master version. Message-ID: <20201227141243.GB1578@tuxteam.de> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4SFOXa2GPu3tIq4H" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) From: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tuxteam.de header.s=mail header.b=MAqCYe3f; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 4648E940355 X-Spam-Score: -4.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: KvdcU4Cmh/JQ --4SFOXa2GPu3tIq4H Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 ins= tall > the orgmode using its git repository according to the official guidance [= 1] as > shown below. >=20 > $ 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 >=20 > Then add the following lines into ~/.emacs.d/init.el: >=20 > (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) >=20 > But after I started emacs and issue the instructions 'M-x org-mode RET', I > see the following information in the minibuffer: >=20 > 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 org ". 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 --4SFOXa2GPu3tIq4H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl/ollsACgkQBcgs9XrR2kYyRQCcDxfH39HD+a6YQeoEKtPmmnHx xoAAn15a1Q80Nn/ol7EiF+VrrNYmGyim =T43E -----END PGP SIGNATURE----- --4SFOXa2GPu3tIq4H--