emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about handling file deletion


From: Timur Aydin
Subject: Re: Question about handling file deletion
Date: Sat, 29 Jun 2013 16:37:25 +0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

On 6/26/2013 3:22 PM, Stephen Berman wrote:
If a package provides functionality for deleting files used by it, is it
considered a bug in the package if it does not handle the situation
where a user deletes such files using a command outside of the package
and this causes errors when using the package which don't arise if the
package file-deletion functionality is used?  I'm faced with this issue
in the new version of todo-mode.el (see bug#14688).  If someone deletes
a todo file using e.g. Dired and then gets an error in Todo mode and
reports it as a bug, is it kosher for me reply "If it hurts, don't do
that.  Use todo-delete-file." and close the bug?  (That command doesn't
actually exist yet, but I think it will be much easier to implement than
trying to handle the result of deleting todo files outside of Todo
mode.)

When I visit a file and then delete that file using "rm", the buffer of that file is still there and emacs doesn't do anything about it. So if somebody deletes a TODO file, why not let the todo information stay in the respective buffer? So what is different about todo-mode.el that makes it necessary to implement a different behavior?

I'm not criticizing you motivation, only trying to understand the situation better.

--
Timur



reply via email to

[Prev in Thread] Current Thread [Next in Thread]