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: progmodes/project.el and search paths Date: Thu, 6 Aug 2015 13:25:13 +0300 Message-ID: <55C33609.3020807@yandex.ru> References: <55BE209F.1000009@siege-engine.com> <55BE509B.2080307@yandex.ru> <87r3nkjxby.fsf@isaac.fritz.box> <55BF7619.1050701@yandex.ru> <87mvy8jvlh.fsf@isaac.fritz.box> <55BF8522.4010009@yandex.ru> <87lhdsys13.fsf@isaac.fritz.box> <55BFF764.2030002@yandex.ru> <83mvy7tbit.fsf@gnu.org> <55C0FEEB.7040500@yandex.ru> <83h9oeudfs.fsf@gnu.org> <55C1074E.90103@yandex.ru> <83d1z2uach.fsf@gnu.org> <55C11D54.9090105@yandex.ru> <83bnemtpop.fsf@gnu.org> <55C1DA6F.1000209@yandex.ru> <86k2t8c16a.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1438856929 32055 80.91.229.3 (6 Aug 2015 10:28:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2015 10:28:49 +0000 (UTC) To: Stephen Leake , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 06 12:28:43 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 1ZNIPg-0000Av-8Z for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2015 12:28:40 +0200 Original-Received: from localhost ([::1]:44327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNIPf-0005sy-Nn for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2015 06:28:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNIMU-0000mK-AO for emacs-devel@gnu.org; Thu, 06 Aug 2015 06:25:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNIMQ-0002ob-6g for emacs-devel@gnu.org; Thu, 06 Aug 2015 06:25:22 -0400 Original-Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:33431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNIMP-0002oP-V7 for emacs-devel@gnu.org; Thu, 06 Aug 2015 06:25:18 -0400 Original-Received: by lbbyj8 with SMTP id yj8so40032791lbb.0 for ; Thu, 06 Aug 2015 03:25:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=D3H8xYvxPBCiQNt7o3kz4iQDWKeaIdVWMlJc7eCF/rs=; b=0P5hTBZqWt4Ya7Wk6SIJprM8Gv7APfRD5+lgxUPIbsk9Ce5iXhLIaP5aHsI/7OOrSd EZ8ixCoPO/N0oV/diKIPGQ53dz2fIAHXpQo0AcoZLq5EyhRXmZkcs6saY0qeYDzBCVsF QFBWcqfvuNzIHzmKTuR/nWkIBspY1+fEeYgjc6VSEFFyRHOBrWCzgewSnSzTBek9LKUV n9/cmkNXtloJWNeDzt654SgxsFjfgX0tK3m5djMhFhCoSne6v612haaV+gJumxL8Vt4i ZnbYFGwf1a4HF9nVb9vbW3X8DhLSc3g9bY+PeR4qQq8Op72+jubJlyOm3iZu82C9sTXY ph7g== X-Received: by 10.112.143.136 with SMTP id se8mr802080lbb.101.1438856717221; Thu, 06 Aug 2015 03:25:17 -0700 (PDT) Original-Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id rf2sm1268266lbb.12.2015.08.06.03.25.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Aug 2015 03:25:16 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0 In-Reply-To: <86k2t8c16a.fsf@stephe-leake.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22a 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:188491 Archived-At: On 08/06/2015 10:43 AM, Stephen Leake wrote: > Since we are discussing core Emacs functionality, you should be clearer > about this. There is a big difference between: I doesn't seem particularly useful, and I don't want to work on it. But there's no reason to assume that I'm going to veto it (do I even have a veto power?), if someone's going to implement it in a clean way. > Personally, I use 'make' much more than I use cross reference tools, so > yes, build is more useful. You can still run 'make' in the console, but cross-referencing needs an editor to function adequately. > - 'compile' tries to provide tab completion on Makefile targets; it > doesn't do it well (it misses targets in #include ). > Presumably EDE can do better, so project.el should provide > project-build-targets, so compile can use that to provide the completion > list. That would then automatically work for ant, gradle, etc projects > as those are added to EDE or another project implementation. If project-build-targets just returns a list of strings, that would be insufficient to run the build. So we need a more informative structure. name, description, full command to run. Maybe also cram running build targets in different environments in there somehow. > - 'compile' also tries to guess the build command; it could use > project-build-command. Maybe all required info will be in project-build-targets. Or we'll just have project-default-target, which will return a simple string.