GNU bug report logs - #50307
28.0.50; project-find-file fails if VC backend doesn't implement ignore-completion-table

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Philip Kaludercic <philipk@HIDDEN>; Keywords: patch; dated Tue, 31 Aug 2021 20:31:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) patch. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 50307 <at> debbugs.gnu.org:


Received: (at 50307) by debbugs.gnu.org; 31 Aug 2021 21:01:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 31 17:01:22 2021
Received: from localhost ([127.0.0.1]:35545 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mLAsj-0003nN-OK
	for submit <at> debbugs.gnu.org; Tue, 31 Aug 2021 17:01:21 -0400
Received: from mail-wr1-f45.google.com ([209.85.221.45]:42992)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1mLAsf-0003n7-4u
 for 50307 <at> debbugs.gnu.org; Tue, 31 Aug 2021 17:01:20 -0400
Received: by mail-wr1-f45.google.com with SMTP id q11so1159099wrr.9
 for <50307 <at> debbugs.gnu.org>; Tue, 31 Aug 2021 14:01:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=WY7FnYuNloO76d6ZvAD6YzcQ4GdlKYSDvJElkBKHtHI=;
 b=hqsAqDx3f7HZZzgDa8/SouNcSGKpzvIOQRj/Be4GAx1cUriEw0HG1/M9dkxI7lrGpJ
 H/GHRq8yWB6TU5u54bKSAFpve5IcjIsT9ZMv3OQ1XNaeP3PkGyn489t0GI09EBmgugzl
 KKFG8pwHRqetk+QJxHUvQ4wTnqDL1upp4VHZeTcoRwtLv2Pb9CWu+VmDJAY+CMm63K1Z
 Qw7AnA1Fwyh3fJ/JlYthfGZAenyRVkJfYBgEm5UZMe2GYVRaNBoldx8qwUiAxiR9bEwj
 v2PfgOxmQ/H/gFq1CYyu1cPXU7WtqQqCvEukvODYhm+yq5m4rXoAzucMqbv1y2jSSOuG
 +sEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=WY7FnYuNloO76d6ZvAD6YzcQ4GdlKYSDvJElkBKHtHI=;
 b=CjR8AUBLQpVf+TNUVv+N9PtC8jjek2sIcwQSmem/ebSkCIaWlYuY5M3VXNC902ud/1
 Y5TAeyECBU7vPLZ9EqNpEDFQ5MLgcTF+T076zJvQ9+NJGTP+DQIsgJAFO/KFBfQlpRh2
 USwgotTLTgyA1psHIez2MMsF6zsRGfyncWG2F6KQpYsaBgc7l8ZNYwz4Jxl46KU8NEXf
 hAEhw8f6UWGpUUNWvFLNthydIwG6oA10+KML9as448hPZgSicUZCfQOfbx8KfRftziFQ
 DEs1UqWldgOzBHzHSzerFbO3M6upHw9x8d4j4GtmLvy2seGqiMIFfltmVBv2xxBKkh9I
 hJPw==
X-Gm-Message-State: AOAM530KubwzWFPIsq0fk6nopCAmORqEtydjCKsSjXMQdFAfQEW+Q7z8
 gVaVHqM0hhniZtZIuMGXnrh2z/wfuG4=
X-Google-Smtp-Source: ABdhPJxxKu7pTo5nYwd0QPZ7bs81S7AQijbUoPyEHv1Tx89cqQsVgWkJKSrZLZTpCbaGLRL858A3EA==
X-Received: by 2002:adf:dd81:: with SMTP id x1mr33573762wrl.362.1630443671276; 
 Tue, 31 Aug 2021 14:01:11 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id y15sm18984379wrw.64.2021.08.31.14.01.10
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 31 Aug 2021 14:01:10 -0700 (PDT)
Subject: Re: bug#50307: 28.0.50; project-find-file fails if VC backend doesn't
 implement ignore-completion-table
To: Philip Kaludercic <philipk@HIDDEN>
References: <875yvlz7a6.fsf@HIDDEN>
 <07614fe2-75c7-c137-39ae-89b77101bf8b@HIDDEN> <871r69z6ba.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <97973c82-064c-42d0-2835-69ed627c79cc@HIDDEN>
Date: Wed, 1 Sep 2021 00:01:09 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <871r69z6ba.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.4 (/)
X-Debbugs-Envelope-To: 50307
Cc: 50307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.6 (/)

On 31.08.2021 23:51, Philip Kaludercic wrote:
> Dmitry Gutov<dgutov@HIDDEN>  writes:
> 
>> On 31.08.2021 23:30, Philip Kaludercic wrote:
>>> If a VC backend doesn't implement ignore-completion-table (for example
>>> vc-fossil), a lot of project.el commands cannot be used. This patch
>>> catches the vc-not-supported signal that vc throws in that case, fixing
>>> the issue:
>> Looks good, thanks. Do you have commit access?
> Yes, I can push it if you're ok with that.

