From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#14688: 24.3; todo-show errors: wrong-type-argument and file-error Date: Fri, 05 Jul 2013 16:07:44 +0200 Message-ID: <87ip0pm767.fsf@rosalinde.fritz.box> References: <877ghk79o3.fsf@rosalinde.fritz.box> <87li5zcoj5.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373033295 848 80.91.229.3 (5 Jul 2013 14:08:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2013 14:08:15 +0000 (UTC) Cc: 14688-done@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 05 16:08:14 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uv6gH-0004vv-Ae for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jul 2013 16:08:13 +0200 Original-Received: from localhost ([::1]:54777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv6gG-0007uF-SN for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jul 2013 10:08:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv6gB-0007u6-Kv for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2013 10:08:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uv6g7-0003P0-Je for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2013 10:08:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv6g7-0003Oq-GW for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2013 10:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Uv6g6-0004q7-W0 for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2013 10:08:03 -0400 In-Reply-To: Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jul 2013 14:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 14688 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 14688@debbugs.gnu.org, stephen.berman@gmx.net, sdl.web@gmail.com Original-Received: via spool by 14688-done@debbugs.gnu.org id=D14688.137303327518574 (code D ref 14688); Fri, 05 Jul 2013 14:08:02 +0000 Original-Received: (at 14688-done) by debbugs.gnu.org; 5 Jul 2013 14:07:55 +0000 Original-Received: from localhost ([127.0.0.1]:60200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uv6fy-0004pQ-UF for submit@debbugs.gnu.org; Fri, 05 Jul 2013 10:07:55 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:55110) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uv6fw-0004ot-VX for 14688-done@debbugs.gnu.org; Fri, 05 Jul 2013 10:07:53 -0400 Original-Received: from rosalinde.fritz.box ([89.245.89.66]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MRjd7-1UoktU24gz-00SxI7; Fri, 05 Jul 2013 16:07:45 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:+4nMwLcLVo7yf1DSDLDGYCdZMaMYPa/MYh5+1D4XQ87Vm+8i6pF Ssoe7fYyv/qmB9JWtvnA2ZAsf+M5ia9ic7vf1muFv2KU6RpAYT4BEavST7aWKUMvHLOG/Ai N3KLNiuQZy4JORNsHclJ7ekqCNvFSeqx3dLeMUrGAjuyNK7aGpSv/44vhzR21H1nA6uf8uu TL9G0SP6jiFsFte6AgSAw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75946 Archived-At: On Mon, 24 Jun 2013 21:11:10 +0200 Stephen Berman wrote: > On Mon, 24 Jun 2013 09:25:39 +0800 Leo Liu 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