GNU bug report logs - #79996
[PATCH] Fix interactive call to `prepare-user-lisp'

Previous Next

Package: emacs;

Reported by: Roi Martin <jroi.martin <at> gmail.com>

Date: Fri, 12 Dec 2025 20:25:02 UTC

Severity: normal

Tags: patch

Done: Philip Kaludercic <philipk <at> posteo.net>

To reply to this bug, email your comments to 79996 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to philipk <at> posteo.net, bug-gnu-emacs <at> gnu.org:
bug#79996; Package emacs. (Fri, 12 Dec 2025 20:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Roi Martin <jroi.martin <at> gmail.com>:
New bug report received and forwarded. Copy sent to philipk <at> posteo.net, bug-gnu-emacs <at> gnu.org. (Fri, 12 Dec 2025 20:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Roi Martin <jroi.martin <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Fix interactive call to `prepare-user-lisp'
Date: Fri, 12 Dec 2025 21:24:17 +0100
[Message part 1 (text/plain, inline)]
Tags: patch

When called interactively with a prefix argument, `prepare-user-lisp'
throws the following error:

  Wrong type argument: stringp, (4)

This happens because the list passed to `interactive' is missing one
argument and `current-prefix-arg' is assigned to AUTOLOAD-FILE instead
of FORCE.

        Roi

[0001-Fix-interactive-call-to-prepare-user-lisp.patch (text/x-patch, attachment)]

Reply sent to Philip Kaludercic <philipk <at> posteo.net>:
You have taken responsibility. (Fri, 12 Dec 2025 20:53:02 GMT) Full text and rfc822 format available.

Notification sent to Roi Martin <jroi.martin <at> gmail.com>:
bug acknowledged by developer. (Fri, 12 Dec 2025 20:53:02 GMT) Full text and rfc822 format available.

Message #10 received at 79996-done <at> debbugs.gnu.org (full text, mbox):

From: Philip Kaludercic <philipk <at> posteo.net>
To: Roi Martin <jroi.martin <at> gmail.com>
Cc: 79996-done <at> debbugs.gnu.org
Subject: Re: bug#79996: [PATCH] Fix interactive call to `prepare-user-lisp'
Date: Fri, 12 Dec 2025 20:52:06 +0000
Roi Martin <jroi.martin <at> gmail.com> writes:

> Tags: patch
>
> When called interactively with a prefix argument, `prepare-user-lisp'
> throws the following error:
>
>   Wrong type argument: stringp, (4)
>
> This happens because the list passed to `interactive' is missing one
> argument and `current-prefix-arg' is assigned to AUTOLOAD-FILE instead
> of FORCE.
>
>         Roi

Thanks, good catch.  I've pushed it to master with minor modifications to
the commit message.  Closing the report!




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79996; Package emacs. (Fri, 12 Dec 2025 21:07:02 GMT) Full text and rfc822 format available.

Message #13 received at 79996-done <at> debbugs.gnu.org (full text, mbox):

From: Roi Martin <jroi.martin <at> gmail.com>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: 79996-done <at> debbugs.gnu.org
Subject: Re: bug#79996: [PATCH] Fix interactive call to `prepare-user-lisp'
Date: Fri, 12 Dec 2025 22:05:49 +0100
Philip Kaludercic <philipk <at> posteo.net> writes:

> Roi Martin <jroi.martin <at> gmail.com> writes:
>
>> Tags: patch
>>
>> When called interactively with a prefix argument, `prepare-user-lisp'
>> throws the following error:
>>
>>   Wrong type argument: stringp, (4)
>>
>> This happens because the list passed to `interactive' is missing one
>> argument and `current-prefix-arg' is assigned to AUTOLOAD-FILE instead
>> of FORCE.
>>
>>         Roi
>
> Thanks, good catch.  I've pushed it to master with minor modifications to
> the commit message.  Closing the report!

Thanks!




This bug report was last modified 4 days ago.

Previous Next


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