From: Nick Dokos <nicholas.dokos@hp.com>
To: lbmlist@hethcote.com
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: batch publish all, forcing. how?
Date: Thu, 07 Apr 2011 18:38:44 -0400 [thread overview]
Message-ID: <12300.1302215924@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from lbmlist@hethcote.com of "Thu, 07 Apr 2011 16:31:12 MDT." <alpine.DEB.2.02.1104071626100.30762@caritas.hethcote.com>
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
next prev parent reply other threads:[~2011-04-07 22:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-07 22:31 batch publish all, forcing. how? lbmlist
2011-04-07 22:38 ` Nick Dokos [this message]
2011-04-08 2:16 ` lbmlist
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12300.1302215924@alphaville.usa.hp.com \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=lbmlist@hethcote.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).