From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56311: [PATCH] new function: delete-visited-file Date: Thu, 30 Jun 2022 08:30:10 +0300 Message-ID: <83k08y67ml.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1571"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56311@debbugs.gnu.org To: Zachary Kanfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 30 07:31:17 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o6mlo-0000Fp-W6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Jun 2022 07:31:17 +0200 Original-Received: from localhost ([::1]:49970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6mln-00022U-Dv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Jun 2022 01:31:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6mlb-00021V-5s for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2022 01:31:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6mla-0001Ur-FN for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2022 01:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6mla-0003BP-Bh for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2022 01:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Jun 2022 05:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56311 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56311-submit@debbugs.gnu.org id=B56311.165656701211858 (code B ref 56311); Thu, 30 Jun 2022 05:31:02 +0000 Original-Received: (at 56311) by debbugs.gnu.org; 30 Jun 2022 05:30:12 +0000 Original-Received: from localhost ([127.0.0.1]:60774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6mkm-00035C-DY for submit@debbugs.gnu.org; Thu, 30 Jun 2022 01:30:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6mki-00033n-Py for 56311@debbugs.gnu.org; Thu, 30 Jun 2022 01:30:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6mkd-00018O-A8; Thu, 30 Jun 2022 01:30:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5az9IVPZtZKqD1t6hQtFkoAhOPfKVi2kiDmEHO1zLAg=; b=f8GHO3FWY4FX 9347NTRIX37axd1ODRl0wCLI0PIrongp67Igu0NQRPXmhcEic9YokuwvHPZjhvQMVtrkYSxsZs9hj Zr7cc+a/Tnos94uFZqkF3XiETznMbKzTuLvRn7x4ADbK20MB4s2KhgGKyO8QKM+GZ8QYWOAy8USQ7 5S7NquHwMzv3HKpmHk2gWXCH9M0X+/75RQp5reCwrDY0jyZHgfxuLa2KW88QQ/9amDvGb7Civrb+a A9PqsakW5owoyo4r+37W4TCgRq13mlKYDhg1NkkxBehs6zMrbOcpFRJCo8/Hs+U70UqzHBUAsOxyG FRwl32/ktZXi1lDTo/MW1A==; Original-Received: from [87.69.77.57] (port=3989 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6mkc-0007LZ-9r; Thu, 30 Jun 2022 01:30:02 -0400 In-Reply-To: (message from Zachary Kanfer on Thu, 30 Jun 2022 00:26:06 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235684 Archived-At: > From: Zachary Kanfer > 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. But if the ultimate decision is to add this command, please keep it out of files.el, because that's a preloaded package, and thus it will increase the memory footprint of every Emacs session for the benefit of a command that I don't think is important enough. Thanks.