Yes, thank you.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50307; Package emacs. Full text available.

Message received at 50307 <at> debbugs.gnu.org:


Received: (at 50307) by debbugs.gnu.org; 31 Aug 2021 20:51:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 31 16:51:32 2021
Received: from localhost ([127.0.0.1]:35536 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mLAjD-0003XK-WE
	for submit <at> debbugs.gnu.org; Tue, 31 Aug 2021 16:51:32 -0400
Received: from mout02.posteo.de ([185.67.36.66]:38765)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1mLAjB-0003X2-7a
 for 50307 <at> debbugs.gnu.org; Tue, 31 Aug 2021 16:51:30 -0400
Received: from submission (posteo.de [89.146.220.130]) 
 by mout02.posteo.de (Postfix) with ESMTPS id BA068240101
 for <50307 <at> debbugs.gnu.org>; Tue, 31 Aug 2021 22:51:22 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1630443082; bh=qyYaOQ2ST88Zvz2fpH4q1JzEaNQ3b0Uxn3EqujdjDZY=;
 h=From:To:Cc:Subject:Autocrypt:Date:From;
 b=TCAFJeggllXxoUtQ1hr6ls7/iNjHnF80Qtq440XUm/oyXd3+EPAiet8R8nqGdbEmp
 zt76VXnu2Xppjfu2MXQPqhH62ZlCoAeep141HSDI+q454Ee7GaYkl6iwyUxTqt9Wel
 v05JzPfpzinzb1FsVv4KTeE4xHBeSEWUWDHDEyI7wUmZf6iALERS+/WpJc2dTh4cr0
 8eho0DYMzDC73ZBLWuZRqduIKuMcJoifv1RCoQxNesvOx+idfQEMabdKXCcYSOQB92
 7iu8Uc7s0BVsCuLsh2qWN1mdXX6rIJWZjG1EdiHnnQYdlOfh2/zqFV5FbpkRoelopk
 GTdQ0ZuGz+IwA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4GzfVd6jfQz6tm4;
 Tue, 31 Aug 2021 22:51:21 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>
Subject: Re: bug#50307: 28.0.50; project-find-file fails if VC backend
 doesn't implement ignore-completion-table
References: <875yvlz7a6.fsf@HIDDEN>
 <07614fe2-75c7-c137-39ae-89b77101bf8b@HIDDEN>
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=mutual; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Tue, 31 Aug 2021 20:51:21 +0000
In-Reply-To: <07614fe2-75c7-c137-39ae-89b77101bf8b@HIDDEN> (Dmitry Gutov's
 message of "Tue, 31 Aug 2021 23:49:26 +0300")
Message-ID: <871r69z6ba.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50307
Cc: 50307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Dmitry Gutov <dgutov@HIDDEN> writes:

> On 31.08.2021 23:30, Philip Kaludercic wrote:
>> If a VC backend doesn't implement ignore-completion-table (for example
>> vc-fossil), a lot of project.el commands cannot be used. This patch
>> catches the vc-not-supported signal that vc throws in that case, fixing
>> the issue:
>
> Looks good, thanks. Do you have commit access?

Yes, I can push it if you're ok with that.

-- 
	Philip Kaludercic




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50307; Package emacs. Full text available.

Message received at 50307 <at> debbugs.gnu.org:


