GNU bug report logs - #32016
27.0; (elisp) `Imenu'

Previous Next

Package: emacs;

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.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 32016-done <at> debbugs.gnu.org
Subject: Re: bug#32016: 27.0; (elisp) `Imenu'
Date: Sat, 07 Jul 2018 12:35:50 +0300
> 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?




This bug report was last modified 7 years and 39 days ago.

Previous Next


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