From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Install orgmode using its git repository. Date: Mon, 28 Dec 2020 00:21:34 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10289"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs To: Hongyi Zhao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 28 06:22:14 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 1ktkz0-0002Zk-Kf for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 06:22:14 +0100 Original-Received: from localhost ([::1]:36920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktkyz-0007zJ-N4 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 00:22:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktkyZ-0007yy-DA for help-gnu-emacs@gnu.org; Mon, 28 Dec 2020 00:21:47 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:49949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktkyU-00014k-QA for help-gnu-emacs@gnu.org; Mon, 28 Dec 2020 00:21:46 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 841AD100246; Mon, 28 Dec 2020 00:21:41 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id F00F7100225; Mon, 28 Dec 2020 00:21:35 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1609132895; bh=eYfxt7/CwWCDGkMTlaGWknL+LIygnyPXN6Z1AKqTq3Q=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=MIAC1R9XDZDXN1ICDLuLYqrLp+yzH4rOQ98lpnZj7s7tIqQc20nth1Zb98qJ/nM0Q KiKYNlI9DpkwpGjf+eKLQAbklUr7Sw7qRzOTFqPecm+H7C26ykqkVQGclRHg/DJrrI 5fOB1xecZJM/Qx4FqzafM9qAihhB+jP0IXm6HUC0Kl7MMCFjgJknNBiF+7vZHN46FL 9NjfuR8QZyY8n/NTeckAMHOldSdF+5kTMSBPE8avq2df4T0u3GGXOq4xRJC5nklTko 7iyEYQlDEoErpc9yqcDlDm70bJ6HzlsnHy8r5UmnGO/3zEwJHMApCsc9bJn65Chiq6 Qc8KXmejZ/d0g== Original-Received: from alfajor (unknown [104.247.243.191]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BEA5E120473; Mon, 28 Dec 2020 00:21:35 -0500 (EST) In-Reply-To: (Hongyi Zhao's message of "Mon, 28 Dec 2020 08:12:46 +0800") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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:126832 Archived-At: >> 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? Not sure what you're asking. Such a function would be a welcome addition to package.el, if that's what you mean. Stefan