From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: YouCompleteMe available as a Server Date: Tue, 05 Aug 2014 01:08:23 -0700 Message-ID: <53E090F7.2030308@dancol.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="x5uU9J2R0PrHxJ85oJucCkqVWehubReSB" X-Trace: ger.gmane.org 1407226155 2254 80.91.229.3 (5 Aug 2014 08:09:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Aug 2014 08:09:15 +0000 (UTC) To: Tom , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 05 10:09:09 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 1XEZns-0001nw-Hc for ged-emacs-devel@m.gmane.org; Tue, 05 Aug 2014 10:09:04 +0200 Original-Received: from localhost ([::1]:57594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEZns-0000tF-2B for ged-emacs-devel@m.gmane.org; Tue, 05 Aug 2014 04:09:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEZnM-0000Bu-EY for emacs-devel@gnu.org; Tue, 05 Aug 2014 04:08:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEZnG-0000Kv-4O for emacs-devel@gnu.org; Tue, 05 Aug 2014 04:08:32 -0400 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:41442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEZnF-0000Kr-Pg for emacs-devel@gnu.org; Tue, 05 Aug 2014 04:08:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=S3x5d98bnPBsTHUur5kljKCOtE+ITpAnfOh8h7mQ08Q=; b=lCTNIWczUi+iHX585Z3y1Sat/IhDRefm9cC0r4zMLQ+X/sRhnnj9cDbgas24xRvw9VmllVPshpBGwG/+zim6b5ausVav3RjEqQUEpkc3sFGghBJPB6k4etbYBEVxDuJQnuBcFJKoqfrjIsoLKYJlFAkPFvsQVTaq4Gvt4C2u57t9NNT2IFUqNlZBTmZc/rk8BvjEngy1hGo9Wz0CEWnyYfAie9GYiFLu6sJcbw0yQVG90vmw5/VNO3rJDX+l0SHyTRpzIKUGTZ9ptU2z+nfUMqtnj9xypGOPOW0zjyrNHU0PnK9L5Z8TjqOhLxJQt1QnzmMgBNQCBjlSCJzOzHNrCQ==; Original-Received: from c-67-171-18-24.hsd1.wa.comcast.net ([67.171.18.24] helo=[192.168.1.50]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1XEZnE-00036l-H0; Tue, 05 Aug 2014 01:08:24 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: X-Enigmail-Version: 1.6 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:173427 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --x5uU9J2R0PrHxJ85oJucCkqVWehubReSB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/04/2014 11:27 PM, Tom wrote: > independent HTTP+JSON server. It's 2014: of course we're using JSON over HTTP over TCP over IP to get two programs running on the same machine as the same user to talk to each other. There's even an HMAC system to avoid the usual attacks. At the very least, I'd want a non-IP securable transport before using this thing --- preferably one that doesn't rely on HTTP (which, based on the source, seems to be used only to discriminate between short text commands= ). (Does this program really start 30 threads to handle requests?) Emacs has existing out-of-tree completion backends that talk to the same modules ycm uses internally (e.g., clang and jedi), so I'm not sure ycm is much of a win for us. Also, the list of supported languages for identifier completion (along with one regex that tries to match all kinds of comment) appears to be hardcoded in ycm's C++ codebase; this design choice would make it difficult to add support for new languages. (GNU Global has the same flaw.) Doesn't dabbrev fill the same niche? --x5uU9J2R0PrHxJ85oJucCkqVWehubReSB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJT4JD3AAoJEMAaIROpHW7IrH0QAIw7o8MRbjC7plOpqTbn7TmG g0VH32pHblhafUdKpo4//047Wprf4ym4b+dPH/vOTGlaS8VfGDdZ5XwB8iEA/n3H 2GVLk5/fGfirbGRjsmESmk41dxqVwJLj5abwtcYUl5fJH74mw7koNYG1wwnMaznn ozD5WADNzZW3A1SVyARQs03kgxvJwntEu84fKhwqqXawUkJEl/U598qU/KnClp/j +yimOJQU15dib+YmWt91kUZjqNjezacM7+CRYBtNeUg4PWwqj+Qm0pZTjDa3y1lh MLa6gJBuwauCLFVyJnyt3LnPzlAiFhedxh658YDBRsSODmYC2C97xC070HldASr/ NVscF2OgiUIyKCJ9Tqwur0lLALwric+aMh53P2LPVGwFP88VvosJ2GVjPxLxSpK6 GGrNm3tURsAvwktj4h3Ji9woadmamkP8x1ajottZDAyWY/l5BGQ/IbPBVUapazcN mIUhGiqCurg/M3l10JjnX5jwv+wWoj2azkqmji3IGxpjyJEU4oJBI/kMG/QqhYV+ 79VGD5IPhucd7e64szGzX/25Qae4cz1qdUdBMC6VrkRy+ENEMdxD4S1d0sVR0Z3/ JEw2f482gKZ5EXASTaIzubkaPnfs7IltrrfQOXck+ZgnCc3jBHVUi3sCBBUFGoGR a1N1SInrl6Ke+1c0MhwL =WPyB -----END PGP SIGNATURE----- --x5uU9J2R0PrHxJ85oJucCkqVWehubReSB--