From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: Generators (iterators) for Gnu Emacs Date: Mon, 08 Dec 2014 21:35:00 +0100 Message-ID: <87y4qh518r.fsf@engster.org> References: <877fy77zhp.fsf@web.de> <87k326d4ww.fsf@gmail.com> <877fy6rp2o.fsf@web.de> <548230FB.40307@dancol.org> <5482C872.5010304@dancol.org> <5483C537.3010707@dancol.org> <54840719.5080209@dancol.org> <87ppbv4bdt.fsf@ferrier.me.uk> <5484C780.3080902@dancol.org> <5484E52A.8020107@dancol.org> <54850BDD.1020202@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418070954 18863 80.91.229.3 (8 Dec 2014 20:35:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2014 20:35:54 +0000 (UTC) Cc: Michael Heerdegen , Daniel Colascione , Nic Ferrier , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 08 21:35:49 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xy525-0003D4-Hu for ged-emacs-devel@m.gmane.org; Mon, 08 Dec 2014 21:35:49 +0100 Original-Received: from localhost ([::1]:36027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy525-0003qE-1e for ged-emacs-devel@m.gmane.org; Mon, 08 Dec 2014 15:35:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy51Y-0003kD-9x for emacs-devel@gnu.org; Mon, 08 Dec 2014 15:35:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xy51N-0000j2-DH for emacs-devel@gnu.org; Mon, 08 Dec 2014 15:35:16 -0500 Original-Received: from randomsample.de ([5.45.97.173]:38783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy51N-0000fN-54 for emacs-devel@gnu.org; Mon, 08 Dec 2014 15:35:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=XY1eo4VEtQylwtBFoV5yfReeeswP+3r2MRmLcu7+VTc=; b=HmyGQ6QcesWpbeHJQETNi4FD1pkA5Y2EvqLGEp8cELX6JbBHVVMriW+L6Csdb8GTVBLDir6VbTtHUYfdpjpbGXA3VNKJqtwT0cgW3jlGtLFMHZ5jy2ZMHfoPDGAn3V3+; Original-Received: from ip4d154cb9.dynamic.kabel-deutschland.de ([77.21.76.185] helo=spaten) by randomsample.de with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Xy51K-0005Gj-QE; Mon, 08 Dec 2014 21:35:03 +0100 In-Reply-To: (Stefan Monnier's message of "Sun, 07 Dec 2014 22:23:58 -0500") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.45.97.173 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:179461 Archived-At: 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. -David