Re: RFC: Skip declarations in "info variables"

Daniel Jacobowitz
2009-11-14T15:54:24Z

On Sat, Nov 14, 2009 at 11:35:00AM +0200, Eli Zaretskii wrote:
> To decide whether or not this is a Good Thing, we need to answer a
> question: What is the purpose of "info variables"? More specifically,
> what are the main use-cases for using it? Can people please share
> their experience with this command?
>
> Without that, I'm not sure we are not removing a potentially useful
> behavior.

A very good question.

I use "info variables" to find definitions - and some information
about where they come from. With all the declarations showing up I
can't figure out what file defined the variable, which I find
inconvenient. Actually, I'd like it even better if I had the
memory location...

There's usually at least one definition, so the only thing the
declarations add is a list of files that (may or may not depending on
the whim of the compiler) have referenced the global variable.

Thoughts? Anyone see a use for the declarations that I don't?