GNU bug report logs - #56311
[PATCH] new function: delete-visited-file

Previous Next

Package: emacs;

Reported by: Zachary Kanfer <zkanfer <at> gmail.com>

Date: Thu, 30 Jun 2022 04:27:02 UTC

Severity: wishlist

Tags: moreinfo, patch, wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Zachary Kanfer <zkanfer <at> gmail.com>, 56311 <at> debbugs.gnu.org
Subject: bug#56311: [PATCH] new function: delete-visited-file
Date: Thu, 30 Jun 2022 12:27:24 +0200
Visuwesh <visuweshm <at> gmail.com> writes:

> FWIW, the fact that Emacs leaves the buffer around has saved my back at
> least twice,
>
>     . when I accidentally deleted the wrong files in dired due to
>       stale marks.
>     . when I tried to fix a broken symlink but got the argument order in
>       ln wrong and had the real file "zeroed".

And since deleting the visited file is currently very easy, as Eli
pointed out:

  M-x delete-file RET M-n RET

I don't think this would be a command that people would use a lot.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.