unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Leo Liu <sdl.web@gmail.com>
Cc: 14688@debbugs.gnu.org
Subject: bug#14688: 24.3; todo-show errors: wrong-type-argument and file-error
Date: Mon, 24 Jun 2013 21:11:10 +0200	[thread overview]
Message-ID: <87li5zcoj5.fsf@rosalinde.fritz.box> (raw)
In-Reply-To: <m161x4e1v0.fsf@gmail.com> (Leo Liu's message of "Mon, 24 Jun 2013 09:25:39 +0800")

On Mon, 24 Jun 2013 09:25:39 +0800 Leo Liu <sdl.web@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





  reply	other threads:[~2013-06-24 19:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-22  4:05 bug#14688: 24.3; todo-show errors: wrong-type-argument and file-error Leo Liu
2013-06-23 22:18 ` Stephen Berman
2013-06-24  1:25   ` Leo Liu
2013-06-24 19:11     ` Stephen Berman [this message]
2013-07-05 14:07       ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87li5zcoj5.fsf@rosalinde.fritz.box \
    --to=stephen.berman@gmx.net \
    --cc=14688@debbugs.gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).