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: Thu, 30 Jul 2015 14:30:12 +0300 Message-ID: <55BA0AC4.7060906@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> 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 1438255849 12731 80.91.229.3 (30 Jul 2015 11:30:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jul 2015 11:30: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 Jul 30 13:30:49 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 1ZKm2w-00053M-Oa for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2015 13:30:46 +0200 Original-Received: from localhost ([::1]:39065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKm2w-0003r8-2f for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2015 07:30:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKm2W-0003qy-S8 for emacs-devel@gnu.org; Thu, 30 Jul 2015 07:30:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKm2S-0007le-NC for emacs-devel@gnu.org; Thu, 30 Jul 2015 07:30:20 -0400 Original-Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:34462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKm2S-0007l6-Gr for emacs-devel@gnu.org; Thu, 30 Jul 2015 07:30:16 -0400 Original-Received: by wibud3 with SMTP id ud3so17139996wib.1 for ; Thu, 30 Jul 2015 04:30:15 -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=A2Q+7rVQGVbAaTo/AB/4tHWvVUUoasmUmY+AzZdTuHo=; b=Q3Dw4U/k4u0FPA5E/geQEx1ynn8tsOBlFZyVm6vWH8nFydZ3qt00bN1P0QRMR3UyPO vNSHVcNpenDUq2lhaioQMPKpQlCfiZz8NOQ7xifadUZ3wAUyupetIul1kY3xwK8WLjbb 9J3+31gZOLY7y3/hq9SDbl1txEaCbjYKyJSwZ1bun9JmsnYgFDIh4K3gpbhTFdqJTczM 6I1PvPCJcYoYhuLdyqDWsI732fqZdqJliHgHXIrKsv71sS5au5rmgJeCb62VEHdbJqkN 1N0ltaAFbxrDMr+jvMFScNynYCg+P6WfwcyzEBAmWNFbYB0azH5/LoQdUd4b2wRUvbsc Baxw== X-Received: by 10.194.175.10 with SMTP id bw10mr5892045wjc.13.1438255815755; Thu, 30 Jul 2015 04:30:15 -0700 (PDT) Original-Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id v9sm1336961wjq.41.2015.07.30.04.30.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 04:30:14 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: <86380686sm.fsf@stephe-leake.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::229 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:188190 Archived-At: On 07/30/2015 10:04 AM, Stephen Leake wrote: > If the "vc project backend" wants to be a "real project backend", then > yes, it needs to define project-search-path. Would its definition add the VC root to the list returned by project-search-path-function? > That would not be useful for editing elisp files; the elisp project > backend is useful for that. There is no elisp project backend. Just an elisp-specific value of project-search-path-function. Which obviously omits project-roots and project-ignores. >>> Now that I see that you intended them to mean project-path-read-only and >>> project-path-read-write, things have changed. >> >> These are pretty bad names, though. > > Why? they give the precise meaning. What names would you propose? project-roots sounds better: it reflects each element being a "proper" project, hints at the presence of project files inside, and also implies "read-write". Any elements of search-path outside of project-root can be considered read-only.