all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Timur Aydin <ta@taydin.org>
To: emacs-devel@gnu.org
Subject: Re: Question about handling file deletion
Date: Sat, 29 Jun 2013 16:37:25 +0300	[thread overview]
Message-ID: <51CEE315.1020803@taydin.org> (raw)
In-Reply-To: <87zjud5aej.fsf@rosalinde.fritz.box>

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



  parent reply	other threads:[~2013-06-29 13:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26 12:22 Question about handling file deletion Stephen Berman
2013-06-26 14:33 ` Stefan Monnier
2013-06-26 22:36   ` Stephen Berman
2013-06-27  1:42     ` Stefan Monnier
2013-06-28  8:36       ` Stephen Berman
2013-06-28 22:40         ` Stefan Monnier
2013-06-29 13:37 ` Timur Aydin [this message]
2013-06-29 22:44   ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51CEE315.1020803@taydin.org \
    --to=ta@taydin.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.