Received: (at 50307) by debbugs.gnu.org; 31 Aug 2021 20:49:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 31 16:49:36 2021
Received: from localhost ([127.0.0.1]:35531 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mLAhM-0003U9-LH
	for submit <at> debbugs.gnu.org; Tue, 31 Aug 2021 16:49:36 -0400
Received: from mail-wm1-f44.google.com ([209.85.128.44]:39877)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1mLAhK-0003Tt-Ms
 for 50307 <at> debbugs.gnu.org; Tue, 31 Aug 2021 16:49:35 -0400
Received: by mail-wm1-f44.google.com with SMTP id
 f9-20020a05600c1549b029025b0f5d8c6cso3172333wmg.4
 for <50307 <at> debbugs.gnu.org>; Tue, 31 Aug 2021 13:49:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=HGEafsXBqC2iJzGp5ffZ1asjgtWlp6PxXkM1HOyJqQM=;
 b=EDyMNPq9Xzya4uFyyjCc8AfsdxXRFfOQKQPSLssKmKvPHCCX4YCWzo6GnFdvAfYTcz
 HjETefFvnsBPn5G4qS6z9gmjIBWK6Y9aHY59c+7xR9WPXVydyNi0g/EZ6zSx01JCEi3y
 pdfdX9wxdFAgc6B0TptH5JpsisxQU8ne80ZEcRX3j6Ag8PRhVo9djSQ3dohjRoCjwGKt
 LbnbBf8FLN6fufRDmsDH/AWqBeqwdl3HykoxQ6Rs77mzr2bJIsYVX84LEsuDyAUiZlyk
 pC/En7ocpsTLVP+2xDoyQdSnKr4GVSeU5Nuf+/bgXfPcBEllD7StR8EksFiHBMDrvuTF
 sgpw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:subject:to:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=HGEafsXBqC2iJzGp5ffZ1asjgtWlp6PxXkM1HOyJqQM=;
 b=FYNyRmWwQO870HTkvezQFX6ZbXK+hhDf8JDMu7lr9XxWyesaFsAmM40NIBgIgulzP2
 KeMJf9PJccXIHPF1r2K6A5/+v3J4/MKE69ylscLuglUA/5iScH+9ACCDrMsrAWKP85k3
 h2nqjkQPcZPiy7dA1l+K4r1nFHJ6Ay0SXUjnj6LKmMCXm/1hDqou7TCQaP6YAtRfdE/f
 G8iAO8ERJBlUrbWCaGkl6mmIMlPABmkR3fq1oZOOTgYfv7TtKpDUSXPClvaRH9YG+3ZZ
 LIm4KxzosGoQ9cq7+rwccX+GhBZ246rHJadYY681LHRJJLNx1jIzdElN4NBqxeuytO5d
 YyUA==
X-Gm-Message-State: AOAM530lH7aL7L/92yG1CLW761eda+eLroCWdKUjXIEEWskjOK43yOKm
 oQN4ghQtv75UkVNUEm48rWHKqDUgAf8=
X-Google-Smtp-Source: ABdhPJwcbuqC467PJ6mHxACGpmPq9n5ZVDU6d/u5+bSH7pdRjEQRumtsq7T0KYkYvt4o9cHZM/CYvg==
X-Received: by 2002:a1c:4d10:: with SMTP id o16mr6279927wmh.60.1630442968704; 
 Tue, 31 Aug 2021 13:49:28 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id c9sm17169570wrf.77.2021.08.31.13.49.27
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 31 Aug 2021 13:49:28 -0700 (PDT)
Subject: Re: bug#50307: 28.0.50; project-find-file fails if VC backend doesn't
 implement ignore-completion-table
To: Philip Kaludercic <philipk@HIDDEN>, 50307 <at> debbugs.gnu.org
References: <875yvlz7a6.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <07614fe2-75c7-c137-39ae-89b77101bf8b@HIDDEN>
Date: Tue, 31 Aug 2021 23:49:26 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <875yvlz7a6.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.4 (/)
X-Debbugs-Envelope-To: 50307
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.6 (/)

On 31.08.2021 23:30, Philip Kaludercic wrote:
> If a VC backend doesn't implement ignore-completion-table (for example
> vc-fossil), a lot of project.el commands cannot be used. This patch
> catches the vc-not-supported signal that vc throws in that case, fixing
> the issue:

Looks good, thanks. Do you have commit access?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50307; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Aug 2021 20:30:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 31 16:30:44 2021
Received: from localhost ([127.0.0.1]:35519 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mLAP6-0001UX-3X
	for submit <at> debbugs.gnu.org; Tue, 31 Aug 2021 16:30:44 -0400
Received: from lists.gnu.org ([209.51.188.17]:34390)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1mLAP3-0001RT-3a
 for submit <at> debbugs.gnu.org; Tue, 31 Aug 2021 16:30:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58956)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <philipk@HIDDEN>)
 id 1mLAOy-0003aQ-Ak
 for bug-gnu-emacs@HIDDEN; Tue, 31 Aug 2021 16:30:40 -0400
