GNU bug report logs -
#15689
24.3.50; Error in Customize: Symbol's function definition is void: nil
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Wed, 23 Oct 2013 05:02:02 UTC
Severity: normal
Tags: confirmed, fixed
Merged with 25152
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15689 in the body.
You can then email your comments to 15689 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15689
; Package
emacs
.
(Wed, 23 Oct 2013 05:02:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Drew Adams <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 23 Oct 2013 05:02:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
emacs -Q
Evaluate this in *scratch*:
(defcustom foo ()
"..."
:type '(repeat (restricted-sexp :match-alternatives (custom-theme-p)))
:group 'editing)
M-x customize option foo
1.
Click the INS button.
At the prompt use C-g.
A DEL button and an extra INS button were inserted.
Click the DEL button -> the error is raised.
2. Click the rightmost INS button. You again get the Lisp sexp prompt.
Enter `42' (no quotes.
The character `*' (value 42) appears in the Lisp sexp field, instead of
the number 42 (which is also a sexp).
And now there are 3 INS buttons and 2 DEL buttons. Getting a bit crazy.
You can click the rightmost DEL button to delete it and the 3rd (or 2nd)
INS button. Clicking the remaining DEL button still raises the error.
3. Clicking the rightmost INS button and typing sexps, you can end up
with things like this, which is nuts:
INS DEL Lisp expression: INS DEL Lisp expression: INS
State: STANDARD
4. Starting over, you can enter `user', which is `custom-theme-p', no
problem. But if you try to enter, say, `phlogisten', which is not, you
get a "Wrong type argument: char-or-string-p, phlogisten" error.
It's not good to show such a low-level error message. And in this case
it makes little sense: a user will wonder why it is expecting a char or
string. When you type `user', the successfully entered value is a
symbol, not a char or a string.
IOW, the preliminary reading of input is being handled at too low a
level wrt type errors. The right error message is to say that the input
is not `custom-theme-p'.
In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
of 2013-10-19 on LEG570
Bzr revision: 114715 rgm <at> gnu.org-20131019023520-s8mwtib7xcx9e05w
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'
bug Marked as found in versions 24.5.
Request was from
Noam Postavsky <npostavs <at> users.sourceforge.net>
to
control <at> debbugs.gnu.org
.
(Wed, 01 Jun 2016 16:43:02 GMT)
Full text and
rfc822 format available.
bug Marked as found in versions 25.0.94.
Request was from
Noam Postavsky <npostavs <at> users.sourceforge.net>
to
control <at> debbugs.gnu.org
.
(Wed, 01 Jun 2016 16:43:02 GMT)
Full text and
rfc822 format available.
Added tag(s) confirmed.
Request was from
Noam Postavsky <npostavs <at> users.sourceforge.net>
to
control <at> debbugs.gnu.org
.
(Wed, 01 Jun 2016 16:43:02 GMT)
Full text and
rfc822 format available.
Merged 15689 25152.
Request was from
npostavs <at> users.sourceforge.net
to
control <at> debbugs.gnu.org
.
(Sat, 10 Dec 2016 04:25:02 GMT)
Full text and
rfc822 format available.
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 24 Oct 2020 19:42:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 28.1, send any further explanations to
25152 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 24 Oct 2020 19:42:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 22 Nov 2020 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 226 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.