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 13:40:26 +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="6702"; 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 06:41:33 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 1ktlHh-0001du-3s for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 06:41:33 +0100 Original-Received: from localhost ([::1]:48112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktlHg-0005pz-4H for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 00:41:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktlGq-0005pe-BF for help-gnu-emacs@gnu.org; Mon, 28 Dec 2020 00:40:40 -0500 Original-Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]:38341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktlGo-00021U-EF for help-gnu-emacs@gnu.org; Mon, 28 Dec 2020 00:40:40 -0500 Original-Received: by mail-yb1-xb32.google.com with SMTP id r63so2002885ybf.5 for ; Sun, 27 Dec 2020 21:40:37 -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=4j/ghlAjRxD/945VBsUgh78mskUMxiSnwj9ukAhNHI8=; b=rzjHTFJxgAQF+dRwvUyPFEjAfjCdR2m+erkcA8a2/Ys1eHNsO0dglTInaLYbMACTEc po36Q6uBh/8VFz+i6AzWRCStToVmWzePlZxpkmVcsdOc1kk517OGlyxqTkn3SkrDGvr8 WRmLRUHboUY5M9uymCTZSyZfutePMEvHGBVhpnVi1WhqLGkxevsumRapWYPpMjNf9ixA 74m1SKFGaljiU7+lWcI9ZJ8Ha+zTEt6jwWw+ZDyfnRrnWsl75mai+JO4hZtNGj+0ai6w p7k/yYQtJObAZTWxETWt/XtB6sd4Pvy/0bm1q5A3q8HvlphE/L6s7nwXwxlh7xmAK0Tk 3T4w== 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=4j/ghlAjRxD/945VBsUgh78mskUMxiSnwj9ukAhNHI8=; b=TM5OegQPouWBehmwGv1Px3OYW97dpp0UglAqdzgaX7uTcXeXRqEbUEmVVXgSMIVfKS RqRjJm+mo2FersRSX6IiICH4ELabdzobtm80CMaeMoWY9+CeA2HnDyPdI4NiREyWnGcR FNrIrKhlcDccKRIG7FFkEGzvdEDwFMEiVwPnTFl6U+BjBQ81blZZCIoAdORLf4s8b5NP bOIF1ijJFhI9KOZ7g2FrOeNMmpZ9oEPNz3Sp5zxq+wTxd5DpiUh/SJpShKJbmfi/vYgw gxpqzUnaYjMfUOczJPeLbNEF4xB1zWRYFdWLeyw0nMIjftZ6OoFjFFbEFiOy5CYM72iC 3sog== X-Gm-Message-State: AOAM533DbhlPfg3vhatk/yPkHov9nndTjWDmpHFIlvn1HN+MXgoU2jIE T7de3It9S/L53DGxkeA9ZOBg38Bpfd7nIqoS8W4= X-Google-Smtp-Source: ABdhPJwYIdJUYfr1jU96vkAQ+8aNhpojnppqqP759G35VE1XzeXTQGqOlolj5G6scE18kjkQFWratyAXgvJ1OhoLFJE= X-Received: by 2002:a25:c095:: with SMTP id c143mr62632311ybf.119.1609134037242; Sun, 27 Dec 2020 21:40:37 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b32; envelope-from=hongyi.zhao@gmail.com; helo=mail-yb1-xb32.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:126835 Archived-At: On Mon, Dec 28, 2020 at 1:21 PM 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? > > Not sure what you're asking. Such a function would be a welcome > addition to package.el, if that's what you mean. I just noticed that this question has been discussed on stackexchange: https://emacs.stackexchange.com/questions/51586/is-there-a-package-manager-for-emacs-that-can-use-git-repositories-directly also, by the author of straight.el: https://github.com/raxod502/straight.el#comparison-to-other-package-managers 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