From: Lars Ingebrigtsen <larsi@gnus.org>
To: Visuwesh <visuweshm@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, Zachary Kanfer <zkanfer@gmail.com>,
56311@debbugs.gnu.org
Subject: bug#56311: [PATCH] new function: delete-visited-file
Date: Thu, 30 Jun 2022 12:27:24 +0200 [thread overview]
Message-ID: <87wncybg4z.fsf@gnus.org> (raw)
In-Reply-To: <87wncyr7st.fsf@gmail.com> (Visuwesh's message of "Thu, 30 Jun 2022 11:50:50 +0530")
Visuwesh <visuweshm@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
next prev parent reply other threads:[~2022-06-30 10:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-30 4:26 bug#56311: [PATCH] new function: delete-visited-file Zachary Kanfer
2022-06-30 5:30 ` Eli Zaretskii
2022-06-30 5:49 ` Sean Whitton
2022-06-30 5:56 ` Eli Zaretskii
2022-06-30 6:20 ` Visuwesh
2022-06-30 10:27 ` Lars Ingebrigtsen [this message]
2022-06-30 16:29 ` Sean Whitton
2022-07-01 3:29 ` Zachary Kanfer
2022-07-01 5:57 ` Eli Zaretskii
2022-07-03 5:06 ` Zachary Kanfer
2022-07-03 6:04 ` Eli Zaretskii
2022-08-02 11:12 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wncybg4z.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=56311@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=visuweshm@gmail.com \
--cc=zkanfer@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).