From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: Is intellisense features integration in Emacs technically possible? Date: Thu, 23 Jan 2014 10:00:53 +0100 Message-ID: <52E0DA45.2030600@online.de> References: <1390269670.2888.14.camel@localhost.localdomain> <83zjmpf80o.fsf@gnu.org> <877g9shqms.fsf@newcastle.ac.uk> <20140122194930.49ba60be@forcix.kollektiv-hamburg.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1390467446 6473 80.91.229.3 (23 Jan 2014 08:57:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jan 2014 08:57:26 +0000 (UTC) Cc: "Stephen J. Turnbull" , Eli Zaretskii , Jorgen Schaefer To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 23 09:57:31 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 1W6G6L-00061y-Sm for ged-emacs-devel@m.gmane.org; Thu, 23 Jan 2014 09:57:30 +0100 Original-Received: from localhost ([::1]:39577 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6G6L-0005QS-DW for ged-emacs-devel@m.gmane.org; Thu, 23 Jan 2014 03:57:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6G6D-0005QH-G3 for emacs-devel@gnu.org; Thu, 23 Jan 2014 03:57:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6G67-0008Eo-TH for emacs-devel@gnu.org; Thu, 23 Jan 2014 03:57:21 -0500 Original-Received: from moutng.kundenserver.de ([212.227.17.9]:54095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6G67-0008Ea-Hf; Thu, 23 Jan 2014 03:57:15 -0500 Original-Received: from purzel.sitgens (brln-4dba3dfe.pool.mediaWays.net [77.186.61.254]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MXVos-1Vlrev2CDm-00W9uJ; Thu, 23 Jan 2014 09:57:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <20140122194930.49ba60be@forcix.kollektiv-hamburg.de> X-Provags-ID: V02:K0:Ztq9z6Jc1TZZsGOjaNpZHTSb//z+BaBQPymJCZfZl2Z sVKxJMZN9AJP8h/B+9tHj7Ky+abh5X58j4Fbmu3n/iyJImAnIe ss0EtkAGSDutyLutBRtZdeFN0tzHz2u77WAOM+UmdV7CiQRtCi +SdX1mqFNTXpiW1mWQWudUdLzJtAPXAnI4Vp2vhI9l+7+AW2fT ZsIX1/qpgUHGYTFpiDJpPHhWAFTo7QZo0fm8LPx+AyGqCfYHRm f7IKdS6JCLz86Li9pMDMpyiBcJuYmyMu7GLRcNgV25pGSe0yBi /bbckqtr0wyh+iKpOUhzT4BzWk6NabFrc4jr60axtGjiCSmhpf U66/Uho0yy4zxCuzTUXM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.9 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:168938 Archived-At: Am 22.01.2014 19:49, schrieb Jorgen Schaefer: > On Wed, 22 Jan 2014 17:29:15 +0000 > phillip.lord@newcastle.ac.uk (Phillip Lord) wrote: > >> Eli Zaretskii writes: >>>> A better way is to build on the hard work of other and interface >>>> emacs with an external tool. >>> >>> Personally, I think implementing such features via external programs >>> is a terrible design. It will never be smooth and responsive >>> enough, and on top of that you'd need to track development of those >>> other tools. And what if they become abandoned some day? >> >> I think that it depends on the language. Introspecting over, for >> example, Java would require an awful of elisp, which would be >> difficult to write. Getting Java to do this work is quite a lot less >> effort. Hence, the JDEEs use of Java for this (via bsh). Likewise, >> Clojure and Scala both of which use their own language to do much of >> the work. Or for that matter, common lisp with slime/swank. Or even, >> for that matter, English with aspell. I didn't have a problem with >> responsiveness with any of these. > [ ... ] > > The biggest problems are outside of Emacs. Good libraries that provide > intelligent completion and code introspection are rare. I know of three > for Python, one of which is not maintained anymore, one was mostly-dead > for a few years, and all of which have different deficiencies. They > also have trouble keeping up with the development of the language. I > expect similar problems for other languages. Reimplementing these > libraries in Emacs Lisp will just cause more problems keeping them > up-to-date. > Good point(s). An aspect not seeing mentioned so far: Python for example will cancel all service when encountering a syntax-error. A case where a decent support from Emacs Lips side will be helpful. Seems wise to implement some basic stuff in Emacs Lisp, while accessing the languages resources if available.