From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#67171: 30.0.50; (At least) some VC commands fail with project-prefix-or-any-command Date: Mon, 27 Nov 2023 09:39:17 +0200 Organization: LINKOV.NET Message-ID: <86cyvvhcgq.fsf@mail.linkov.net> References: <87y1f0cwbj.fsf@melete.silentflame.com> <87a5r4bim6.fsf@melete.silentflame.com> <867cm8z8rt.fsf@mail.linkov.net> <197e0d54-dab9-e7cf-e78d-ea7384735f1b@gutov.dev> <86il5rlj01.fsf@mail.linkov.net> <86a5r1y8wm.fsf@mail.linkov.net> <83msv1bq8f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36953"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: dmitry@gutov.dev, sbaugh@catern.com, spwhitton@spwhitton.name, 67171@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 27 08:41: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 1r7WF2-0009V2-Vz for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Nov 2023 08:41:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7WEk-0006PR-QT; Mon, 27 Nov 2023 02:40:58 -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 1r7WEi-0006Ow-Ft for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2023 02:40:56 -0500 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 1r7WEi-0004bM-7I for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2023 02:40:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r7WEo-00045B-1V for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2023 02:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Nov 2023 07:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67171 X-GNU-PR-Package: emacs Original-Received: via spool by 67171-submit@debbugs.gnu.org id=B67171.170107083315641 (code B ref 67171); Mon, 27 Nov 2023 07:41:02 +0000 Original-Received: (at 67171) by debbugs.gnu.org; 27 Nov 2023 07:40:33 +0000 Original-Received: from localhost ([127.0.0.1]:43159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7WEK-00044D-Vv for submit@debbugs.gnu.org; Mon, 27 Nov 2023 02:40:33 -0500 Original-Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]:48337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7WEH-00043u-VH for 67171@debbugs.gnu.org; Mon, 27 Nov 2023 02:40:31 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 5E5061BF206; Mon, 27 Nov 2023 07:40:15 +0000 (UTC) In-Reply-To: <83msv1bq8f.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 25 Nov 2023 21:13:52 +0200") X-GND-Sasl: juri@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:275105 Archived-At: >> +(defcustom vc-deduce-backend-nonvc-modes >> + ;; Maybe we could even use comint-mode rather than shell-mode? >> '(dired-mode shell-mode eshell-mode compilation-mode) >> "List of modes not supported by VC where backend should be deduced. >> In these modes the backend is deduced based on `default-directory'. >> -When nil, the backend is deduced in all modes.") >> +When t, the backend is deduced in all modes." > > Please don't use "when" in these contexts; use "if" instead. "When" > could be confusing because it has the meaning of time, not only of > condition. > > Also, it is better to say "If the value is t" or "If this is t", > instead of just "If t". Now changed to defcustom with these fixes.