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: Unified project interface Date: Mon, 13 Jul 2015 13:23:54 +0300 Message-ID: <55A391BA.6030800@yandex.ru> References: <557039DB.4060607@yandex.ru> <85d21bbkqf.fsf@stephe-leake.org> <5570E86B.8070200@yandex.ru> <85iob2a2mm.fsf@stephe-leake.org> <5574D0AF.2090608@yandex.ru> <85zj4barkf.fsf@stephe-leake.org> <5577695F.70800@yandex.ru> <559C6E16.40701@yandex.ru> <55A1258E.6050607@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1436783057 23923 80.91.229.3 (13 Jul 2015 10:24:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2015 10:24:17 +0000 (UTC) Cc: Stephen Leake , emacs-devel To: Bozhidar Batsov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 13 12:24:12 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 1ZEauC-0006uP-Ho for ged-emacs-devel@m.gmane.org; Mon, 13 Jul 2015 12:24:12 +0200 Original-Received: from localhost ([::1]:53946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEauB-0006MY-Qb for ged-emacs-devel@m.gmane.org; Mon, 13 Jul 2015 06:24:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEau8-0006MD-FB for emacs-devel@gnu.org; Mon, 13 Jul 2015 06:24:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEau5-0006me-6b for emacs-devel@gnu.org; Mon, 13 Jul 2015 06:24:08 -0400 Original-Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:34610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEau4-0006mW-Uc for emacs-devel@gnu.org; Mon, 13 Jul 2015 06:24:05 -0400 Original-Received: by wibud3 with SMTP id ud3so25531195wib.1 for ; Mon, 13 Jul 2015 03:24:04 -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=d8TvU9yjMfm1nQLzGvPqsOXKEU16jXh5nZhrDZ/ZO9Y=; b=EvEuWZ27iJ6qk6ZzwSF8NNPCc9LMyFZi6F6liPXtxwtefwbIBThArWt5HVXsgc2Guh kDdWz0aZaLkjQ7Kn9bJOcMZLnL4P8JeONeN1WViLWMnpwqnhtd3TnuD2Y9s6WOJ70bJ+ bfGN0fUEk864Y3YtC5O42QTsoJaeSh8x6ShUeubySyUNi+d2wjGb7//JaYvDaL+6h8iL +tBBeJJNxgUjnSFacpUm+h3Vsgwg6O67isX9DSw/EN961ubQcqBOq80NwCmXNOAoikbY wJVq/xH5SwXcyW7+qYZZhfiNrZeP0Jq3UxCluN/8CJhVWRW4ucImf78OIv1ssTknmcOk Q6ZA== X-Received: by 10.180.20.12 with SMTP id j12mr21504160wie.4.1436783044335; Mon, 13 Jul 2015 03:24:04 -0700 (PDT) Original-Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id um5sm28369550wjc.1.2015.07.13.03.23.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jul 2015 03:24:03 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::236 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:187851 Archived-At: On 07/13/2015 11:49 AM, Bozhidar Batsov wrote: > Might have been an oversight on my part. Right now nothing comes to mind > and I'll have to consult the source to remember. Originally there was only > the option to ignore folders, this much I remember. I've looked at the code, and you have two functions that returns globs to ignore: projectile-paths-to-ignore and projectile-patterns-to-ignore. They're split along different lines, though (rooted vs non-rooted patterns). I'm not sure how useful that would be. And projectile-ignored-files/directories return actual file names inside the project, that's not what I want here either. For now, it seems you'll implement `project-ignores' by using the value returned by `projectile-parse-dirconfig-file' (with a slight change: replacing / at bos with ./) > e.g. Rails mode or something like this? Yep. ENSIME, Malabar, etc. Or Projectile. > Yeah, backward compatibility is problematic. I guess those can't be > backported to the `cl-lib` package in ELPA? Well, maybe if there's enough of a demand someone will do it. It's not there yet, and I'm not sure how much work it'll require.