GNU bug report logs - #24685
25.1.50; nonstandard cl-defstruct in isearch.el causes edebug instrumentation to fail

Previous Next

Package: emacs;

Reported by: Gemini Lasswell <gazally <at> runbox.com>

Date: Thu, 13 Oct 2016 22:16:02 UTC

Severity: normal

Found in version 25.1.50

Done: Johan Bockgård <bojohan <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 24685-done <at> debbugs.gnu.org (full text, mbox):

From: Johan Bockgård <bojohan <at> gnu.org>
To: 24685-done <at> debbugs.gnu.org
Subject: Re: bug#24685: 25.1.50;
 nonstandard cl-defstruct in isearch.el causes edebug instrumentation
 to fail
Date: Wed, 19 Oct 2016 20:17:50 +0200
Gemini Lasswell <gazally <at> runbox.com> 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.




This bug report was last modified 8 years and 218 days ago.

Previous Next


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