From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WPB0BvCz6F/aHgAA0tVLHw (envelope-from ) for ; Sun, 27 Dec 2020 16:18:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KHM6AvCz6F9LcgAA1q6Kng (envelope-from ) for ; Sun, 27 Dec 2020 16:18:56 +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 8ED0D9405D4 for ; Sun, 27 Dec 2020 16:18:55 +0000 (UTC) Received: from localhost ([::1]:36900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktYkw-0001fI-H1 for larch@yhetil.org; Sun, 27 Dec 2020 11:18:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktYkY-0001f7-JS for Emacs-orgmode@gnu.org; Sun, 27 Dec 2020 11:18:30 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:37191) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1ktYkU-0003Jp-Ss for Emacs-orgmode@gnu.org; Sun, 27 Dec 2020 11:18:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=oRoj/vfBcowV5ta7+y8yDmBRylhxdXB5ktfhlOj96Mc=; b=GYFsMgBNd4XZdlRa+k8229a3al0+q8IkM9eCEGLSQe31ExXJMryEb9ttbqR8yTjvzFriyzSonLikfXcwJxXcijsb6Oa+CxAloVLvks+7UmgdzvNTvkfY3AQo4G8Ldt/P1QgxpbWYXsy/kgHaHxyjohOBsPAsN3OhjhbNUkJv58bLyZnwlo/JHeR4RCWgRpgaaEDYKkku26bEizoojgAPp5B8dNqozAwEJMnP1cAy2IqRQP6++QI+TDG7zdZ8z4ke8O0m4GHO4NSPH7Trk2sPLJKwT4wmHAO+Y0isXiYZBZaig6lUF7GNlFoEw+D/lZNcsZ51A4RWipfcB4r3lqah+Q==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1ktYkN-0004bd-4w; Sun, 27 Dec 2020 17:18:19 +0100 Date: Sun, 27 Dec 2020 17:18:19 +0100 From: tomas@tuxteam.de To: Hongyi Zhao Subject: Re: Can't activate orgmode after the installation of its git master version. Message-ID: <20201227161819.GA17298@tuxteam.de> References: <20201227141243.GB1578@tuxteam.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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=GYFsMgBN; 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: 8ED0D9405D4 X-Spam-Score: -4.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: Nof6YjpCSGfw --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 27, 2020 at 11:14:56PM +0800, Hongyi Zhao wrote: [...] > I finally figured out the following initialization code for orgmode > based on your above wonderful notes: >=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) > (require 'org) Great, that works as well. You bypass the autoload mechanism with that -- org gets loaded unconditionally. But since you will use it anyway, it doesn't make that big of a difference. Perhaps someone more knowledgeable than me can teach us how one might add an externally installed package into the autoload machinery. Cheers - t --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEUEARECAAYFAl/os8sACgkQBcgs9XrR2kYXEwCdFSfb8ogoN33nW3QieUrwRiNC O8EAljXYeJZQYmKjs0iApbpZGvFzeKA= =x5VQ -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--