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


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: Glenn Morris <rgm <at> gnu.org>, 17482 <at> debbugs.gnu.org
Subject: bug#17482: args-out-of-range when visiting foo.todo
Date: Wed, 14 May 2014 12:55:22 -0400
> Unfortunately, I didn't pay heed to your design goals while implementing
> todo-mode (I wasn't aware of them).  But there's a fairly easy way to
> accommodate them, and as a side effect avoid the bug Glenn reported and
> also accommodate his wish to do `M-x find-file foo.todo' without putting
> the file in Todo mode: by simply foregoing use of auto-mode-alist.
> Really, it was misguided of me to want to use it, because by design and
> intent all Todo files reside in `todo-directory', so on the one hand
> auto-mode-alist isn't necessary, and on the other hand any file foo.todo
> located elsewhere but put in Todo mode can be problematic.

Maybe a quick way to "reach" the design goal is to wrap the body of
todo-mode in a `with-demoted-errors'.


        Stefan




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.