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 17:24:41 +0300 Message-ID: <83lfkjxhee.fsf@gnu.org> References: <87bllfqj82.fsf@warpmail.net> <83o8pfxhzq.fsf@gnu.org> <55fa0d68-9142-a6cb-1a0c-12685b2bc340@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="2021"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philip@warpmail.net, 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 16:25:39 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 1jmHxb-0000Mw-Bs for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 16:25:39 +0200 Original-Received: from localhost ([::1]:50394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmHxa-0003gJ-CM for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 10:25:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmHws-0002eH-0x for emacs-devel@gnu.org; Fri, 19 Jun 2020 10:24:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47034) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmHwr-0006wB-NH; Fri, 19 Jun 2020 10:24:53 -0400 Original-Received: from [176.228.60.248] (port=2806 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jmHwr-0005NJ-5A; Fri, 19 Jun 2020 10:24:53 -0400 In-Reply-To: <55fa0d68-9142-a6cb-1a0c-12685b2bc340@yandex.ru> (message from Dmitry Gutov on Fri, 19 Jun 2020 17:18:17 +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:252356 Archived-At: > Cc: emacs-devel@gnu.org > From: Dmitry Gutov > Date: Fri, 19 Jun 2020 17:18:17 +0300 > > On 19.06.2020 17:11, Eli Zaretskii wrote: > > So > > if I start Emacs from somewhere inside the directory hierarchy rooted > > at the project's root, then*scratch*,*Messages*, and temporary > > buffers I create with "C-x b" will be considered to be part of the > > project? Does this really make sense? > > We can add scratch and Messages to the skip-conditions by default. What about the others, though? I wouldn't even expect *XREF* to be eligible, as that is a kind-of "service" buffer to which I don't really switch, I let the relevant commands put me there when needed. Likewise for Eshell and Occur -- why are those candidates? Basically, any buffer whose name is *SOMETHING* should be by default excluded, I think those that should be included are the exceptions, not the rule. More generally, I question the wisdom of judging by the default-directory in the first place. Can't we come up with a better, more specific criterion?