From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#71290: Options for viewing project buffers Date: Sat, 1 Jun 2024 18:27:45 +0300 Message-ID: <82a4e2c5-5567-4f0d-91fe-56d1e1c0467d@gutov.dev> References: <99d41a84966ab944056814a15e8f37a7f664697e.camel@mikpom.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19186"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: mikpom , 71290@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 01 17:29:24 2024 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 1sDQfa-0004jS-Jw for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jun 2024 17:29:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDQf6-0006Xv-HF; Sat, 01 Jun 2024 11:28:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sDQf4-0006XJ-Pg for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 11:28:50 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sDQf4-0005zr-El for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 11:28:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDQfF-0003HL-Q4 for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 11:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jun 2024 15:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71290 X-GNU-PR-Package: emacs Original-Received: via spool by 71290-submit@debbugs.gnu.org id=B71290.171725569012546 (code B ref 71290); Sat, 01 Jun 2024 15:29:01 +0000 Original-Received: (at 71290) by debbugs.gnu.org; 1 Jun 2024 15:28:10 +0000 Original-Received: from localhost ([127.0.0.1]:57100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDQeP-0003GI-Nr for submit@debbugs.gnu.org; Sat, 01 Jun 2024 11:28:10 -0400 Original-Received: from wfhigh5-smtp.messagingengine.com ([64.147.123.156]:40053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDQeM-0003Fo-Vw for 71290@debbugs.gnu.org; Sat, 01 Jun 2024 11:28:08 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.west.internal (Postfix) with ESMTP id E6E091800115; Sat, 1 Jun 2024 11:27:48 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 01 Jun 2024 11:27:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1717255668; x=1717342068; bh=I6FEbIYaUuTu48rzvYAKEb+aqzXlEckLt4Gh1f0emkM=; b= K7F8Y0pTmfNfOJaafUkMdas9fijET1YhV+qkI5GTIwdbIavu1wFpd4VsTf0pKILu pv9/VtYrtvdgPZ1Mq4TPv17NJPDmr0SnZdVuGzEJ7s/StmvyGzwt4ryFTcF6rQPK JDCgogRIosjLqWtBT0kCQG0ylhtZVSaSRe+4ZOqngcXgaxzCLXGWrai2Vlu86HUX b8OrQPpw7AEf5t288/eUFro2T/8rTTwGt0ekgWtSvG01mcpNzk2DCAX/AN0Ftyb5 AIPHPHYp/qZ9CjrFStj7+6R14/CUDlZdNQhh2mynSFs2wj09a9z+0arzsP8fiKYd MPag+N7cI2p2UIs8wkMj9g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1717255668; x= 1717342068; bh=I6FEbIYaUuTu48rzvYAKEb+aqzXlEckLt4Gh1f0emkM=; b=G 9BNZvS7mqm+JlOLebAP855teI9j3Dt/TXBKaLYlVtWHqtV/ssD/3EUdBFUbvyuEa 6zsC5KkvU7GjwtTxO8jzahtkAuezJvIShnHd67KE9mk0lCZwr/Uwr44wGn22l6Qp NIrAQhX7bB+2KvfBjdYE9xYh1BCH/16bVRQLi/SkkfdSf9a8KuwNzCEz+hugGMOR fU4O9PfD6XRuLTwYUYAA6ckl8V6A7KMCBiYVN6CafluNWmWghRgn1USadgci1rtw e3VD/1wQQXdveqpw2oWppwdWN44xSg1fTkC/87Rx5M5IRpjs+eTO5HN11+0uUB8O UdvdSEIHAWzj0BknbLbBA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekkedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtvdejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhu thhovhdruggvvheqnecuggftrfgrthhtvghrnhephfeftdfhudejleelfeekjedtheefje dvlefgieeuteekheeuffekgfdviefghfdtnecuffhomhgrihhnpehgihhthhhusgdrtgho mhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 1 Jun 2024 11:27:46 -0400 (EDT) Content-Language: en-US In-Reply-To: <99d41a84966ab944056814a15e8f37a7f664697e.camel@mikpom.ru> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286331 Archived-At: Hi! On 31/05/2024 15:28, mikpom wrote: > Greetings devs and emacs community. > > I occasionally need to list buffers of a project and do so with the > built-in command project-list-buffers from project.el. The problem is > that this command utilizes Buffer-menu mode and does so in a hard-coded > way. Personally I prefer IBuffer which is already heavily customized > while I have zero knowledge of Buffer-menu mode. > > I suggest to make an option whether project.el will list buffers with > Ibuffer, Buffer-menu or even something else? I'm happy to add a new option, but if you look at the definition of project-list-buffers, it's not as trivial as - bind default-directory - call function And ibuffer seems to require some effort as well. As a consequence, the option is unlikely to be infinitely extensible, it would just list 'list-buffers' and 'ibuffers' as possible values. Maybe a "Custom function" alternative too, but the users who would want to use it will need to put it some work as well. Speaking of ibuffer in particular, here's a hint of setup required to use it for project buffers: https://github.com/emacsmirror/ibuffer-project/blob/master/ibuffer-project.el Of course, a lot of this could be optional (improvements to make the UI better), so if someone wanted to contribute a minimal implementation, we could certainly use it (just please don't copy the code from the above, it's not copyright-assigned).