GNU bug report logs -
#14688
24.3; todo-show errors: wrong-type-argument and file-error
Previous Next
Reported by: Leo Liu <sdl.web <at> gmail.com>
Date: Sat, 22 Jun 2013 04:06:01 UTC
Severity: normal
Found in version 24.3
Done: Stephen Berman <stephen.berman <at> gmx.net>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 14688 <at> debbugs.gnu.org (full text, mbox):
On Mon, 24 Jun 2013 09:25:39 +0800 Leo Liu <sdl.web <at> gmail.com> wrote:
> On 2013-06-24 06:18 +0800, Stephen Berman wrote:
>> The patch fixes some other problems beside those you reported, but which
>> arise similarly. I found them when I tried to reproduce your recipe.
>> When I do exactly the above four steps in your recipe, I actually don't
>> get the errors you reported and the category is displayed normally.
>> However, if between steps 3 and 4 of your recipe I kill the buffer
>> visiting the todo file, then I do get the errors. But if I don't kill
>> the buffer and also don't save it before trying to use other Todo mode
>> commands, other problems arise. The patch tries to avoid these problems
>> as well as the ones you reported.
>
> The patch seems to work well. Thanks.
Thanks for checking. However, I'm convinced that the problem is more
pervasive, and rather than tacking similar patches to each place in the
code it can arise, I'd like to see if I can modularize the fix at least
to some extent. This may take a bit of time. In the mean time, I would
suggest that, if you want to use the package more (BTW, thank you very
much for trying it out), you should avoid deleting todo files while the
library is loaded (there's no problem deleting them before loading the
library). I don't think that should cause any great inconvenience or
problem (or if it does, then that would indicate another bug, which it
would be good to find out about); at least I never had the need to do
that in all the time I was developing the package (which is why I didn't
think to try and prevent the problem). If I can't come up with a better
solution in a reasonably short time, I'll fall back to a piecemeal
approach, starting with the patch I posted.
Thanks again for testing!
Steve Berman
This bug report was last modified 12 years and 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.