GNU bug report logs - #25152
25.1; Customize: errors for `restricted-sexp' in `repeat'

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Drew Adams <drew.adams@HIDDEN>; Keywords: confirmed; merged with #15689; dated Fri, 9 Dec 2016 20:41:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 15689 25152. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.

Message received at 25152 <at> debbugs.gnu.org:


Received: (at 25152) by debbugs.gnu.org; 10 Dec 2016 04:24:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 09 23:24:04 2016
Received: from localhost ([127.0.0.1]:36460 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cFZCe-0001XB-8E
	for submit <at> debbugs.gnu.org; Fri, 09 Dec 2016 23:24:04 -0500
Received: from mail-io0-f175.google.com ([209.85.223.175]:36785)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>)
 id 1cFZCc-0001Wb-8A; Fri, 09 Dec 2016 23:24:03 -0500
Received: by mail-io0-f175.google.com with SMTP id a81so83446363ioe.3;
 Fri, 09 Dec 2016 20:24:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=mT8JxaWL/k18Noe3C/dCS+9HOB6GK203qlzBbXfj/DM=;
 b=CaTlBrfMFnirFCbmV626olRL1TNd20oyyMVJM5EgTI8m3feRA30Pd8gvK56ZoEpKIb
 EjyZXCs/wYB/6pwsEHWhTa0wzF0pDc2zNF0s1Pzl2vvNamXVL2x5guvNVSFLse2GwwIY
 eU1yOBvPefWLyknGCP5BOMU/grKYFCGpynLdGSbfsUORGy3GiSGmwmZ1do5CUqmagLCg
 33Kc9SLvWr+m88ARevWwJ0bZ5ngzEcc1SF/FJYuHc71bNtD31BqTyPuQU4/gpE19xpEX
 SaUueCX1DI1+v1ngPVjjPxAVgqhzHEyDLqWfYYyo5OALJsSnji7SCDZEEgmDYbCz6Yef
 kN1w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:from:to:cc:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=mT8JxaWL/k18Noe3C/dCS+9HOB6GK203qlzBbXfj/DM=;
 b=SjYJcKzNpZUXyfCzhhByEuffPXE+GQ1Xt6Q6NLB0kbXivm0/KAcr4Y7TenMTHDy6YX
 iSFGnEizPc/UHSSw28a6YJh/cYPPCXGJjZ4zztXSUeA+c2s7Fys+PNkSdTeacd12eR2W
 daXHA1Fe0TXVZ0Ljya1RhOYAGJ1T6AHPBkHLcS86dwMSA2NEikQLCQv7LML8GLZpfOgr
 yrfMjE1o7qLlteG8RmN+8pgNsRnoHl9Hs3IFc9Tq4kgwU/2QHno1HkmW7GfcblVoFstE
 eYETwS0QKJVSDxGEhdRG8UcsHlkRL6/nAxUiSQjEc8nVXebnDFLrHpnwihjLIx775pjq
 ZEDg==
X-Gm-Message-State: AKaTC00HC1kbQLkBJujXoYguax7nHjxKrGuopls6NqRNJDu82o/uG0boUQo//VyvUJJEFg==
X-Received: by 10.36.139.197 with SMTP id g188mr9925565ite.68.1481343835374;
 Fri, 09 Dec 2016 20:23:55 -0800 (PST)
Received: from zony ([45.2.7.65])
 by smtp.googlemail.com with ESMTPSA id 9sm841481itv.0.2016.12.09.20.23.54
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Fri, 09 Dec 2016 20:23:55 -0800 (PST)
From: npostavs@HIDDEN
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#25152: 25.1;
 Customize: errors for `restricted-sexp' in `repeat'
References: <037e3a81-b339-4440-ad7c-5ae9e1006050@default>
Date: Fri, 09 Dec 2016 23:24:57 -0500
In-Reply-To: <037e3a81-b339-4440-ad7c-5ae9e1006050@default> (Drew Adams's
 message of "Fri, 9 Dec 2016 10:10:29 -0800 (PST)")
