GNU bug report logs -
#8638
24.0.50; Imenu should not include vacuous defvars
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sun, 8 May 2011 18:16:01 UTC
Severity: minor
Found in version 24.0.50
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #35 received at 8638 <at> debbugs.gnu.org (full text, mbox):
On Sun, May 8, 2011 at 22:39, Drew Adams <drew.adams <at> oracle.com> wrote:
> I understand. How would you feel if Imenu included entries for defuns and
> defvars that are commented out? Wouldn't you want Imenu to judge that you are
> not interested in those?
Well, we're not talking about commented out variables, so the
comparison isn't entirely fair.
But, to be honest, sometimes I think that entries for commented out
defuns and defvars would be useful... :-)
> Certainly comments that include defuns and such could be important and
> interesting to developers. The question is what Imenu should include, and yes,
> it is a judgment call based on expectations of what most users will want/expect.
Not users. Developers. And developers are usually interested in a
package's variables. More so in a lexical-binding context, where the
fact that the defvar exists can (and does) alter semantics.
Juanma
This bug report was last modified 12 years and 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.