Received: from mout02.posteo.de ([185.67.36.66]:55969)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <philipk@HIDDEN>)
 id 1mLAOu-00012C-6n
 for bug-gnu-emacs@HIDDEN; Tue, 31 Aug 2021 16:30:35 -0400
Received: from submission (posteo.de [89.146.220.130]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 200A7240101
 for <bug-gnu-emacs@HIDDEN>; Tue, 31 Aug 2021 22:30:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1630441827; bh=3Es6vMMiW20KC0Lph39Q3fnnLvS6KfHWXQsqbGuHXO4=;
 h=From:To:Subject:Autocrypt:Date:From;
 b=AZud8cYR6A5EDU/t+hJcSMcLSFklvfI+SKISvD5wQtAt+/ht4Qvtjb+4duPIK4OZd
 IabrSVkiuXLlJfLc2EBLCUUTeqvoBtXtLzz05T5ntUAQiIrQ6qX3OHrBwpvpt6NN+N
 fZwq0Fv0NrgDEReRBw22vamTKnndbtkYrt2vkmt0A/xGiS1X+/j2mvjwqARPWewTXx
 YW8mIsdPe+UIqIikK8iQDxlTq76deJK60Cguoe2jRwUG9MzZvhPpCFuyhYv6QgcczR
 CT+8HWNeIhgb5R+jtQrv8Duhd4/MiRYIWaPJOcfewtxinUfYNUUU3QF3NgAfiarfpJ
 EBPdUWLxiVjEQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4Gzf2V3t7Zz6tmF
 for <bug-gnu-emacs@HIDDEN>; Tue, 31 Aug 2021 22:30:26 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; project-find-file fails if VC backend doesn't implement
 ignore-completion-table
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=mutual; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Tue, 31 Aug 2021 20:30:25 +0000
Message-ID: <875yvlz7a6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@HIDDEN;
 helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--=-=-=
Content-Type: text/plain


If a VC backend doesn't implement ignore-completion-table (for example
vc-fossil), a lot of project.el commands cannot be used. This patch
catches the vc-not-supported signal that vc throws in that case, fixing
the issue:


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline;
 filename=0001-Avoid-failing-if-vc-backend-doesn-t-implement-ignore.patch

From 33e23d5646d130c8145e54807259941865208524 Mon Sep 17 00:00:00 2001
From: Philip Kaludercic <philipk@HIDDEN>
Date: Tue, 31 Aug 2021 22:24:02 +0200
Subject: [PATCH] Avoid failing if vc backend doesn't implement
 ignore-completion-table

* project.el (project-ignores): Handle vc-not-supported signals
---
 lisp/progmodes/project.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 76644cc934..c1a97b1d0f 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -604,7 +604,9 @@ project-ignores
                  (replace-match "./" t t entry 1)
                (concat "./" entry)))
             (t entry)))
