GNU bug report logs - #42776
Obscure documentation of `edebug-form-data' in edebug.el

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Sun, 9 Aug 2020 15:04:02 UTC

Severity: minor

Tags: fixed

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Obscure documentation of `edebug-form-data' in edebug.el
Date: Sun, 9 Aug 2020 15:03:41 +0000
Hello, Emacs.

In the master branch:

The doc string of edebug-form-data begins thusly:

     "A list of entries associating symbols with buffer regions.
      Each entry is an `edebug--form-data' struct with fields:
      SYMBOL, BEGIN-MARKER, and END-MARKER.  The markers
      are at the beginning and end of an entry level form and SYMBOL is
      a symbol that holds all edebug related information for the form on its
      property list."
 
The following extract from this is obscure: "...the beginning and end of
an entry level form ...."

What in heaven or earth is an "entry level form"?  What is it for?

Less major questions are: What is the nature of the "association" of the
symbols with the buffer regions?  Which buffer gets its regions
associated?

It seems the only way to make sense of this doc string is by reading
edebug.el's source to find out what it means.  This isn't what doc
strings are supposed to be for.

This is a bug.

-- 
Alan Mackenzie (Nuremberg, Germany).




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

Previous Next


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