From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Allow #+SETUPFILE to point to an URL for the org file Date: Sat, 03 Dec 2016 17:23:00 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045eb6760e87b80542c44f5b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDE1q-0006VK-90 for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 12:23:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDE1p-0004SA-9i for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 12:23:14 -0500 Received: from mail-ua0-x22f.google.com ([2607:f8b0:400c:c08::22f]:34108) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDE1p-0004Rz-2d for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 12:23:13 -0500 Received: by mail-ua0-x22f.google.com with SMTP id 51so311558723uai.1 for ; Sat, 03 Dec 2016 09:23:12 -0800 (PST) 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 --f403045eb6760e87b80542c44f5b Content-Type: text/plain; charset=UTF-8 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 --f403045eb6760e87b80542c44f5b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I would like to put my common or= g 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


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

wit= h=C2=A0

#+SETUPFILE: /tmp/config.org

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

But has someone already implemented somethin= g like this?

Thanks.
-= -

Kaushal = Modi

--f403045eb6760e87b80542c44f5b--