From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 06 05:34:56 2025 Received: (at submit) by debbugs.gnu.org; 6 Aug 2025 09:34:56 +0000 Received: from localhost ([127.0.0.1]:58132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ujaXv-0007es-V4 for submit@debbugs.gnu.org; Wed, 06 Aug 2025 05:34:56 -0400 Received: from lists.gnu.org ([2001:470:142::17]:43896) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ujaXt-0007ea-JA for submit@debbugs.gnu.org; Wed, 06 Aug 2025 05:34:54 -0400 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 1ujaXn-0007Iv-M0 for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2025 05:34:47 -0400 Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ujaXm-0004AZ-1h for bug-gnu-emacs@gnu.org; Wed, 06 Aug 2025 05:34:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1754472884; bh=hzZxYXq7HaB5dGxJibIkIJjfFNR2b30ejmcfxS12rRI=; h=From:To:Subject:Date:From; b=o1W1SNvASRjp7RuRvPpgPSZB4CDxBtYmSgvRHL1SfqzoXU6t/z1JLljgnuo4VVof1 8RHWGyfRL0FelBcZ58uD6gwzz4UT4tI2YSo1xx8QNiNptlXRcickUlQl/y4/ZV0VKc nRjNiEAxs1rN2wCCTJ14o03yRlJ7j5gsn4grZLQEs/QmYqm2x8/jfbPLRE5nBbbkOY rtHXiCEyeJi674BNWdZsrNk3JShpq9jp7oxD0I8vuDSxs+gIS2V3xidOESxEBQEnZ2 EOy+zvo3gCLjvxo/Q9xugNNFiEtl/azX2ScLp6u6pYue2Uokibbj/e3g2QwoEZQLZS uEftSel5OL+wQ== From: Eshel Yaron To: bug-gnu-emacs@gnu.org Subject: 31.0.50; vc-register prefix arg error X-Debbugs-Cc: Sean Whitton Date: Wed, 06 Aug 2025 11:34:40 +0200 Message-ID: <875xf07pzj.fsf@mail.eshelyaron.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@eshelyaron.com; helo=eshelyaron.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, With emacs -Q, visit any file and say C-u vc-register. This yields an error: "Wrong type argument: symbolp, 4". The interactive spec of vc-register seems to be a remnant of a previous implementation that is no longer applicable, so I suggest simply removing it: Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: eshelyaron.com] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: eshelyaron.com] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=me%40eshelyaron.com; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) Hi, With emacs -Q, visit any file and say C-u vc-register. This yields an error: "Wrong type argument: symbolp, 4". The interactive spec of vc-register seems to be a remnant of a previous implementation that is no longer applicable, so I suggest simply removing it: diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 4cfd1790266..9f65ab187ce 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -1752,7 +1752,7 @@ vc-register directory are already registered under that backend) will be used to register the file. If no backend declares itself responsible, the first backend that could register the file is used." - (interactive "P") + (interactive) (let* ((fileset-arg (or vc-fileset (vc-deduce-fileset nil t))) (backend (car fileset-arg)) (files (nth 1 fileset-arg))) Best, Eshel From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 06 10:16:22 2025 Received: (at 79183-done) by debbugs.gnu.org; 6 Aug 2025 14:16:22 +0000 Received: from localhost ([127.0.0.1]:59589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ujewI-0001Y9-2M for submit@debbugs.gnu.org; Wed, 06 Aug 2025 10:16:22 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:34498) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ujewB-0001Xl-8h for 79183-done@debbugs.gnu.org; Wed, 06 Aug 2025 10:16:20 -0400 DKIM-Signature: a=rsa-sha256; b=nxAKFh3EtRGbVt97tDECHLjEbuhMmqujqTGFt5UMlxoSoHxzTpVktQ996a/4H7+3/FcSpA63ni/55jRP/IdWd8h/aTnfSjrkkSI5XdSjel7GMmkus6p0UG93pSecbWk87HFUVvf/+1J8EC0ZsCEFDvHFmR0E/SsVA7Mloq3oD5A28owYz0TjH3g1tDj6LawmEWshQtK2pCQc+1WwfKxFMWCptDjBQvyS8KZHjQe6tKpa1IK8iONtWubmzT7qPEy1DQQs+5yjbGypZp1oVJzCBtpuwwCivgJY8KAyYKwdmSlLJRsyId5L5rL1s1If29BvJUp3IdPOPADWmk9yR9My7Q==; s=purelymail1; d=spwhitton.name; v=1; bh=nQ1hcUFNcfohGMyEWeia/BvpLVpYA7CMyNUbwAZP+Xs=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=LFBUf+bHG0xHQXRH8SuO8B3i/1cJ1iIuSZQulmBETINqKudmt5aPrAIc+LrKxK6S5Dyubs9EmBy59a/8Y48ILMz3kt6ZbEhoVaYIXfaaRWfDp5KPbH08uNeqZNxu/EFm/hQ87kn/wISMIGQ/xgWB9EnJPuQIU/OSkxtqB4HIkQsAntK0TRHF7uEBOcgJIgGpfqQftzi8BnJE+cmL4UqcmPsSPMb64GoZUULN8PWArrTi9PtdDLBNr3Qm1I/NY4Cu6+csn+YJ6PTfAssxZjy5K3Vq3/yoj25/kWH87y9fcNkAef7xNIlDLu/vxyXw9HUJxtVM3N4SjLmDpvnNmuTpYA==; s=purelymail1; d=purelymail.com; v=1; bh=nQ1hcUFNcfohGMyEWeia/BvpLVpYA7CMyNUbwAZP+Xs=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 79183-done@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -1738190447; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 06 Aug 2025 14:16:07 +0000 (UTC) Received: by zephyr.silentflame.com (Postfix, from userid 1000) id 0D3A9940925; Wed, 06 Aug 2025 15:16:07 +0100 (BST) From: Sean Whitton To: 79183-done@debbugs.gnu.org, Eshel Yaron Subject: Re: bug#79183: 31.0.50; vc-register prefix arg error In-Reply-To: <875xf07pzj.fsf@mail.eshelyaron.com> References: <875xf07pzj.fsf@mail.eshelyaron.com> Date: Wed, 06 Aug 2025 15:16:07 +0100 Message-ID: <87cy987cyg.fsf@zephyr.silentflame.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79183-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, On Wed 06 Aug 2025 at 11:34am +02, Eshel Yaron wrote: > Hi, > > With emacs -Q, visit any file and say C-u vc-register. > This yields an error: "Wrong type argument: symbolp, 4". > > The interactive spec of vc-register seems to be a remnant of a previous > implementation that is no longer applicable, so I suggest simply > removing it: Yes, it looks like it should have been removed in commit 2f4f92007956. Done it now, on the emacs-30 branch. Thanks. -- Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 06 10:44:27 2025 Received: (at 79183-done) by debbugs.gnu.org; 6 Aug 2025 14:44:27 +0000 Received: from localhost ([127.0.0.1]:59662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ujfNS-0002vf-M4 for submit@debbugs.gnu.org; Wed, 06 Aug 2025 10:44:26 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:41876 helo=eshelyaron.com) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ujfNO-0002vT-Dm for 79183-done@debbugs.gnu.org; Wed, 06 Aug 2025 10:44:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1754491461; bh=ITDXqcNllXsT1elNt/xrK3+u5HC7qRWQD//N/E7yXKw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mHMxIax1YKAcrJTpu4NsvkOnYQ1D7NMFSkn3UV1m52XNWLN9slZO2hS3ZAndeE0Qe haiZQYzmrl4HVIEBkOxVEYkHHbaIVVobpvsnZgm/TnYiQElGHISFgy9svYRiB6ull7 ZLvy/JfHUTZKAEPry7EqqVqPfoJgwUJqw0fpDxGPad12oefDQrXL9doM8F3zAfAYtq igfVv8IGJ/iTrWU3JUMtWhz/+LRGr3HuuajPblrzZyBiurXfatlvHVfvoct4S755ZU O1fUKaBphxLEUV9zCNI08wHMq3GJv6d3yIaAfYuqeYB/1FOrzAedQGeNDCnsgW2Y+1 m3zisUPh/gqZA== From: Eshel Yaron To: Sean Whitton Subject: Re: bug#79183: 31.0.50; vc-register prefix arg error In-Reply-To: <87cy987cyg.fsf@zephyr.silentflame.com> References: <875xf07pzj.fsf@mail.eshelyaron.com> <87cy987cyg.fsf@zephyr.silentflame.com> Date: Wed, 06 Aug 2025 16:44:18 +0200 Message-ID: <87qzxoy0fx.fsf@mail.eshelyaron.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79183-done Cc: 79183-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sean Whitton writes: > Hello, > > On Wed 06 Aug 2025 at 11:34am +02, Eshel Yaron wrote: > >> Hi, >> >> With emacs -Q, visit any file and say C-u vc-register. >> This yields an error: "Wrong type argument: symbolp, 4". >> >> The interactive spec of vc-register seems to be a remnant of a previous >> implementation that is no longer applicable, so I suggest simply >> removing it: > > Yes, it looks like it should have been removed in commit 2f4f92007956. > > Done it now, on the emacs-30 branch. Thanks. Great, thank you. Eshel