From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Install orgmode using its git repository. Date: Mon, 28 Dec 2020 08:12:46 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4389"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 28 01:13:21 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ktgA4-000124-Se for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 01:13:20 +0100 Original-Received: from localhost ([::1]:57654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktgA3-0004NO-UK for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 27 Dec 2020 19:13:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktg9l-0004N2-1Y for help-gnu-emacs@gnu.org; Sun, 27 Dec 2020 19:13:01 -0500 Original-Received: from mail-yb1-xb33.google.com ([2607:f8b0:4864:20::b33]:46447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktg9j-0002Uu-7O for help-gnu-emacs@gnu.org; Sun, 27 Dec 2020 19:13:00 -0500 Original-Received: by mail-yb1-xb33.google.com with SMTP id f6so8469676ybq.13 for ; Sun, 27 Dec 2020 16:12:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NoGJ1hzfB4GJjqNRywu6Bo2qAXvbiG3SqI7NyxnTTKo=; b=pMPO2n7+N8wPWvUXvTqoTrbORqAFzWWg015xaxQJXYYLhKhmB/bDyRgye7TBNC+ZLV h3qXWZtVky12Ot/jMHmLAnQK2eR5tCJSHOK5Ci7PnoShVIvysvgzsLR68TX3wDH9eKLp 5jNYGDOc4ggUoEFixiMFmHxfqtJvfRRdNyXHVRfj2pXjJyfyMUs66a6EqB/SqzisZxeT cGWoOQXtY1DhMx7M1QUJKa1RrBl2ugPjqvq+qTH7Zi6inytboulEeDqEuFeSZmoLDTfy cVkVxsMCZaUjZYNZRKQJ7MMKWVSIJ3YWouUdRvWjHF266H8SwE3/VQ481zrvbv181Qyx 3fcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NoGJ1hzfB4GJjqNRywu6Bo2qAXvbiG3SqI7NyxnTTKo=; b=JgB2jDXX07HxhVYtgi/IRErYCtMolPLBXKaF7FGKCQh+0Yjq4WUzCSZPiS8yoodTVU Pjcn+ZXDxsp8N/LckrFypK4Dn4RrjfIcXiDOLNmVEr13jqQj5/zZAs20+biZw8b2ulJy swkd+ymCTkfZiOI0IyFVIC0ra7Syw7IyXCm0XkniTKyBemX5DjxKwvbwIdLNC7rS/4AD Mnl++9fWOiLCDWPnlp6GIjvByTfm4Z+51495DmsR8qTX3R2P3yVq2HJ9TO8Bl2GqD/0A GryvTa7cbLQNC87AKr2Nxvu1sHN/GjDN/Zl8v/DBl3RM8r/+Z+xQhWygBYukAc+TGyAQ gasw== X-Gm-Message-State: AOAM5300d0naFrkqQyvt1XV7K1GQUXlWOws8txadaU7/gcRT2WYahdvq Ul8+X5PwVCXWcPupZbkh8RsVgyuydpwO2y9ihG4= X-Google-Smtp-Source: ABdhPJyE1SGpWf5HTT1/39snUv6moOY+LU8G7dQxTUJNAltMtoQ947IuuqqNjinLgXVyC6ec0VXrfXz/h8bekmUbyO8= X-Received: by 2002:a25:a28d:: with SMTP id c13mr62211301ybi.420.1609114378121; Sun, 27 Dec 2020 16:12:58 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b33; envelope-from=hongyi.zhao@gmail.com; helo=mail-yb1-xb33.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126819 Archived-At: On Mon, Dec 28, 2020 at 12:18 AM Stefan Monnier wrote: > > BTW, you can also install the latest code from Git via package.el: > > M-x url-handler-mode RET ;; Assuming it's not already enabled > C-x C-f https://elpa.gnu.org/devel/org.tar RET > M-x package-install-from-buffer RET If I want to implement the above codes as a package-install-from-repo function with the pakcage's URL as the argument, then how should I rewrite the above code? > > Stefan > > > Hongyi Zhao [2020-12-27 14:23:28] wrote: > > On Ubuntu 20.10, I compiled the latest git master version of emacs, > > but I can't the org-mode command from within it. So I try to install > > the orgmode using its git repository according to the 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- RET', I > > see the following information in the minibuffer: > > > > Possible completions are: > > org-decrypt-entries org-decrypt-entry > > org-encrypt-entries org-encrypt-entry > > > > As you can see, the org-mode is still not available. Any hints for > > solving this problem is highly appreciated. > > > > [1] https://orgmode.org/manual/Installation.html. > > > > Regards > > -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic University of Science and Technology engineering NO. 552 North Gangtie Road, Xingtai, China