From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#67171: 30.0.50; (At least) some VC commands fail with project-prefix-or-any-command Date: Tue, 05 Dec 2023 22:40:30 +0000 Message-ID: <874jgwff35.fsf@melete.silentflame.com> References: <87y1f0cwbj.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37916"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 67171@debbugs.gnu.org, sbaugh@catern.com, juri@linkov.net To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 05 23:41:10 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 1rAe6G-0009fJ-5V for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Dec 2023 23:41:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rAe60-0007ld-HO; Tue, 05 Dec 2023 17:40:52 -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 1rAe5z-0007lN-Cb for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2023 17:40:51 -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 1rAe5y-0007HI-IX for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2023 17:40:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rAe69-0001mH-P0 for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2023 17:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Dec 2023 22:41:01 +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.17018160566812 (code B ref 67171); Tue, 05 Dec 2023 22:41:01 +0000 Original-Received: (at 67171) by debbugs.gnu.org; 5 Dec 2023 22:40:56 +0000 Original-Received: from localhost ([127.0.0.1]:38528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAe63-0001lo-NQ for submit@debbugs.gnu.org; Tue, 05 Dec 2023 17:40:56 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:37363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAe5y-0001lU-D7 for 67171@debbugs.gnu.org; Tue, 05 Dec 2023 17:40:54 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 49B065C01AF; Tue, 5 Dec 2023 17:40:33 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 05 Dec 2023 17:40:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc: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=fm3; t=1701816033; x= 1701902433; bh=5GlS7vR3zSkwopLN65Bgij/x1OmbXiNfKTzNR/2KL7A=; b=N jEBDQSo9KKVHEV8t+a123wutW+O1WsKc5pQAfXi0Aodb64iizNzWIR43mp6Sz0Sb LKVQyF0+xrHUY3sjjlV08ALosw97Nylh4iICDHb4E8kyNOcJLiBdDP+uyYETRMjt ZUFNpfIgsR3Mj7IdV9uq8DvBAVmG/SUTpSqz/KyrQE3Sx0HCz/17G4cPT8gPlOtB IHQ9f8pmPNq1nN8f3VPTxYHjW5sY0L589dApuk9EQOwzXNQIAWezqOKTY4vyDN+Z bPDQMKSLrPr7REGhmN0MSgdxJ8nPcaKicG+f7AKAYXxNi/gpz0mVtAGKhx84q9Rl RKubvjI52AfjpM4diaAQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=fm1; t=1701816033; x=1701902433; bh=5GlS7vR3zSkwo pLN65Bgij/x1OmbXiNfKTzNR/2KL7A=; b=PVrYb3Rmj4kK5jHYCYOXU5wpsuiv/ YQj18Xe8U81lkqcrPZZYeGKiTzi+c/lWmvdhJv3+wT/9Od5Lx3WIAmgkjCX34t8z q9s4Ya3kDD86/IwBopunMWvZ4RFZZ+Th03i4mZ6jIsuiQWXIK1Dy+J4u/vif91I6 42rulvJgBtcW0q+3q8co6DkJqsTXN1XfOWImuzYEjyZh6hxTG3yabVRwVPWMOJyO xUWtFBoq5WzcnS4aepUpTGR/8T+timbLx0kY07mZrPgC3Wz1en8lwqqsJEdY1Fe8 MtMF6OJt99/EKVPcCb3Mn5naFMhC85Y/9NLnkeI70x+sQ2ANZrEfjsmgA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudejledgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkfgggtgesthdttddttdertdenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpedtffdvffeuleeuvdetkedvveehgfehvdegvefghfevudek geegleevgeejkeetkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Dec 2023 17:40:32 -0500 (EST) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 7CBFF7E7BF2; Tue, 5 Dec 2023 22:40:30 +0000 (GMT) In-Reply-To: (Dmitry Gutov's message of "Mon, 20 Nov 2023 04:17:47 +0200") 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:275576 Archived-At: Hello, On Mon 20 Nov 2023 at 04:17am +02, Dmitry Gutov wrote: > On 14/11/2023 15:13, Sean Whitton wrote: >> X-debbugs-cc: dmitry@gutov.dev, juri@linkov.net, sbaugh@catern.com >> Hello, >> 1. cd /home/spwhitton/src/some-project && emacs -q >> 2. (setopt project-switch-commands #'project-prefix-or-any-command) >> 3. (project-remember-project (project-current nil "/home/spwhitton/src/emacs/trunk/)) >> 4. C-x p p /home/spwhitton/src/emacs/trunk RET C-x v L >> VC prints the log of /home/spwhitton/some-project, not that of >> /home/spwhitton/src/emacs/trunk. > > I'm having difficulty reproducing this. > > On step 4, I'm asked for the project root (because *scratch* doesn't have a > current VC backend), but the input defaults to the directory chosen in steps 3 > and 4. And if I open a file-visiting buffer first, then the prompt is skipped, > and I do see the log of the other project. Not the one used in step 1. Alright, I've bisected it. After step 3, additionally eval this form: (define-key project-prefix-map "L" #'vc-print-root-log) I have this because I want to be able to type just L instead of C-x v L. That doesn't work -- possibly not a bug -- but surely adding that binding shouldn't affect C-x v L, at least? -- Sean Whitton