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

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 9 Dec 2016 20:41:03 UTC

Severity: normal

Tags: confirmed, fixed

Merged with 15689

Found in versions 24.3.50, 24.5, 25.0.94, 25.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: 25152 <at> debbugs.gnu.org
Subject: bug#25152: 25.1; Customize: errors for `restricted-sexp' in `repeat'
Date: Fri, 9 Dec 2016 10:10:29 -0800 (PST)
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=-static'




This bug report was last modified 4 years and 211 days ago.

Previous Next


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