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#17482: args-out-of-range when visiting foo.todo Date: Wed, 14 May 2014 22:34:36 +0200 Message-ID: <8761l8xfoj.fsf@rosalinde.fritz.box> References: <87zjilzn73.fsf@rosalinde.fritz.box> <87r43xz4ts.fsf@rosalinde.fritz.box> <87lhu4xup7.fsf@rosalinde.fritz.box> <87bnv0xhf3.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1400099786 18757 80.91.229.3 (14 May 2014 20:36:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2014 20:36:26 +0000 (UTC) Cc: 17482@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 14 22:36:19 2014 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 1WkfuU-0007tJ-O7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 May 2014 22:36:18 +0200 Original-Received: from localhost ([::1]:54339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkfuU-0000Lc-BS for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 May 2014 16:36:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkfuL-0000Az-97 for bug-gnu-emacs@gnu.org; Wed, 14 May 2014 16:36:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkfuE-0004tT-LL for bug-gnu-emacs@gnu.org; Wed, 14 May 2014 16:36:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkfuE-0004tO-Ix for bug-gnu-emacs@gnu.org; Wed, 14 May 2014 16:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WkfuD-0003tS-Oj for bug-gnu-emacs@gnu.org; Wed, 14 May 2014 16:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 May 2014 20:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17482 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17482-submit@debbugs.gnu.org id=B17482.140009972014899 (code B ref 17482); Wed, 14 May 2014 20:36:01 +0000 Original-Received: (at 17482) by debbugs.gnu.org; 14 May 2014 20:35:20 +0000 Original-Received: from localhost ([127.0.0.1]:34891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkftX-0003sD-Jv for submit@debbugs.gnu.org; Wed, 14 May 2014 16:35:20 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:58498) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkftU-0003rr-Ty for 17482@debbugs.gnu.org; Wed, 14 May 2014 16:35:17 -0400 Original-Received: from rosalinde.fritz.box ([89.245.107.238]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LwJRe-1Wre6s3k5e-0181x5; Wed, 14 May 2014 22:35:09 +0200 In-Reply-To: (Glenn Morris's message of "Wed, 14 May 2014 16:01:43 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) X-Provags-ID: V03:K0:X9uB1gvftOe/sC+31vXnM9F/69TDJQ9j86d/5DGCgkuT+rHZ/9R 4cXUyN64AKrGHFpdXVbCAiTqT87JSSWpQ3TVWIZD91vcWoZlsXvMjMZb/iKlM1DU/qkeMMg hIY8s3ZQTK6XwTbCJ0MVEh3HQOfeeQE2geZXqWVzk9Y96ekQLeaL7wU78GOoFxF8b0gjLvN p7KLj8qk6tz+iimNgEBpw== 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:89107 Archived-At: On Wed, 14 May 2014 16:01:43 -0400 Glenn Morris 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