From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 1e3b0f2: Improve doc strings of project.el Date: Fri, 19 Jun 2020 21:44:35 +0300 Message-ID: <83366qyjxo.fsf@gnu.org> References: <87bllfqj82.fsf@warpmail.net> <83o8pfxhzq.fsf@gnu.org> <83imfnxgt3.fsf@gnu.org> <73f90d2e-b754-93e0-4caa-5f86601edd98@yandex.ru> <83ftarxf58.fsf@gnu.org> <27b37b2d-c509-b5fb-c633-fc9dd60dc184@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="74066"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philip@warpmail.net, theo@thornhill.no, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 19 20:45:24 2020 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 1jmM0x-000JAO-AD for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 20:45:23 +0200 Original-Received: from localhost ([::1]:52576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmM0w-0003Bk-CV for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 14:45:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmM0M-0002Y8-HH for emacs-devel@gnu.org; Fri, 19 Jun 2020 14:44:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53518) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmM0L-00046Y-Nn; Fri, 19 Jun 2020 14:44:45 -0400 Original-Received: from [176.228.60.248] (port=2808 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jmM0K-0002n9-Pl; Fri, 19 Jun 2020 14:44:45 -0400 In-Reply-To: <27b37b2d-c509-b5fb-c633-fc9dd60dc184@yandex.ru> (message from Dmitry Gutov on Fri, 19 Jun 2020 21:23:42 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252400 Archived-At: > Cc: theo@thornhill.no, philip@warpmail.net, emacs-devel@gnu.org > From: Dmitry Gutov > Date: Fri, 19 Jun 2020 21:23:42 +0300 > > On 19.06.2020 18:13, Eli Zaretskii wrote: > > >> It's not the worst idea, but the set of "buffers belonging to the > >> current project" should probably be the same between > >> project-switch-to-buffer and project-kill-buffers. > > > > No, not necessarily. The purpose of the commands is different, so > > they could start with the same basic list, but apply different filters > > to it. > > There can be subtle differences (e.g. ones stemming from > project-kill-buffers-skip-conditions), but the general notion of what it > mean to have a buffer belong to a project should be generally the same. "Generally", yes. But your objection above was based on the premise that they are identical. If they are similar, then there's no problem. > >> And as Philip explained, it's useful for the latter to consider many > >> different major modes. > > > > I'm talking about the former, not about the latter. > > And I am talking about both. Are we still talking about the doc string of project-switch-to-buffer? If we are, then the latter is a separate discussion.