GNU bug report logs - #79335
[PATCH] Make 'lua-prefix-key' option a 'key-sequence'

Previous Next

Package: emacs;

Reported by: john muhl <jm <at> pub.pink>

Date: Thu, 28 Aug 2025 23:54:02 UTC

Severity: normal

Tags: patch

Fixed in version 31.1

Done: john muhl <jm <at> pub.pink>

To reply to this bug, email your comments to 79335 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 michael.albinus <at> gmx.de, bug-gnu-emacs <at> gnu.org:
bug#79335; Package emacs. (Thu, 28 Aug 2025 23:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to john muhl <jm <at> pub.pink>:
New bug report received and forwarded. Copy sent to michael.albinus <at> gmx.de, bug-gnu-emacs <at> gnu.org. (Thu, 28 Aug 2025 23:54:03 GMT) Full text and rfc822 format available.

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

From: john muhl <jm <at> pub.pink>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Make 'lua-prefix-key' option a 'key-sequence'
Date: Thu, 28 Aug 2025 18:53:23 -0500
Michael Albinus <michael.albinus <at> gmx.de> writes:

> This breaks test-custom-opts:
>
>    FAILED  check-for-wrong-custom-opts  ((should (null (cus-test-opts t))) :form (null ((lua-prefix-key :type-error 3 (string)))) :value nil)
>
>
> Likely, lua-prefix-key needs
>
>   :type '(choice (const nil) string)
>
> But I don't know whether this is intended.

The problem is that there are cases where it is being set to an
integer. I’ve change the defcustom to use the key-sequence type
now and fixed the test. Patch incoming.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79335; Package emacs. (Fri, 29 Aug 2025 00:30:02 GMT) Full text and rfc822 format available.

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

From: john muhl <jm <at> pub.pink>
To: 79335 <at> debbugs.gnu.org
Cc: Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#79335: [PATCH] Make 'lua-prefix-key' option a 'key-sequence'
Date: Thu, 28 Aug 2025 19:29:26 -0500
[0001-Make-lua-prefix-key-option-a-key-sequence.patch (text/x-patch, attachment)]
[Message part 2 (text/plain, inline)]

john muhl <jm <at> pub.pink> writes:

> Michael Albinus <michael.albinus <at> gmx.de> writes:
>
>> This breaks test-custom-opts:
>>
>>    FAILED  check-for-wrong-custom-opts  ((should (null (cus-test-opts t))) :form (null ((lua-prefix-key :type-error 3 (string)))) :value nil)
>>
>>
>> Likely, lua-prefix-key needs
>>
>>   :type '(choice (const nil) string)
>>
>> But I don't know whether this is intended.
>
> The problem is that there are cases where it is being set to an
> integer. I’ve change the defcustom to use the key-sequence type
> now and fixed the test. Patch incoming.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79335; Package emacs. (Fri, 29 Aug 2025 07:52:03 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: john muhl <jm <at> pub.pink>
Cc: 79335 <at> debbugs.gnu.org
Subject: Re: bug#79335: [PATCH] Make 'lua-prefix-key' option a 'key-sequence'
Date: Fri, 29 Aug 2025 09:51:01 +0200
john muhl <jm <at> pub.pink> writes:

Hi John,

> The problem is that there are cases where it is being set to an
> integer. I’ve change the defcustom to use the key-sequence type
> now and fixed the test. Patch incoming.

Thanks for the patch. I've checked it with both test-custom-opts and
lua-mode-tests; no problem. Pushed to master.

Best regards, Michael.




bug marked as fixed in version 31.1, send any further explanations to 79335 <at> debbugs.gnu.org and john muhl <jm <at> pub.pink> Request was from john muhl <jm <at> pub.pink> to control <at> debbugs.gnu.org. (Sat, 30 Aug 2025 01:38:02 GMT) Full text and rfc822 format available.

This bug report was last modified 12 days ago.

Previous Next


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