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.devel Subject: Re: master 7d47651d01: project-buffers: Describe the default implementation Date: Fri, 04 Nov 2022 10:15:09 +0200 Message-ID: <83pme35e5u.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="728"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 04 09:16:24 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oqrsF-000Abb-Ko for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Nov 2022 09:16:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqrrP-0001Xt-8l; Fri, 04 Nov 2022 04:15:31 -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 1oqrrL-0001XI-KB for emacs-devel@gnu.org; Fri, 04 Nov 2022 04:15:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqrrL-000112-Bi; Fri, 04 Nov 2022 04:15:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:To:From:Date:mime-version:in-reply-to: references; bh=Xtx3t3h7DmCWZ6+UjKwY7JI6FwuKRoDJeI69tc2TFbE=; b=gkDSArZe2gWrlt lnHNrNEzTvewiBotXamabDhKCGyaUoMITjFwWBXn+/m25T0X/ReAtnFqkmbkncxfPzNBOlcxwOF+C DIlqCS4xj0tLoQd5NEZjxMADscH62YZslQYpSd6BzULd/q4XilnwAgWPFx4hexwXy8ibymP227FEW UpliPZ81NV2hKAnZw6wrom94US/ikKYjVXN7XgaMTMSspEn1d9EUQZrc8nlZA45YFc/b+Gw/GdFgz h0itK+68v9gB6FpGRKJX2f6Xdk74zkCTWn3Xf1I98bXXvjEOxhVEIR5K3tGp6V4PmHqnPi5kaP0sf n/dZj/u52fTTJrVHoHEQ==; Original-Received: from [87.69.77.57] (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 1oqrr8-0002WR-Oq; Fri, 04 Nov 2022 04:15:25 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299116 Archived-At: > diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el > index ec453baf72..6d062aa8fa 100644 > --- a/lisp/progmodes/project.el > +++ b/lisp/progmodes/project.el > @@ -353,7 +353,10 @@ Also quote LOCAL-FILES if `default-directory' is quoted." > local-files)))) > > (cl-defgeneric project-buffers (project) > - "Return the list of all live buffers that belong to PROJECT." > + "Return the list of all live buffers that belong to PROJECT. > + > +The default implementation matches the current open buffers to > +PROJECT root using the value of `default-directory' in each one." What does it mean "the current open buffers"? I don't think we use the term "open buffer" in our documentation. Do you mean the "existing buffers"? or maybe just "buffers"? IOW, what aspects of buffers is the "current open" qualification trying to capture? Thanks.