GNU bug report logs -
#32016
27.0; (elisp) `Imenu'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sat, 30 Jun 2018 06:43:02 UTC
Severity: wishlist
Found in version 27.0
Done: Eli Zaretskii <eliz <at> gnu.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 32016 in the body.
You can then email your comments to 32016 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#32016
; Package
emacs
.
(Sat, 30 Jun 2018 06:43: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
.
(Sat, 30 Jun 2018 06:43:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The description of `imenu-generic-expression' is incomplete. It does
not specify the case where argument REGEXP is a function.
The doc string describes this use case this way:
REGEXP may also be a function, called without arguments. It is expected
to search backwards. It must return true and set 'match-data' if it
finds another element.
Unfortunately, the last sentence there is unclear. The function does
not "find another element". It finds a definition construct in the
buffer, and it sets match data for it. It does not construct or "find"
an element of the list that is the variable value.
But this bug report is about the missing description of the
REGEXP-as-function case.
In GNU Emacs 27.0.50 (build 3, x86_64-w64-mingw32)
of 2018-03-21
Repository revision: e70d0c9e66d7a8609450b2889869d16aeb0363b5
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install -C 'CFLAGS=-O2 -static -g3''
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 07 Jul 2018 09:36:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Drew Adams <drew.adams <at> oracle.com>
:
bug acknowledged by developer.
(Sat, 07 Jul 2018 09:36:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 32016-done <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 29 Jun 2018 23:42:02 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
>
> The description of `imenu-generic-expression' is incomplete. It does
> not specify the case where argument REGEXP is a function.
>
> The doc string describes this use case this way:
>
> REGEXP may also be a function, called without arguments. It is expected
> to search backwards. It must return true and set 'match-data' if it
> finds another element.
>
> Unfortunately, the last sentence there is unclear. The function does
> not "find another element". It finds a definition construct in the
> buffer, and it sets match data for it. It does not construct or "find"
> an element of the list that is the variable value.
Thanks, I fixed the doc string.
> But this bug report is about the missing description of the
> REGEXP-as-function case.
What is this about? A left-over of editing some other message?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32016
; Package
emacs
.
(Sat, 07 Jul 2018 14:35:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 32016-done <at> debbugs.gnu.org (full text, mbox):
> > The description of `imenu-generic-expression' is incomplete. It does
> > not specify the case where argument REGEXP is a function...
>
> Thanks, I fixed the doc string.
Thanks.
> > But this bug report is about the missing description of the
> > REGEXP-as-function case.
>
> What is this about? A left-over of editing some other message?
No; it refers to the introductory sentences (quoted above)
and the description of the bug, which is about the doc not
specifying the case where REGEXP is a function.
It appears after an aside mention that the sentence about
the unclear sentence about "find another element". I didn't
want the bug about missing spec of REGEXP as a function to
be side-tracked by the parenthetical mention of some unclear
text that is not related to that.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 05 Aug 2018 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 38 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.