From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benny Simonsen Subject: Re: Using macros in worg Date: Wed, 3 Nov 2010 20:58:50 +0100 Message-ID: References: <87pqum7dwu.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=57034 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDjTx-0007Px-Bw for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 15:58:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDjTv-0005bV-FG for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 15:58:52 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:61017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDjTv-0005bE-Cl for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 15:58:51 -0400 Received: by gyd8 with SMTP id 8so443811gyd.0 for ; Wed, 03 Nov 2010 12:58:50 -0700 (PDT) In-Reply-To: <87pqum7dwu.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > there's no special setup needed. I had an old org-mode, after upgrade the macros are expanded :) I would like to auto-publish the web page when I push to the central server. I suppose it is writing a {central server}/{web-page repository}.git/hook/post-receive script The script have to open emacs, load the required lisp code (the code listed in the original post) and (org-publish "{webpage project org}") ... but does anybody have such a example hook script that would like to share it? Thank you /Benny