-         (vc-call-backend backend 'ignore-completion-table root))))
+         (condition-case nil
+             (vc-call-backend backend 'ignore-completion-table root)
+           (vc-not-supported () nil)))))
      (project--value-in-dir 'project-vc-ignores root)
      (mapcar
       (lambda (dir)
-- 
2.30.2


--=-=-=
Content-Type: text/plain




In GNU Emacs 28.0.50 (build 7, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars)
 of 2021-08-26 built on icterid
Repository revision: b74afe63d02f126127d9211c0d1c1dc2cf5dd5bb
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure LDFLAGS=-flto 'CFLAGS=-O2 -march=native -mtune=native -pipe'
 --with-native-compiler'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11
XDBE XIM XPM LUCID ZLIB

Important settings:
  value of $EMACSLOADPATH: 
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Git-Log-View

Minor modes in effect:
  icomplete-mode: t
  fido-mode: t
  vc-parent-buffer: project.el
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  shell-dirtrack-mode: t
  rcirc-track-minor-mode: t
  display-time-mode: t
  winner-mode: t
  windmove-mode: t
  electric-pair-mode: t
  recentf-mode: t
  save-place-mode: t
  savehist-mode: t
  show-paren-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/philip/.config/emacs/elpa/transient-0.3.6/transient hides /home/philip/Code/src/emacs/lisp/transient
~/.config/emacs/site-lisp/autoload hides /home/philip/Code/src/emacs/lisp/emacs-lisp/autoload

Features:
(shadow emacsbug avy icomplete python tramp-sh tramp tramp-loaddefs
trampver tramp-integration files-x tramp-compat ls-lisp find-dired
apropos grep reposition eglot array jsonrpc modula2 smie edebug pulse
go-mode find-file etags fileloop xref help-at-pt 0x0 cl-print dictionary
dictionary-connection org-duration diary-lib diary-loaddefs cal-iso
quail org-agenda whitespace org-capture org-refile cal-move shortdoc
vc-annotate vc-filewise markdown-mode color shell-command+ flow-fill
mailalias bbdb-pgp bbdb-message autocrypt-message smiley gnus-cite
mail-extr gnus-async gnus-bcklg sort gnus-ml autocrypt-gnus autocrypt qp
nndraft nnmh epa-file nnmaildir nnfolder bbdb-gnus bbdb-mua bbdb-com
nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp
gnus-cache macrostep ert debug backtrace diff-hl-dired diff-hl vc-dir
ewoc tar-mode arc-mode archive-mode cus-edit cus-start mm-archive
mule-util gnutls network-stream url-http url-gw nsm url-cache url-auth
finder-inf bug-reference magit-extras face-remap magit-submodule
magit-obsolete magit-blame magit-stash magit-reflog magit-bisect
magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff
git-commit log-edit magit-core magit-autorevert autorevert filenotify
magit-margin magit-transient magit-process with-editor term disp-table
ehelp eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module
esh-groups esh-util shell server magit-mode transient magit-git
magit-section magit-utils crm dash smerge-mode org-element avl-tree
generator ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info
ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe gnus-art
mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom
gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap
nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message
rmc puny rfc822 mml mml-sec epa mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader gnus-win ol-docview doc-view jka-compr image-mode
exif ol-bibtex bibtex ol-bbdb ol-w3m org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete
pcomplete org-list org-faces org-entities org-version ob-emacs-lisp
ob-core ob-eval org-table ol org-keys org-compat advice org-macs
org-loaddefs format-spec find-func time-stamp ffap char-fold misearch
multi-isearch add-log dired-aux pp vc-fossil vc-backup log-view
pcvs-util diff vc-mtn vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs
vc-svn vc-cvs vc-rcs vc vc-dispatcher project paredit checkdoc
flymake-proc flymake warnings thingatpt flyspell ispell noutline outline
easy-mmode gnus-dired dired-x dired dired-loaddefs rcirc parse-time
iso8601 rx time bbdb bbdb-site timezone sendmail gnus nnheader gnus-util
rmail rmail-loaddefs time-date mail-utils hippie-exp winner windmove
elec-pair recentf tree-widget wid-edit saveplace savehist paren
modus-operandi-theme modus-themes holidays hol-loaddefs cal-menu
calendar cal-loaddefs cus-load setup load compile text-property-search
comint ansi-color autoload lisp-mnt mail-parse rfc2231 rfc2047 rfc2045
mm-util ietf-drums mail-prsvr tex-site geiser-impl help-fns radix-tree
geiser-custom geiser-base ring slime-autoloads info package let-alist
derived edmacro kmacro pcase cl-extra help-mode browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq
byte-opt gv bytecomp byte-compile cconv epg epg-config subr-x
cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode register page
tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar
mouse jit-lock font-lock syntax font-core term/tty-colors frame
minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite charscript charprop case-table epa-hook jka-cmpr-hook help
simple abbrev obarray cl-preloaded nadvice button loaddefs faces
cus-face macroexp files window text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo x-toolkit x multi-tty make-network-process
emacs)

Memory information:
((conses 16 961696 806349)
 (symbols 48 47137 477)
 (strings 32 189111 82914)
 (string-bytes 1 6073525)
 (vectors 16 92310)
 (vector-slots 8 1793191 806360)
 (floats 8 654 2670)
 (intervals 56 33002 13099)
 (buffers 992 86))

-- 
	Philip K.

--=-=-=--




Acknowledgement sent to Philip Kaludercic <philipk@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#50307; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 1 Sep 2021 08:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.