From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: cl-defgeneric vs random funcall in project.el Date: Mon, 10 Aug 2015 21:07:09 +0300 Message-ID: <55C8E84D.4050701@yandex.ru> References: <86oaiwa57v.fsf@stephe-leake.org> <55B79B3F.1060200@yandex.ru> <86wpxj93r2.fsf@stephe-leake.org> <55B82A0C.5040709@yandex.ru> <86fv4782k2.fsf@stephe-leake.org> <55B92F76.7060104@yandex.ru> <86380686sm.fsf@stephe-leake.org> <55BA0AC4.7060906@yandex.ru> <86mvyd7jf0.fsf@stephe-leake.org> <55BA5BDD.1080009@yandex.ru> <86k2thz0dw.fsf@stephe-leake.org> <55BAC366.1010803@yandex.ru> <86fv44z94l.fsf@stephe-leake.org> <55BBFC3E.2010405@yandex.ru> <86h9ojjoll.fsf@stephe-leake.org> <55BCB6E5.2040804@yandex.ru> <86wpxfhyzm.fsf@stephe-leake.org> <55BCF888.4020907@yandex.ru> <55C1271A.2090202@yandex.ru> <86h9o7zvqw.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1439230050 31874 80.91.229.3 (10 Aug 2015 18:07:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2015 18:07:30 +0000 (UTC) Cc: emacs-devel To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 10 20:07:25 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 1ZOrTn-0007JL-0x for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2015 20:07:23 +0200 Original-Received: from localhost ([::1]:59670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOrTm-0001wE-C5 for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2015 14:07:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOrTi-0001w8-QT for emacs-devel@gnu.org; Mon, 10 Aug 2015 14:07:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOrTd-0001ci-F3 for emacs-devel@gnu.org; Mon, 10 Aug 2015 14:07:18 -0400 Original-Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:35481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOrTd-0001cb-76 for emacs-devel@gnu.org; Mon, 10 Aug 2015 14:07:13 -0400 Original-Received: by lahi9 with SMTP id i9so27661047lah.2 for ; Mon, 10 Aug 2015 11:07:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=R6I0R8yrl89Iik/HnHYyntI3iB+AOr6nn5ASgnO0Y0M=; b=C7MCMle3BM/19LkIaRm4SlJ/nfziClyp9xRN2ziNq5MjmJHtqYSAU89Zbozru/t7mO bYiBCjPPo71ZJag79p6lRj4reDURG0ppDiTv1DLabRhj7Ztg842Sl5d9YLVlLIiBG3Oi 5xV0qfm8sOVnyt1ZuCnSZuXdZDdj/i4vC3F0+xnSFJvLHHLxkuDEPU51HP170tqtBOLU TWwnqD+ncyBoQTAEfxqhKUqsV2A1C89g6VhNI8OzBDJAzKwkAgGPRIiMuTgQUqRUagxW I+2NGC3yhyo95ydTTHJoWuOTG1l3W6nALpOBM/gmcAzcBaMIMDPvqbHX8GnzcO+46A0y EuDw== X-Received: by 10.152.181.5 with SMTP id ds5mr20916547lac.60.1439230032370; Mon, 10 Aug 2015 11:07:12 -0700 (PDT) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id c5sm4405707lae.47.2015.08.10.11.07.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Aug 2015 11:07:11 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22d 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:188699 Archived-At: On 08/10/2015 11:45 AM, João Távora wrote: > But > I agree it should be possible to implement grep-project and to get the > dirs it needs from a single interface in project.el I see no technical obstacles there. > * For the other 5% I'll try to make the projects themselves conform to > some other standard representation that some other project backend > automatically understands, i.e. I would rename targets of Makefiles > and relocate dependencies if that helped some hypothetocal backend > (that I assume is well designed) To be honest, I'm not sure how to better serve this use case. Either someone will have to write another backend (or several) that target different build systems, or the VC backend will have to be equipped with a pluggable facility for reading project files. Some combination of the two will probably turn out to be optimal.