From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Llu=C3=ADs?= Newsgroups: gmane.emacs.devel Subject: Re: IDE Date: Wed, 21 Oct 2015 16:40:14 +0200 Message-ID: <87si54s2sx.fsf@fimbulvetr.bsc.es> References: <561C2C17.3090503@cumego.com> <561DC1CA.6090901@siege-engine.com> <561E3FB6.8010407@yandex.ru> <561EEFDE.7000809@gmail.com> <561F29D0.3070605@yandex.ru> <561FA79C.30207@gmail.com> <56200D07.30206@yandex.ru> <5620A99E.7080009@cumego.com> <5620D109.2010006@yandex.ru> <5620DCCD.8030809@cumego.com> <87y4f2u5ef.fsf@fimbulvetr.bsc.es> <5621C701.5030608@yandex.ru> <87d1wdo1la.fsf@fimbulvetr.bsc.es> <5622D5A5.80801@yandex.ru> <87fv18hwau.fsf@fimbulvetr.bsc.es> <562410AD.2020204@yandex.ru> <87mvvff1qy.fsf@fimbulvetr.bsc.es> <56258EC6.7090706@yandex.ru> <87r3kpwwb2.fsf@fimbulvetr.bsc.es> <5626E007.4050909@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1445438469 11347 80.91.229.3 (21 Oct 2015 14:41:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2015 14:41:09 +0000 (UTC) Cc: Eric Ludlam , =?utf-8?Q?Przemys=C5=82aw?= Wojnowski , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 21 16:41:02 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 1ZouZI-0003S3-Gj for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 16:40:44 +0200 Original-Received: from localhost ([::1]:51937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZouZH-0004nM-JQ for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 10:40:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZouZ0-0004n4-KH for emacs-devel@gnu.org; Wed, 21 Oct 2015 10:40:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZouYv-00026e-Kk for emacs-devel@gnu.org; Wed, 21 Oct 2015 10:40:26 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:64718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZouYv-00026Q-Dy for emacs-devel@gnu.org; Wed, 21 Oct 2015 10:40:21 -0400 Original-Received: from localhost ([84.88.51.85]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LgI0W-1aISUt3A2e-00nlCV; Wed, 21 Oct 2015 16:40:15 +0200 Mail-Followup-To: Dmitry Gutov , =?utf-8?Q?Przemys=C5=82?= =?utf-8?Q?aw?= Wojnowski , Eric Ludlam , emacs-devel@gnu.org In-Reply-To: <5626E007.4050909@yandex.ru> (Dmitry Gutov's message of "Wed, 21 Oct 2015 03:44:55 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Provags-ID: V03:K0:QEeY04xFhWRR1Wjo3eOGvB4qsjI+Izj9qSv0idboygdspx85H6d AHF+wGhR3F5ggfC1DzHKaCNzXSIUCnrdB8dHxL6pyqYpdhprzvRelEeFPp0b0DrQNndWG+W WtG6NjIcPpm3Itxr9LkRDH7p9a3StHUWfoMHdHYcSat3XgnYKHJ/sEV+gOwLE3fbEWp1Gs0 ZpBitjcEDuUe9LbAkJ6ig== X-UI-Out-Filterresults: notjunk:1;V01:K0:+zf+YjtGl2c=:jkVmfXgHFmhn/j5weKDHzv 6P6YXJLL7ESSWgLnQpvV3npuvliTFVhMM1KntIeNOeFFmArVSFkEit8R7hf0Ii5v81MsF1kiO IKrisyqDlyUVQd2nhpo9CBJM4GdDKi1DfdHNmbDoeTxdAxdT3zl7iB6OFpfhaVpLm3qxhC3bc xQgECd9T9pC8zBh5FQeGiBOnBE/Z9+pAs03pyTuLQtLAvNa99dv8xDDsAMvHKuJsikr7Yn5gy WBD+Y2PIOUvl2oFsFfvsOku0RqxjmKvfupTmkh19MMdvqOQzCiHmrdb8pIeMDgv6DBqI9lHuC uT3lkjAxosCbVBWXxV7RpjOkZDkoCrKbavJ5r+UyGqfci9co+0J5pbLuBOB+OEMIhmSttfLQY AwEPhUV6Z31ngbD3PT5tYBfdinmSUcHw5+lJbUo+tMBs9ChuLwy5eJis831vHtVLkgADFqY6R /szRnM1u+WuDxNmVSCurGA9TCQdASWtPvLTJLEtVgo7U1Kdhq50YBYKrp5GJ1RjCBNmOwqYVq IqfFA3BTSPFtEr+AqCQBuacoKdxuKWitrJ9/hQWatb0AFKdrAarTQnYws1bytpRmJt7If9Vho OJMqXlqhqia4+o1fTXZpjeLYImKSU6pDN1zTU4z0R7gxFjeiWT2blcrscZTNopmLzJtKmKbi6 JkRTaC+v9QpTsoThbkzlp2gqq6r8C+nP5XRiAzPrKKLnSUc3jje4i09w66lDXFCZoPVjmvrnw hmbo7cQjjgmrtLvo5B06GZGSJKVtg8jciPLg77CTZiHhPlinZ3EILrUWn05zS82q4WTCOUGK X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.20 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:192285 Archived-At: Dmitry Gutov writes: > On 10/20/2015 03:37 PM, Llu=C3=ADs wrote: >> And we also have the following project-types: >>=20 >> * project-type-generic: >> * match: Return t if we can detect a project root using VC >> * service-types: >> * service-type-root: service-root-vc > I see. This looks more like a classical structure, with one "project" obj= ects, > two attributes in there, and the second one containing a map with list va= lues. > We could indeed interpret those values as hooks, but that question is less > important. > The main benefit of this structure is familiarity to anyone who's done a = little > OOP. > What I was imagining, since we're talking about services: > project-types: > - project-type-generic: > * match > * root > - project-type-generic-c: > * match > * root > search-paths-types: > - search-paths-linux (project) > * search-paths > * resolve-include-path <-- maybe > - search-paths-c++ (project) > * likewise > * likewise > symbols-list-types: > - symbols-list-cscope (project, search-paths) > - symbols-list-wisent (project, search-paths) > The upside is that I can write a new package called magic-8-ball, which w= ould > add an element at the beginning of symbols-list-types, and that element w= ill > have a chance to be used in every kind of project. Now just the projects = that > were explicitly written with magic-8-ball in mind. That adds flexibility. > The downside is that indirection adds complexity as well, and could turn = out to > be mostly unused. Aha, I see we were imagining different ways of structuring the concepts. Wh= at I don't understand is what you mean with the parenthesis you add to some of t= he elements of your "service-type hooks". Are these dependencies between servi= ces? Now, how do you auto-detect what services to use on your currently open pro= ject? I.e., how do you auto-detect what service implementations must be used? Maybe I wasn't explicit enough in my case, but project-types are the only o= nes that provide project detection, and therefore dictate the service implementations to use on your project. Cheers, Lluis --=20 "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth