emacsorphanage / org-page

[INACTIVE] A static site generator based on Emacs and org mode.
673 stars 99 forks source link

clearing cache not refreshing page layout #132

Open heikkil opened 9 years ago

heikkil commented 9 years ago

It took me some time to confirm that the previous two fixes ( #129, #130 ) work. Partly because of the ongoing GitHub DDoS attack, but also because command (setq op/item-cache nil) did not clear everything. There was no change in the generated index and tag pages until I restarted emacs.

I find it hard to believe that the culprit is my emacs configuration. What could be causing this?

sillykelvin commented 9 years ago

I tried on my box, seems there is no issue, if the cache is cleared, then the templates will be loaded from files, so you will see following message in Message buffer:

Read xxx.mustache from file

You may confirm this first, and then I think you may need to debug the rendering functions like op/render-header to see what happened...

sillykelvin commented 9 years ago

Please refer to http://www.gnu.org/software/emacs/manual/html_node/elisp/Debugging.html if you really need to debug to solve this issue...