emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* cache issue when publishing website with include file
@ 2010-10-12 15:44 Vinh Nguyen
  2010-10-12 16:37 ` Ian Barton
  0 siblings, 1 reply; 3+ messages in thread
From: Vinh Nguyen @ 2010-10-12 15:44 UTC (permalink / raw)
  To: emacs-orgmode

Dear list,

I currently use
#+INCLUDE: "nav.org"

on top of multiple org files (say f1.org, f2.org, ...) to include a
navigation "bar" for my website.  Suppose I update nav.org.  If I
publish the website with "C-c C-e P", then the f1.org, f2.org, ...
files do not get updated/exported since the files were not changed (or
maybe only one of them gets changed since I changed the .org file).

I'm wondering how others are handling this in their work flow?  Delete
the cache directory?  Edit all .org files so they get updated at the
publishing command?

Thanks.
-- Vinh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cache issue when publishing website with include file
  2010-10-12 15:44 cache issue when publishing website with include file Vinh Nguyen
@ 2010-10-12 16:37 ` Ian Barton
  2010-10-13  1:39   ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Barton @ 2010-10-12 16:37 UTC (permalink / raw)
  To: Vinh Nguyen; +Cc: emacs-orgmode

Vinh Nguyen <vinhdizzo@gmail.com> writes:

>
> I'm wondering how others are handling this in their work flow?  Delete
> the cache directory?  Edit all .org files so they get updated at the
> publishing command?
>
I delete the .org-timestamps directory. I guess you could always touch
all the files in your project, so org thinks that they have been changed.
-- 
Best wishes,

Ian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cache issue when publishing website with include file
  2010-10-12 16:37 ` Ian Barton
@ 2010-10-13  1:39   ` Bernt Hansen
  0 siblings, 0 replies; 3+ messages in thread
From: Bernt Hansen @ 2010-10-13  1:39 UTC (permalink / raw)
  To: Ian Barton; +Cc: emacs-orgmode, Vinh Nguyen

Ian Barton <ian@manor-farm.org> writes:

> Vinh Nguyen <vinhdizzo@gmail.com> writes:
>
>>
>> I'm wondering how others are handling this in their work flow?  Delete
>> the cache directory?  Edit all .org files so they get updated at the
>> publishing command?
>>
> I delete the .org-timestamps directory. I guess you could always touch
> all the files in your project, so org thinks that they have been changed.

You can run the publish command with a prefix argument to force
publishing all files in the project.

-Bernt

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-13  1:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-12 15:44 cache issue when publishing website with include file Vinh Nguyen
2010-10-12 16:37 ` Ian Barton
2010-10-13  1:39   ` Bernt Hansen

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).