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#60956: 27.2; project-try-vc considers every nonempty directory a root when vc-handled-backends is nil Date: Fri, 20 Jan 2023 18:52:13 +0200 Message-ID: <61522577-6f25-c409-4ec0-3983e7d0e308@yandex.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7520"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: 60956-done@debbugs.gnu.org To: Jason Orendorff Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 20 17:53:19 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 1pIudi-0001mO-1t for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Jan 2023 17:53:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIudb-0002Du-9V; Fri, 20 Jan 2023 11:53:11 -0500 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 1pIudS-0002DS-Mq for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2023 11:53:06 -0500 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 1pIudS-0008Dd-F6 for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2023 11:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pIudS-00025w-At for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2023 11:53:02 -0500 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Jan 2023 16:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60956 X-GNU-PR-Package: emacs Mail-Followup-To: 60956@debbugs.gnu.org, dgutov@yandex.ru, jason.orendorff@gmail.com Original-Received: via spool by 60956-done@debbugs.gnu.org id=D60956.16742335438005 (code D ref 60956); Fri, 20 Jan 2023 16:53:02 +0000 Original-Received: (at 60956-done) by debbugs.gnu.org; 20 Jan 2023 16:52:23 +0000 Original-Received: from localhost ([127.0.0.1]:46993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIucp-000253-26 for submit@debbugs.gnu.org; Fri, 20 Jan 2023 11:52:23 -0500 Original-Received: from mail-ed1-f41.google.com ([209.85.208.41]:35614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIucn-00024p-5l for 60956-done@debbugs.gnu.org; Fri, 20 Jan 2023 11:52:21 -0500 Original-Received: by mail-ed1-f41.google.com with SMTP id y19so7494323edc.2 for <60956-done@debbugs.gnu.org>; Fri, 20 Jan 2023 08:52:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=/dAB7W3HnMClZu2kUppC2laIs7JY79iTIcCNVBsWhGI=; b=UyI0Bq7kFX0wRA3WieiHNEa0+/vMzZVoxgmrw6OQskkGGN2JDFp2jVbkQmzQSicJEw McyJf2TT5wEcNM6WTuqPn71Q/PXb6/FiXpKOmBZtN0J3SJRmY74lMJCOme1IYf7XReWc qWqXBmVDoMdQErJrcVrcYs0igZ8EkefsCJJ+YnM4ruaQvFF4PZ2LH85OsAIpD3XyC7EB F6eRRe80aHOFBvpvGu8JAG06ld4W1cRO7Q4ksEt32QmSCgEjZKJcwipJ+InJTUya9+lt ADQKNLAm/jnqebatmqPprG6Tvj+relbLihliQPtxBPkj7zKDDb8v1NerBmP4mGWAHkjL QKng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/dAB7W3HnMClZu2kUppC2laIs7JY79iTIcCNVBsWhGI=; b=SNUqfMOjOJkej/v+OQ0Ichbp6k5YLGVo7dGFQHGgRRW2B0IAi7sy8yFY0uBKUaTx2h XAp67YfQQgkPRtBsDvhD+UY/aX8cVmqBLgfK8mPdrAB0mEWWLPfMkAaNbtkqwUZRfSZA W7Q5NErm53L3FvTQDnfO/XJ6+JKGvatd7/89CqnkTvVW05qmNqpGDDyQskuWfo0kc2rn 9P9G9dBvQDERuuKzapEpjHlAaPSe0Ek5Ry/j8/6xglDq4Ailaquv38F6mTUDPBVr2jiA LU5o5/gEKE64G9HVrMIzsME3sDJ/OtgFaLf6aGoOqB/qUG1urcgBSggxW9NNDm8ef9iv uA3A== X-Gm-Message-State: AFqh2krHFjHw6E9CKvkhTeSP1WIa0U7QP1ywZtwMj5GE73lZfyy7t7De NPJc5utjoTEAnoz2s7ZARXM= X-Google-Smtp-Source: AMrXdXt8LG/v0c89x8vgQzebJC+bYWtdOyVirTruYR6uyGkeG0ZfoD19LjlyWy/j2R9skVplPu7CiQ== X-Received: by 2002:a05:6402:f06:b0:461:9578:f904 with SMTP id i6-20020a0564020f0600b004619578f904mr18691569eda.23.1674233535162; Fri, 20 Jan 2023 08:52:15 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id lb19-20020a170907785300b0084d1efe9af6sm18011978ejc.58.2023.01.20.08.52.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Jan 2023 08:52:14 -0800 (PST) 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:253787 Archived-At: Version: 29.1 On 20/01/2023 17:55, Jason Orendorff wrote: > This patch fixes the bug; `(project-current)' now returns nil as expected. > > It seems `eglot' still defaults to the current directory if > `project-current' does not find a better one, but at least now that's > my fault! 😄 Thank you for the quick response. Thanks for checking! I've pushed to emacs-29, it should propagate to master and GNU ELPA in due time.