org-page icon indicating copy to clipboard operation
org-page copied to clipboard

clearing cache not refreshing page layout

Open heikkil opened this issue 9 years ago • 2 comments

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?

heikkil avatar Mar 29 '15 07:03 heikkil

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 avatar Mar 30 '15 15:03 sillykelvin

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

sillykelvin avatar Mar 30 '15 15:03 sillykelvin