From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#52523: 29.0.50; defcustom :type 'key-sequence not following key-valid-p format Date: Wed, 15 Dec 2021 12:35:03 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23339"; mail-complaints-to="usenet@ciao.gmane.io" To: 52523@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 15 21:36:26 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxb0j-0005tm-Jd for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Dec 2021 21:36:25 +0100 Original-Received: from localhost ([::1]:53516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxb0i-0004xq-8a for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Dec 2021 15:36:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxb0N-0004ud-EZ for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2021 15:36:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxb0M-0005jU-RH for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2021 15:36:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxb0M-0000KT-LN for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2021 15:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Dec 2021 20:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52523 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16396005121200 (code B ref -1); Wed, 15 Dec 2021 20:36:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Dec 2021 20:35:12 +0000 Original-Received: from localhost ([127.0.0.1]:33779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxazY-0000JI-NN for submit@debbugs.gnu.org; Wed, 15 Dec 2021 15:35:12 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:54248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxazY-0000JB-3q for submit@debbugs.gnu.org; Wed, 15 Dec 2021 15:35:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxazU-0004E2-Vx for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2021 15:35:11 -0500 Original-Received: from mail-pl1-f174.google.com ([209.85.214.174]:37450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxazS-0005X0-8n for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2021 15:35:07 -0500 Original-Received: by mail-pl1-f174.google.com with SMTP id n8so17530660plf.4 for ; Wed, 15 Dec 2021 12:35:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=UOdfxSWW/lv66t35bFyKPKd8EhBndrrs6QcZ0JX1OAQ=; b=N/2U9sZgzAVQbENpz9Y3xS55DgZM5ZD2MqN5+YDOyBwQe/+/DWee0aGuj9h7EoD5pd dpIFkmc+ySA+/r76MLaJSKKHRJttI3Riq9tqhmgumZaNalzak3LBGQHgoMHkhgcTtRjx q7Qfy+H7Lho6wixwdasZXknhCg0v60/gqI281FPbTsqNhcQqr24qBYxo1m34ufx0HQa+ s7PIY2JCdyxhOq6xn7YJ4H1vm/jNipNJIB0zoTEO0I2AkdpDNkXfEA4jSn3zz0ANZrEQ Frap5/ozM03qrNb8Ecjh5qbaeErG/9mBuEJT+C6hM+f+Mb3zDvMQq+6UMV5aVbPZTy+x aLWg== X-Gm-Message-State: AOAM5337c2OdT3kg/NEusFVVgvZvYdPxttYqO9xLTZL4S0xTEZYg8G+P OTKmUgz7o3scmsr7MjjSSQmUzIBHYP+wtJolz0cLW6Y8 X-Google-Smtp-Source: ABdhPJyd92eBFWH0wBInqmj0SUUwB+aUj5hPzNSzcfwKmQGoMQ2jTe/MOZCdIZoswCig9LE5GwwTd/NrdOu4fsGxYkM= X-Received: by 2002:a17:90a:1bc5:: with SMTP id r5mr1751249pjr.133.1639600503752; Wed, 15 Dec 2021 12:35:03 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 15 Dec 2021 12:35:03 -0800 Received-SPF: pass client-ip=209.85.214.174; envelope-from=stefankangas@gmail.com; helo=mail-pl1-f174.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:222448 Archived-At: Now that we prefer the key-valid-p format, we should think about what to do about defcustom as well. We currently have that: (defcustom foo "C-a" "" :type 'key-sequence) Followed by `M-x customize-option RET foo RET' leads to a customize buffer where this is displayed as "C - a". IOW, there is only support for the legacy format "\C-a". We can't just change this in a backwards incompatible way, but perhaps we should document it as deprecated and introduce a new format for the new type?