GNU bug report logs - #17482
args-out-of-range when visiting foo.todo

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 13 May 2014 06:23:02 UTC

Severity: important

Found in version 24.3.91

Done: Stephen Berman <stephen.berman <at> gmx.net>

Bug is archived. No further changes may be made.

Full log


Message #39 received at 17482 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Stefan Monnier <monnier <at> IRO.UMontreal.CA>, 17482 <at> debbugs.gnu.org
Subject: Re: bug#17482: args-out-of-range when visiting foo.todo
Date: Wed, 14 May 2014 22:34:36 +0200
On Wed, 14 May 2014 16:01:43 -0400 Glenn Morris <rgm <at> gnu.org> wrote:

> Stephen Berman wrote:
>
>> [...] it's nice to be able to visit a todo-mode file with `find-file'
>> or from Dired and have it be in todo-mode and display properly
>
> You could use a file-local variable mode: cookie for that
> (I speak without having looked at the code at all).

Yes, that's in fact what the original todo-mode.el does, but I never
really liked it and dropped from my version it long ago, though it is a
convenient way to get that effect.  But it also counteracts Stefan's
"design goal" of being able to use standard Emacs commands on Todo
files.  Although I didn't follow this goal while reimplementing
todo-mode.el, I now think it's justified: Todo mode has its own entry
points and editing commands and there's no real need to give it a
stranglehold on Todo files.  It's conceptually similar to Gnus: you can
visit and edit a mail file as a normal text file, but in Gnus it's in a
special mode with special commands.  And the risk assessment is the
same: you can corrupt a mail file outside of Gnus if you're not careful.

Steve Berman




This bug report was last modified 11 years and 60 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.