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#62759: [PATCH] add support for prompting for projects by name Date: Tue, 11 Apr 2023 02:20:22 +0300 Message-ID: <2fb028b1-a9ad-648d-9d27-2107e7e4833a@gutov.dev> References: 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="24444"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 To: Spencer Baugh , 62759-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 11 01:21:17 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 1pm0p2-00064c-Dj for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Apr 2023 01:21:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pm0oq-0007j2-RZ; Mon, 10 Apr 2023 19:21: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 1pm0op-0007iG-3S for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 19:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pm0oo-0000yj-Cx for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 19:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pm0oo-0000wh-8F for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 19:21:02 -0400 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Apr 2023 23:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 62759@debbugs.gnu.org, dmitry@gutov.dev, sbaugh@janestreet.com Original-Received: via spool by 62759-done@debbugs.gnu.org id=D62759.16811688323568 (code D ref 62759); Mon, 10 Apr 2023 23:21:02 +0000 Original-Received: (at 62759-done) by debbugs.gnu.org; 10 Apr 2023 23:20:32 +0000 Original-Received: from localhost ([127.0.0.1]:36141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pm0oK-0000vT-98 for submit@debbugs.gnu.org; Mon, 10 Apr 2023 19:20:32 -0400 Original-Received: from new1-smtp.messagingengine.com ([66.111.4.221]:49599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pm0oI-0000vD-86 for 62759-done@debbugs.gnu.org; Mon, 10 Apr 2023 19:20:30 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id C21CF5822B1; Mon, 10 Apr 2023 19:20:24 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 10 Apr 2023 19:20:24 -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:sender:subject:subject:to:to; s=fm1; t= 1681168824; x=1681172424; bh=gkSmdOaN4Glt7/c+WZAMIGJHTYceSK4Lo8X fbwIYw7k=; b=HNIEO/R0j/DQRdfHV2JqM3SZDfjrOhFsDKp/GI3SdbEegTs0Om+ B/NryGuiHXnoXGgH2vFNeuvVfbL1OWNQu5DcUZmYRlxEMZsu+8oAAK7JDJIeKEG4 VWqeelhUbAqCkiJV4fnxsRcTpl75kijqV3zDc8YaUz1z/u5oTIBRdQg4a8WOs6CD PhnsqL3SD1w/fFTgpz7xDfUPn2NBfGwqph6opbnlcKe874dqdFusTLVEmcWQ9GFN HKJwAPxcCglgCUzx0pZWFpAcfIZJhBYJUP2IHGsGwxgDMc72+l0r/ht/lyaln0Gc vBqiVdQxsRIxGiXoa4gkXVxqaOjn6GIrxrw== 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:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1681168824; x= 1681172424; bh=gkSmdOaN4Glt7/c+WZAMIGJHTYceSK4Lo8XfbwIYw7k=; b=H uHvznAyYV79eXio6QVtFGpTZ8bU9Rn+BZW3JF4GvpE7XEnKfBXpx1UBfSz7AOmRR avrne4LDRw32JRwVHFUKhcqlo4LJ7ZUa1taQz88qEoCoI5iLGqTiT08QXRlKmlXo oMOZIAlr9w21OoWfRFeS+flqBL9ESvOM0v8ChJct1TKqtaAbMgAW7PxIZhASE+wD gojJKJTpNQWX0v0s+NEPQjLXAB/6uIHFDYwjANofY7WY2VgnZwG5C6Wm98uarjEa Ii/jOvz7y0bfCL1U7nc+agvGyZDe/3l98ZVzupPcPzOkRLK7V4+1A9rnZs/wciM7 umcZGpgn2ve9whj+T1LgQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekfedgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeghedthedujeeiteeutddtjeekheejteeukeehffdutdejuedvfeevueeviedu udenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 10 Apr 2023 19:20:23 -0400 (EDT) Content-Language: en-US In-Reply-To: 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:259612 Archived-At: Hi! Thanks for the patch. Pushed to master. Next time please also add the full common message, though. Also note that the idea behind the current default (and also why it doesn't return a project instance: just the dir) was to avoid visiting all the directories -- because some might be unavailable at this exact moment (e.g. remote, over Tramp, and currently disconnected), and some simply slow. It shouldn't hurt to have this as an alternative behavior, though.