Joseph Kiniry <address@hidden> writes:
Hi all,
I am an old-school, multi-year planner/wiki/and now muse user. I
have many years of logs, thousands of old tasks, etc. The new muse
foundations are lovely and most things are working very well.
The one thing that is not working well is rendering updates when
tasks are added or changed. In particular, it seems that every page
that is cross-referenced in a given page is re-fontified, even if it
has not been changed. This means that, particularly for my daily
pages which typically have several dozen open tasks cross-referenced
across a dozen or two pages, adding a single task and waiting for the
fontification update takes a significant period of time even on my
5GHz box. :) Any chance that we can only re-render the specific
pages that have been touched?
This patch seems to do the job: I think the font-locking only happens
when a new file is opened and planner-mode explicitly calls the buffer
highlighting function.
Regards,
--
Jim Ottaway
--- orig/planner.el
+++ mod/planner.el
@@ -821,7 +821,8 @@
(defmacro with-planner-update-setup (&rest body)
"Execute BODY then save buffers according to `planner-tasks-file-
behavior'.
Also sets some variables to modify font-lock behaviour while
updating."
- (let ((live-buffers (make-symbol "live-buffers")))
+ (let ((muse-mode-highlight-p nil)
+ (live-buffers (make-symbol "live-buffers")))
`(save-window-excursion
(save-excursion
(save-restriction
_______________________________________________
emacs-wiki-discuss mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss