From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: Allow #+SETUPFILE to point to an URL for the org file Date: Thu, 08 Dec 2016 11:51:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1143d6f439fde305432442c4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cExFy-0004VG-9G for emacs-orgmode@gnu.org; Thu, 08 Dec 2016 06:52:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cExFv-0004TH-6L for emacs-orgmode@gnu.org; Thu, 08 Dec 2016 06:52:58 -0500 Received: from mail-vk0-f47.google.com ([209.85.213.47]:35311) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cExFv-0004Hg-0C for emacs-orgmode@gnu.org; Thu, 08 Dec 2016 06:52:55 -0500 Received: by mail-vk0-f47.google.com with SMTP id w194so227961715vkw.2 for ; Thu, 08 Dec 2016 03:52:33 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-org list --001a1143d6f439fde305432442c4 Content-Type: text/plain; charset=UTF-8 Anyone? On Sat, Dec 3, 2016, 12:23 PM Kaushal Modi wrote: > Hello, > > I would like to put my common org config in github so that I can access it > from anywhere/any machine. > > Currently I have > > #+SETUPFILE: ~/org/common/config.org > > I would like to do something like > > #+SETUPFILE: https://cdn.rawgit.com/path/to/config.org > > I can probably add an async shell execution to wget that link, save it to > /tmp/config.org and then replace > > #+SETUPFILE: https://cdn.rawgit.com/path/to/config.org > > with > > #+SETUPFILE: /tmp/config.org > > in, may be, org-export-before-processing-hook? > > But has someone already implemented something like this? > > Thanks. > -- > > Kaushal Modi > -- Kaushal Modi --001a1143d6f439fde305432442c4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Anyone?


On Sat, Dec 3, 2016, 12:23 = PM Kaushal Modi <kaushal.modi@= gmail.com> wrote:
Hello,

I would like to put my common org c= onfig in github so that I can access it from anywhere/any machine.

Currently I have

#+SETUPFILE: ~/org/common/config.org

I would like to do something like


I can probably add= an async shell execution to wget that link, save it to /tmp/config.org and th= en replace=C2=A0


=

in, may be, org-export-before-processing-hook?

But has someone already implemented something like this?

Thanks.
--
=

Kaushal Modi

--

Kaushal Modi

--001a1143d6f439fde305432442c4--