Subject: Re: bug#24685: 25.1.50; nonstandard cl-defstruct in isearch.el causes edebug instrumentation to fail

From: Johan Bockgård <[email-masked]>
Date: Wed, 19 Oct 2016 20:17:50 +0200

Gemini Lasswell <[email-masked]> writes:

> In the declaration of isearch--state in isearch.el, the default values
> are omitted in the list of read-only slots. This causes edebug not to be
> able to instrument the file, since the edebug specification for
> cl-defstruct does not include this possibility.

This was actually a bug in isearch. It is not valid to omit the default
value when options are specified for the slot. The format of a slot with
options in CL is:

    (NAME [ DEFAULT [ OPTIONS... ]])

Fixed in master.