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 #15 received at 17482 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#17482: args-out-of-range when visiting foo.todo
Date: Tue, 13 May 2014 15:40:46 -0400
> -(add-to-list 'auto-mode-alist '("\\.todo\\'" . todo-mode))
> +(add-to-list 'auto-mode-alist '("\\.todo\\'" . todo-maybe-todo-mode))

I don't think it's really an improvement.

The better solution is to change todo-mode so that it doesn't burp when
used in a file that doesn't follow the expected conventions of
todo-mode.  Make it fail more gracefully.


        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.