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: Sean Whitton <spwhitton <at> spwhitton.name>
To: Eli Zaretskii <eliz <at> gnu.org>, Zachary Kanfer <zkanfer <at> gmail.com>
Cc: 56311 <at> debbugs.gnu.org
Subject: bug#56311: [PATCH] new function: delete-visited-file
Date: Wed, 29 Jun 2022 22:49:47 -0700
Hello,

On Thu 30 Jun 2022 at 08:30am +03, Eli Zaretskii wrote:

>> From: Zachary Kanfer <zkanfer <at> gmail.com>
>> Date: Thu, 30 Jun 2022 00:26:06 -0400
>>
>> +** New command 'delete-visited-file'.
>> +This command deletes the file visited by a buffer, then closes the
>> +buffer.
>
> "Close the buffer" is not our terminology, you won't find it in our
> documentation.  We say "kill the buffer".
>
> I also think "delete-visited-file" is not the best name for the
> command, since it doesn't tell all the truth about what it does.
>
> Apart of that, I have no opinion about this proposal, although each
> time I see suggestions for features to kill unused buffers or see
> people who are worried about such buffers, I raise a brow: in Emacs,
> we generally don't care about that (because it does no harm to have
> unused buffers), and if someone's usage patterns are such that they
> tend to create _gobs_ of large buffers most of which quickly become
> unused, there's midnight.el to take care of that.

I don't care about the buffer being killed either, but there isn't
currently a quick way to delete the file the selected buffer is
visiting, you have to type/complete its name.  It would be nice to have
that, which I think this command provides.

-- 
Sean Whitton




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

Previous Next


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