From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#20463: 25.0.50; New deletion commands in buffer-menu [PATCH] Date: Fri, 01 May 2015 05:05:17 +0300 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430445983 9409 80.91.229.3 (1 May 2015 02:06:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 May 2015 02:06:23 +0000 (UTC) Cc: 20463@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 01 04:06:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yo0LC-00049z-Gs for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 May 2015 04:06:10 +0200 Original-Received: from localhost ([::1]:46499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yo0LB-00089y-Tv for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Apr 2015 22:06:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yo0L8-00089t-GG for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 22:06:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yo0L5-0002Fn-AM for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 22:06:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yo0L5-0002Fj-7M for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 22:06:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yo0L4-00006Y-Ma for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 22:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 May 2015 02:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 20463-submit@debbugs.gnu.org id=B20463.1430445924352 (code B ref 20463); Fri, 01 May 2015 02:06:02 +0000 Original-Received: (at 20463) by debbugs.gnu.org; 1 May 2015 02:05:24 +0000 Original-Received: from localhost ([127.0.0.1]:57960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yo0KS-00005c-2j for submit@debbugs.gnu.org; Thu, 30 Apr 2015 22:05:24 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:51639) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yo0KO-00005T-Sy for 20463@debbugs.gnu.org; Thu, 30 Apr 2015 22:05:22 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6801F20BA7 for <20463@debbugs.gnu.org>; Thu, 30 Apr 2015 22:05:20 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Thu, 30 Apr 2015 22:05:20 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=jgLvz tZpcaGzXJJqQVcdZqW/NIs=; b=jB4Rytpy4xRKJrBo3bMgKDGwXHKK6pvzZISKL vGntC7Y9SD3PeqDFkN4yG3972Konm3XyqOksfQliV832glUm12GJOkL52mvzH9iG 9QdfqVsPxv05P7wOWLGzduAaN/TPQcHlmSbu5DY9LlUJ/ZMibZTg495Ay4oVNbBD WXb7AI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=jgLvztZpcaGzXJJqQVcdZqW/NIs=; b=oN5Wi r1OZvqlD5zbIiFb3QImb+BhtCHHooPsmTBW44Gzyz+idy+0DcAoHOpZncdflyBro IDp/S67aqg0Aog76I3SE5vHAwQoQQjRG+fL7SjpIMyZEYAlLxHY+MunYzyUJljd2 nzaTY6L2Zv3PilZE4y1wlCTeVnvp9/qVxE5YVA= X-Sasl-enc: fRceurvFeCaWHvVpMa7m3iquGKtP9gQhWy9QJiLk7xDf 1430445920 Original-Received: from fgunbin.local (unknown [178.66.180.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 8E254C00015; Thu, 30 Apr 2015 22:05:19 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Thu, 30 Apr 2015 21:43:12 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102309 Archived-At: On 30/04/2015 21:43 -0400, Stefan Monnier wrote: >> The intent for the commands above was to simplify buffer set cleanup >> (which I do at most daily). Like extended `kill-matching-buffers'. > > Have you maybe looked at clean-buffer-list? Not yet, but now I have, and I see that my meaning of "cleanup" is different from what this command suggests. I prefer to manage that manually, so go and kill "all java files" or "all remote files accessed via ssh" or something like that - with the ability to "post-process" the selected set manually before killing - that's why I wrote those commands. I could provide them as a package, of course if someone else finds them useful - I'm not sure now whether that is true. I see there's also "bs" package (not the best name, by the way..), but I didn't find many differences between standard buffer-menu and this package, except maybe for sorting commands and more buffer set configurations in contrast to buffer-menu's "all" or "only files". Another thing that could be interesting is "show only remote files" and "kill all remote files". It would be interesting to know what others use for buffer management. Filipp