[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generators (iterators) for Gnu Emacs

From: David Engster
Subject: Re: Generators (iterators) for Gnu Emacs
Date: Mon, 08 Dec 2014 21:35:00 +0100
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux)

Stefan Monnier writes:
>>>> *Any* solution that frees developers from spelling all symbols in full
>>>> will have that disadvantage.
>>> That's right.
>> So what?  There are definitely offsetting benefits.  Or are you saying M-x
>> grep is our top priority now?
> I'm ambivalent on this issue, so take my word as an summary of my
> understanding of the last discussion about it.
> In other words, any improvement that tries to reduce the redundancy in
> identifiers will require corresponding improvement in our tools to infer
> the now-implicit information.
> So we could bite the bullet and hope that someone will step up to the
> plate and improve CEDET (or equivalent) to make up the difference.
> Or we can sit here and wait for CEDET to improve first.

CEDET has an Elisp parser. It's a bit difficult for me to extend it to
parse namespaces without knowing the syntax for that, but I can try.

Seriously: Yes, the parser could be improved. But it still would have
several drawbacks compared to grep et al.:

. It is slow.
. You need to set up some kind of project beforehand so that Semantic
  knows what to parse and where to find dependencies.
. It will only work inside Emacs.
. I guess that Changelog thingy will become more complicated.
. Did I mention it's slow?

I'm all for it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]