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

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

[emacs-wiki-discuss] planner-sort-tasks problem when there's more than o


From: Dryice Liu
Subject: [emacs-wiki-discuss] planner-sort-tasks problem when there's more than one blank line
Date: Wed, 22 Dec 2004 11:08:23 +0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix)

Hi,

I've got a wired problem:

If I have more than one blank lines in the plan page, and I call
"planner-sort-tasks", I got a backtrace like this:

,----
| Debugger entered--Lisp error: (args-out-of-range 928 1712)
|   put-text-property(928 1712 fontified nil)
|   jit-lock-after-change(1614 1712 0)
|   insert-buffer-substring(#<buffer 2004.12.22> 1431 1529)
|   sort-reorder-buffer(((100 1431 . 1529) (3100 1530 . 1613)) ((100 1431 . 
1529) (3100 1530 . 1613)))
|   sort-subr(nil forward-line end-of-line planner-sort-tasks-default-key nil)
|   sort-fields-1(1 1431 1614 planner-sort-tasks-default-key nil)
|   planner-sort-tasks()
| * call-interactively(planner-sort-tasks)
|   execute-extended-command(nil)
|   call-interactively(execute-extended-command)
`----

And the first task after the second blank line got duplicated at the
third blank line, say I have

,----
| #A1 _ task 1
| #A2 _ task 2
| 
| #A3 _ task 3
| 
| #A4 _ task 4
| #A5 _ task 5
| 
| #A6 _ task 6
`----

After the error it will be

,----
| #A1 _ task 1
| #A2 _ task 2
| 
| #A3 _ task 3
| 
| #A4 _ task 4
| #A5 _ task 5
| #A4 _ task 4
| #A6 _ task 6
`----

Does anyone got the same problem as I do?

-- 
Cheers,
Dryice

http://dryice.3322.org





reply via email to

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