From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Emacs contributions, C and Lisp Date: Wed, 07 Jan 2015 14:25:01 -0500 Message-ID: References: <83bnxuzyl4.fsf@gnu.org> <874n3ke1qn.fsf@engster.org> <87sir336qn.fsf@fencepost.gnu.org> <20140301215057.GA19461@thyrsus.com> <87fvn1y0vx.fsf@fencepost.gnu.org> <87fvn0senq.fsf@uwakimon.sk.tsukuba.ac.jp> <8761nusb90.fsf@uwakimon.sk.tsukuba.ac.jp> <87vbkovhh7.fsf@engster.org> <87387rvobr.fsf@engster.org> <83ppat84hk.fsf@gnu.org> <20150106143933.0090bc83@jabberwock.cb.piermont.com> <83r3v77ij6.fsf@gnu.org> <20150106154539.3d0752c4@jabberwock.cb.piermont.com> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: ger.gmane.org 1420658774 32016 80.91.229.3 (7 Jan 2015 19:26:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2015 19:26:14 +0000 (UTC) Cc: eliz@gnu.org, monnier@iro.umontreal.ca, deng@randomsample.de, emacs-devel@gnu.org To: "Perry E. Metzger" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 07 20:26:09 2015 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 1Y8wEE-0006zb-Ag for ged-emacs-devel@m.gmane.org; Wed, 07 Jan 2015 20:25:14 +0100 Original-Received: from localhost ([::1]:42494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8wED-0006Fo-Bz for ged-emacs-devel@m.gmane.org; Wed, 07 Jan 2015 14:25:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8wEA-0006Fj-9F for emacs-devel@gnu.org; Wed, 07 Jan 2015 14:25:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8wE9-0008Af-Hu for emacs-devel@gnu.org; Wed, 07 Jan 2015 14:25:10 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8wE9-0008Ab-Fq for emacs-devel@gnu.org; Wed, 07 Jan 2015 14:25:09 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Y8wE1-0001Bb-St; Wed, 07 Jan 2015 14:25:02 -0500 In-reply-to: <20150106154539.3d0752c4@jabberwock.cb.piermont.com> (perry@piermont.com) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:181028 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > In a modern IDE, you can complete anything -- struct members or > object member variables/functions, type names, etc., etc., and you > need what are essentially compiler data structures to get that stuff, > and you need the AST to understand the context in which you're > requesting the completion. I am not convinced this requires the entire AST. I think it could be done with a lot less. It certainly can be done with less. For instance, if the code says foo.x + bar.y or foo.x - bar.y it makes no difference for completion what that operator is. Clearly there is information from the AST that need not be included in order to fully support completion. I think you propose "entire AST" because it is conceptually satisfying to you, not because all the data in the AST are necessary. What data ARE necessary? -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call.