Message-ID: <87mvg4e7hi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 25152
Cc: 25152 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

merge 25152 15689
quit

Drew Adams <drew.adams@HIDDEN> writes:

> emacs -Q
>
> (defcustom bar
>   `(ignore)
>   "..."
>   :type
>   '(repeat (restricted-sexp :match-alternatives (functionp)))
>   :group 'emacs)
>
> M-x customize-option bar
>
> 1. Click the INS button, to insert a new element in the list.
> 2. At the prompt "Lisp expression: ", hit `C-g'.
>
> Emacs erroneously inserts two new buttons INS and DEL.
> You can repeat this - click INS and you get two more such buttons.
>
> And if you click any of the DEL buttons then you get this error:
>
>  Symbol's function definition is void: nil
>
> Something is quite wrong with the handling of `C-g', it seems.
>
> This is the case also in older releases, going back to Emacs 20, at
> least.

Indeed, this seems to have already been reported a few years ago by one
Drew Adams ;)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#25152; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Dec 2016 20:40:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 09 15:40:16 2016
Received: from localhost ([127.0.0.1]:36295 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cFRxo-0008Oi-7w
	for submit <at> debbugs.gnu.org; Fri, 09 Dec 2016 15:40:16 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57572)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1cFRnp-0007Wf-VX
 for submit <at> debbugs.gnu.org; Fri, 09 Dec 2016 15:29:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1cFPd0-00070S-Cd
 for submit <at> debbugs.gnu.org; Fri, 09 Dec 2016 13:10:44 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58687)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1cFPd0-00070I-5b
 for submit <at> debbugs.gnu.org; Fri, 09 Dec 2016 13:10:38 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47513)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1cFPcz-0007ad-3M
 for bug-gnu-emacs@HIDDEN; Fri, 09 Dec 2016 13:10:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1cFPcv-0006ya-Uu
 for bug-gnu-emacs@HIDDEN; Fri, 09 Dec 2016 13:10:37 -0500
Received: from aserp1040.oracle.com ([141.146.126.69]:50748)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1cFPcv-0006y4-LO
 for bug-gnu-emacs@HIDDEN; Fri, 09 Dec 2016 13:10:33 -0500
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])
 by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 uB9IAUWw011696
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Fri, 9 Dec 2016 18:10:31 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])
 by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id uB9IAUA0011920
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Fri, 9 Dec 2016 18:10:30 GMT
Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16])
 by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id uB9IAUcQ010636
 for <bug-gnu-emacs@HIDDEN>; Fri, 9 Dec 2016 18:10:30 GMT
MIME-Version: 1.0
Message-ID: <037e3a81-b339-4440-ad7c-5ae9e1006050@default>
Date: Fri, 9 Dec 2016 10:10:29 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.1; Customize: errors for `restricted-sexp' in `repeat'
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 12.0.6753.5000 (x86)]
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Source-IP: userv0021.oracle.com [156.151.31.71]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

emacs -Q

(defcustom bar
  `(ignore)
  "..."
  :type
  '(repeat (restricted-sexp :match-alternatives (functionp)))
  :group 'emacs)

M-x customize-option bar

1. Click the INS button, to insert a new element in the list.
2. At the prompt "Lisp expression: ", hit `C-g'.

Emacs erroneously inserts two new buttons INS and DEL.
You can repeat this - click INS and you get two more such buttons.

And if you click any of the DEL buttons then you get this error:

 Symbol's function definition is void: nil

Something is quite wrong with the handling of `C-g', it seems.

This is the case also in older releases, going back to Emacs 20, at
least.


In GNU Emacs 25.1.1 (x86_64-w64-mingw32)
 of 2016-09-17 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
 'configure --without-dbus --without-compress-install CFLAGS=3D-static'




Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#25152; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 10 Dec 2016 04:30:02 UTC

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