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-done@debbugs.gnu.org
Subject: bug#14688: 24.3; todo-show errors: wrong-type-argument and file-error
Date: Fri, 05 Jul 2013 16:07:44 +0200	[thread overview]
Message-ID: <87ip0pm767.fsf@rosalinde.fritz.box> (raw)
In-Reply-To: <m1a9mieqo6.fsf@gmail.com>

On Mon, 24 Jun 2013 21:11:10 +0200 Stephen Berman <stephen.berman@gmx.net> wrote:

> 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.

I've now committed a revised patch as part of revision 113288 and am
closing this bug.

This is more modular than my previous patch, and it also handles the
interaction with external file deletion in some other cases, but I
haven't had time to check all cases.  Still, I've committed it now since
it's better than the status quo.  (The revision also includes a new file
deletion command and also fixes several related bugs and does some code,
doc string and comment clean up.)

Steve Berman





      reply	other threads:[~2013-07-05 14:07 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
2013-07-05 14:07       ` Stephen Berman [this message]

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=87ip0pm767.fsf@rosalinde.fritz.box \
    --to=stephen.berman@gmx.net \
    --cc=14688-done@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).