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#63870: 29.0.90; project.el can't dynamically populate the project list Date: Thu, 27 Jul 2023 04:59:32 +0300 Message-ID: <95b66a01-f1af-d2b7-b10d-72e52c7fd07e@gutov.dev> References: <83sfabvngh.fsf@gnu.org> <83edlvvky4.fsf@gnu.org> <83bkgzvj7h.fsf@gnu.org> <9a053f1f-2c7b-0b50-3a8e-7949fbbac7d1@gutov.dev> <864jm186cb.fsf@mail.linkov.net> 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="40056"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: Eli Zaretskii , 63870@debbugs.gnu.org To: Juri Linkov , Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 27 04:04:27 2023 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 1qOqMc-000ADP-LU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jul 2023 04:04:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOqIO-0006sP-RK; Wed, 26 Jul 2023 22:00:04 -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 1qOqIN-0006rw-2Q for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 22:00:03 -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 1qOqIM-00017o-Q9 for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 22:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qOqIM-0008Dk-2s for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 22:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jul 2023 02:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63870 X-GNU-PR-Package: emacs Original-Received: via spool by 63870-submit@debbugs.gnu.org id=B63870.169042318431544 (code B ref 63870); Thu, 27 Jul 2023 02:00:02 +0000 Original-Received: (at 63870) by debbugs.gnu.org; 27 Jul 2023 01:59:44 +0000 Original-Received: from localhost ([127.0.0.1]:40419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOqI3-0008Cg-QM for submit@debbugs.gnu.org; Wed, 26 Jul 2023 21:59:44 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:44127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOqI1-0008CR-7F for 63870@debbugs.gnu.org; Wed, 26 Jul 2023 21:59:42 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id EC0CA3200913; Wed, 26 Jul 2023 21:59:34 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 26 Jul 2023 21:59:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :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:sender:subject:subject:to:to; s=fm2; t= 1690423174; x=1690509574; bh=sDoTFXhFlUuVX5KF7U/YfZUuz2oDVaiPLsA 4s03rpnY=; b=pH9P9UWSwQps4kE/s6xsLUW5GHZ6tm+CA04a4KFAprUm5TPDYGG KTH8VlFLboyZI3bBjiPk4slTSrSlDVlDKoOZ4B1GLcDsYT1TFp35KbzVlmpVFgCj MF+27A6rg4DcfhQDylDAKiYbVSUTyjZ58a25M3+OTa0Q4UiQzkRH8ezlD/5Eu2y4 +M6xiTfXCLxLPcbDDo8JJk2m8CtoQOXVYmzBxf5P3eAkc4srTw9Nd0UnJ2V4nWOE 6Q0aAxu8xArHIMmsizojySKS6Y0TD7dT2NUNCiteJ/PpcVC0+Sr3GNt+1hDMGEbM ZK/BrlCiQfIZCwhxDRkKZ2WFs/vcTEeO96A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1690423174; x=1690509574; bh=sDoTFXhFlUuVX5KF7U/YfZUuz2oDVaiPLsA 4s03rpnY=; b=kPTAdqHkm0FlVyBYNc4vIunkCddV2Iddbb8qzdasmYkbeH0fDN1 8J19DF8F+/HDeNHlkH1I/vkW8adhjzWsRXPywMFvr8aWj4dNheUSufDOSxM8lxQ3 lOurRcAc/+WV/1X8EpEYXU/8zDCcpVOx7huzLamVrlp8K3c453kjc2oQIuTyvH5B 3i97Ltlz241wUnunm14JvV+PsbEbo69G5HXEIWkMimGEk0S+I0+Mp5ra1zcX2guf vrp1pI2o8EPI9FQafp30rDXEnMY7+14fhe58Cwi297rgJLCveWThKDy/UyNrhQK2 J75Nfp7x1Ipdspo2PTNcoMksoS2Hxs7/4Gw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrieefgdehvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeevledv veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 26 Jul 2023 21:59:33 -0400 (EDT) Content-Language: en-US In-Reply-To: <864jm186cb.fsf@mail.linkov.net> 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:266150 Archived-At: On 18/07/2023 20:41, Juri Linkov wrote: >> (Maybe I'll revisit this after writing some scripts like this for Emacs >> development - although those will definitely only be in Elisp, so it >> would be kind of moot) > Why can't project--ensure-read-project-list scan a list of known roots > to find a new project? I.e. the reverse of project-forget-projects-under. > > Or like there is an item "... (choose a dir)", another item could be > "*Rescan*" that will try to find a new project under known roots. We have an interactive command called 'project-remember-projects-under', when you want to trigger such a scan. But as for why we don't do that automatically? Performance, for instance. Tree traversal, coupled with arbitrary logic for finding projects, can be too costly.