* batch publish all, forcing. how?
@ 2011-04-07 22:31 lbmlist
2011-04-07 22:38 ` Nick Dokos
0 siblings, 1 reply; 3+ messages in thread
From: lbmlist @ 2011-04-07 22:31 UTC (permalink / raw)
To: emacs-orgmode
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?
Thanks in advance,
Louis
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: batch publish all, forcing. how?
2011-04-07 22:31 batch publish all, forcing. how? lbmlist
@ 2011-04-07 22:38 ` Nick Dokos
2011-04-08 2:16 ` lbmlist
0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2011-04-07 22:38 UTC (permalink / raw)
To: lbmlist; +Cc: nicholas.dokos, emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: batch publish all, forcing. how?
2011-04-07 22:38 ` Nick Dokos
@ 2011-04-08 2:16 ` lbmlist
0 siblings, 0 replies; 3+ messages in thread
From: lbmlist @ 2011-04-08 2:16 UTC (permalink / raw)
To: Nick Dokos; +Cc: lbmlist, emacs-orgmode
On Thu, 7 Apr 2011, Nick Dokos wrote:
>
> 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
>
>
>
Thank you, works a treat.
There are so many changes being applied at this stage I am rm'ing the
target and regenerating when I do a full publish. In a month or so,
that'll be overkill.
Louis
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-04-08 2:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07 22:31 batch publish all, forcing. how? lbmlist
2011-04-07 22:38 ` Nick Dokos
2011-04-08 2:16 ` lbmlist
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).