From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: project.el semantics Date: Sun, 22 Nov 2015 11:54:01 -0800 Message-ID: References: <86pp1j4ejm.fsf@stephe-leake.org> <86mvun9gz7.fsf@stephe-leake.org> <56415902.90103@yandex.ru> <86h9ktah9x.fsf@stephe-leake.org> <56429025.3070008@yandex.ru> <86r3jw4yrf.fsf@stephe-leake.org> <564340DC.5020008@yandex.ru> <86wptob2v6.fsf@stephe-leake.org> <5643CEAA.6000103@yandex.ru> <86si4bemyw.fsf@stephe-leake.org> <564478CA.20108@yandex.ru> <86y4e3c90y.fsf@stephe-leake.org> <56450CDB.9050604@yandex.ru> <564D3223.1050705@yandex.ru> <86h9kf655z.fsf@stephe-leake.org> <56515443.70408@yandex.ru> <5651597B.5090303@yandex.ru> <5651F7CC.1030503@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448222080 24109 80.91.229.3 (22 Nov 2015 19:54:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2015 19:54:40 +0000 (UTC) Cc: Stephen Leake , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 22 20:54:35 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 1a0aiY-0006kT-DE for ged-emacs-devel@m.gmane.org; Sun, 22 Nov 2015 20:54:34 +0100 Original-Received: from localhost ([::1]:57268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0aiY-0003zT-Ds for ged-emacs-devel@m.gmane.org; Sun, 22 Nov 2015 14:54:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0aiU-0003zC-QH for emacs-devel@gnu.org; Sun, 22 Nov 2015 14:54:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0aiP-0004pk-Q3 for emacs-devel@gnu.org; Sun, 22 Nov 2015 14:54:30 -0500 Original-Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:36277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0aiP-0004pf-KS for emacs-devel@gnu.org; Sun, 22 Nov 2015 14:54:25 -0500 Original-Received: by pacdm15 with SMTP id dm15so169420687pac.3 for ; Sun, 22 Nov 2015 11:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version:content-type; bh=Av2JlGIoZXjgFqfdyGSQyzzkXfa+A5ShmId4bPuM9XA=; b=K1l0gk8QcMYO+rHERprwufuLC/CtvlNHGsPygyQFNZ1SxlJPPPI8FR4XImmdwB4wcI bzN2mUM9LQF0/GgPeGVgVB4cIJhJfLliLXYMMhn6r/IeDh8QGJ4Tn89P72Fi+VDsDsu8 vwz0KK5p+YJ2axUxGVPlRbBV0Y76TdOt0CyKHZoBnwtWTMqnToJgPFuHkwZ9Gt8kqhVW 7ZD7V9H/DJaoOMFmsTuEhY/mnO7EearA2gD1fMR6n5LfMef21PsXnYvXH+x8n1tndYPZ khNEeIuJeHJkWw3W6MD97Jxy7N1JfDF6hj0/vIPOLSBBRyMLtyk3hJI3U4ZPbvovAv8M nrRw== X-Received: by 10.68.134.137 with SMTP id pk9mr31854103pbb.88.1448222065003; Sun, 22 Nov 2015 11:54:25 -0800 (PST) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id tp6sm7471293pbc.81.2015.11.22.11.54.23 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 22 Nov 2015 11:54:23 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 54C7A10A81B09; Sun, 22 Nov 2015 11:54:22 -0800 (PST) In-Reply-To: <5651F7CC.1030503@yandex.ru> (Dmitry Gutov's message of "Sun, 22 Nov 2015 19:13:48 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Mail-Followup-To: Dmitry Gutov , Stephen Leake , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::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:195062 Archived-At: >>>>> Dmitry Gutov writes: > Freedom has a cost. In particular, if directories can be recursive or not, > *each* API consumer will have to pay the price of supporting both ways. Like > I already said, xref-collect-matches will have to grow another code path. > And every other similar function will have to do that too. > > I have mentioned this multiple times already. Why don't we stop going in > circles? Hi Dmitry, I thank you for your nearly endless patience while we dance this dance. I will write up a description of higher-level semantics later today, against which we can look at the various API options. Our API will live in Emacs for potentially decades; it's OK with me if it takes us a few months to reach a satisfying consensus. For the time being -- aka, Emacs 25.1 -- I think we should keep project.el in core, so that xref.el can make use of it, but that we not document it until we all agree on the API we want to commit to. Perhaps the preamble to project.el should even state that it is presently for internal use only. I don't want us to feel rushed to get this right. John