emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Font-lock problem


From: Christophe Garion
Subject: [emacs-wiki-discuss] Font-lock problem
Date: Thu, 14 Apr 2005 14:04:42 +0200

Hello,

I have a problem related to font-lock, particularly jit-font-lock. I
think there have been some mails about it before. If I modify a plan
page of the following form:

* Task

** Subtasks 1

#A1 _ blablabla 
...

** Subtasks 1

#A2 _ another blablabla


when I save it, I have the following error:

Debugger entered--Lisp error: (args-out-of-range 580 1499)
  put-text-property(580 1499 fontified nil)
  jit-lock-after-change(1403 1499 0)
  insert-buffer-substring(#<buffer Coalition> 1234 1330)
  sort-reorder-buffer((("3A2005.03.02" 1234 . 1330) ("3A2005.04.06" 1331 . 
1402)) (("3A2005.03.02" 1234 . 1330) ("3A2005.04.06" 1331 . 1402)))
  sort-subr(nil forward-line end-of-line planner-sort-tasks-by-link nil)
  sort-fields-1(1 1234 1403 planner-sort-tasks-by-link nil)
  planner-sort-tasks()
  planner-sort-tasks-maybe()
  run-hook-with-args-until-success(planner-sort-tasks-maybe)
  basic-save-buffer()
  save-buffer(1)
  call-interactively(save-buffer)

Of course, when I set :

(setq font-lock-support-mode '((emacs-wiki-mode . lazy-lock-mode)
                               (planner-mode . lazy-lock-mode)
                               (t . jit-lock-mode)))

the problem is solved, but when I open a plan page, there is no
"fontification".

Is there a solution?

Thank you in advance,

Christophe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]