GNU bug report logs -
#79183
31.0.50; vc-register prefix arg error
Previous Next
To reply to this bug, email your comments to 79183 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
spwhitton <at> spwhitton.name, bug-gnu-emacs <at> gnu.org
:
bug#79183
; Package
emacs
.
(Wed, 06 Aug 2025 09:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Eshel Yaron <me <at> eshelyaron.com>
:
New bug report received and forwarded. Copy sent to
spwhitton <at> spwhitton.name, bug-gnu-emacs <at> gnu.org
.
(Wed, 06 Aug 2025 09:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
Sean Whitton <spwhitton <at> spwhitton.name>
:
You have taken responsibility.
(Wed, 06 Aug 2025 14:17:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Eshel Yaron <me <at> eshelyaron.com>
:
bug acknowledged by developer.
(Wed, 06 Aug 2025 14:17:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 79183-done <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#79183
; Package
emacs
.
(Wed, 06 Aug 2025 14:45:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 79183-done <at> debbugs.gnu.org (full text, mbox):
Sean Whitton <spwhitton <at> spwhitton.name> 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
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.