From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: batch publish all, forcing. how? Date: Thu, 07 Apr 2011 18:38:44 -0400 Message-ID: <12300.1302215924@alphaville.usa.hp.com> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=57347 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7xqj-0006DG-BJ for emacs-orgmode@gnu.org; Thu, 07 Apr 2011 18:38:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7xqh-0001EF-5D for emacs-orgmode@gnu.org; Thu, 07 Apr 2011 18:38:47 -0400 Received: from g6t0184.atlanta.hp.com ([15.193.32.61]:37478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7xqh-0001DQ-25 for emacs-orgmode@gnu.org; Thu, 07 Apr 2011 18:38:47 -0400 In-Reply-To: Message from lbmlist@hethcote.com of "Thu, 07 Apr 2011 16:31:12 MDT." 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: lbmlist@hethcote.com Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org lbmlist@hethcote.com wrote: > > I've been experimenting with: > > emacs23 --batch -l ~/.emacs -f org-publish-all > > to publish a total fresh version of my project, but it misses some > files (an unchanging .css for example) > > I suspect the optional force (defun org-publish-all (&optional force)... > might help, but I don't know lisp well enough to know how to send it > force. > > Can someone offer a howto? > Add a function to your .emacs --8<---------------cut here---------------start------------->8--- (defun org-publish-all-force () (interactive) (org-publish-all t)) --8<---------------cut here---------------end--------------->8--- and call it instead of org-publish-all on the command line. But if the css file is unchanging, why does it matter? Nick