GNU bug report logs - #60161
[PATCH] Allow customising windmove user options with an empty prefix

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Sat, 17 Dec 2022 15:05:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60161 in the body.
You can then email your comments to 60161 AT debbugs.gnu.org in the normal way.

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

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


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#60161; Package emacs. (Sat, 17 Dec 2022 15:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philip Kaludercic <philipk <at> posteo.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 17 Dec 2022 15:05:02 GMT) Full text and rfc822 format available.

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

From: Philip Kaludercic <philipk <at> posteo.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Allow customising windmove user options with an empty prefix
Date: Sat, 17 Dec 2022 15:04:41 +0000
[Message part 1 (text/plain, inline)]
Tags: patch


I just switched to setopt, and noticed a few errors.  Among these was
`windmove-default-keybindings', which didn't want to set

  (setopt windmove-default-keybindings '(nil . nil))

while

  (setopt windmove-default-keybindings '("C-c" . nil))

is allowed.  The mistake appears to be that the option type is
misconfigured, and believes the car must be a keybinding, which hasn't
been the case since Emacs 28.  The patch below updates the type,
resolving this issue.

In GNU Emacs 29.0.60 (build 5, x86_64-pc-linux-gnu, GTK+ Version
 3.24.35, cairo version 1.16.0) of 2022-12-14 built on quetzal
Repository revision: 622838b957e240d700585050e9ddbd036e690513
Repository branch: emacs-29
System Description: Debian GNU/Linux bookworm/sid

Configured using:
 'configure --with-pgtk --with-imagemagick'

[0001-Allow-customising-windmove-user-options-with-an-empt.patch (text/patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60161; Package emacs. (Sun, 18 Dec 2022 11:24:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: 60161 <at> debbugs.gnu.org
Subject: Re: bug#60161: [PATCH] Allow customising windmove user options with an
 empty prefix
Date: Sun, 18 Dec 2022 13:23:34 +0200
> From: Philip Kaludercic <philipk <at> posteo.net>
> Date: Sat, 17 Dec 2022 15:04:41 +0000
> 
> I just switched to setopt, and noticed a few errors.  Among these was
> `windmove-default-keybindings', which didn't want to set
> 
>   (setopt windmove-default-keybindings '(nil . nil))
> 
> while
> 
>   (setopt windmove-default-keybindings '("C-c" . nil))
> 
> is allowed.  The mistake appears to be that the option type is
> misconfigured, and believes the car must be a keybinding, which hasn't
> been the case since Emacs 28.  The patch below updates the type,
> resolving this issue.

Thanks, please install on the release branch.




Reply sent to Philip Kaludercic <philipk <at> posteo.net>:
You have taken responsibility. (Sun, 18 Dec 2022 11:47:02 GMT) Full text and rfc822 format available.

Notification sent to Philip Kaludercic <philipk <at> posteo.net>:
bug acknowledged by developer. (Sun, 18 Dec 2022 11:47:02 GMT) Full text and rfc822 format available.

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

From: Philip Kaludercic <philipk <at> posteo.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 60161-done <at> debbugs.gnu.org
Subject: Re: bug#60161: [PATCH] Allow customising windmove user options with
 an empty prefix
Date: Sun, 18 Dec 2022 11:46:29 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Philip Kaludercic <philipk <at> posteo.net>
>> Date: Sat, 17 Dec 2022 15:04:41 +0000
>> 
>> I just switched to setopt, and noticed a few errors.  Among these was
>> `windmove-default-keybindings', which didn't want to set
>> 
>>   (setopt windmove-default-keybindings '(nil . nil))
>> 
>> while
>> 
>>   (setopt windmove-default-keybindings '("C-c" . nil))
>> 
>> is allowed.  The mistake appears to be that the option type is
>> misconfigured, and believes the car must be a keybinding, which hasn't
>> been the case since Emacs 28.  The patch below updates the type,
>> resolving this issue.
>
> Thanks, please install on the release branch.

Pushed




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 15 Jan 2023 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 151 days ago.

Previous Next


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