From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 f8208b6: Document the user-level features of the Xref package Date: Fri, 22 Jan 2016 13:16:18 -0500 Message-ID: References: <20160109191428.26341.44105@vcs.savannah.gnu.org> <5691C9D2.7080905@yandex.ru> <83egdpmo1j.fsf@gnu.org> <56929D6F.2050508@yandex.ru> <834melmfa4.fsf@gnu.org> <5692B1E0.8010100@yandex.ru> <831t9pma4e.fsf@gnu.org> <5693FDFA.2070607@yandex.ru> <83ziwbkj5l.fsf@gnu.org> <5694055E.6050201@yandex.ru> <83si1udcaz.fsf@gnu.org> <569D64AC.1060606@yandex.ru> <83powxbh6c.fsf@gnu.org> <569EB04F.800@yandex.ru> <8337tsc133.fsf@gnu.org> <56A05073.5090100@yandex.ru> <83powu96yo.fsf@gnu.org> <86egda68q6.fsf@stephe-leake.org> <834me68zkv.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b2e12f53767e20529f037f2 X-Trace: ger.gmane.org 1453486588 13123 80.91.229.3 (22 Jan 2016 18:16:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Jan 2016 18:16:28 +0000 (UTC) Cc: Brief Busters , Stephen Leake , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 22 19:16:27 2016 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 1aMgG2-00066v-Sz for ged-emacs-devel@m.gmane.org; Fri, 22 Jan 2016 19:16:27 +0100 Original-Received: from localhost ([::1]:55032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMgG1-0004qf-Vy for ged-emacs-devel@m.gmane.org; Fri, 22 Jan 2016 13:16:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMgFy-0004qZ-VM for emacs-devel@gnu.org; Fri, 22 Jan 2016 13:16:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMgFx-0008LK-Vu for emacs-devel@gnu.org; Fri, 22 Jan 2016 13:16:22 -0500 Original-Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:36727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMgFw-0008KH-4O; Fri, 22 Jan 2016 13:16:20 -0500 Original-Received: by mail-pa0-x234.google.com with SMTP id yy13so45188163pab.3; Fri, 22 Jan 2016 10:16:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=NHriG5OctNGOO5/PgVgx4A+I9hQFW+O+WozzY7BTAjA=; b=KePjYFtemc8lFddN9F8CnYgfVjNLks6ubMKtcYYofcDwcxA0yuQmnmneL1mB1NpvUV a0hDnm92ZssxiIZXK6HIRAlM7JM+nBuq/QhKghpdWwJVG2GVpr3wjiYPJJccT1or5q5M gwGKMzUs0Z8SqQP60e6gbMZXS15GFwoBDXQL6S+bFlfug/Q8t9uSF6/hvIyH8QY/4yIS M5PIMtPk4iyQGM8ZwngUnqGNGD/PZ38NAkBjbT21o3VY2W0jzQXyZbf97JLOMi1Iut38 XZ6bGOb+Pj4D7gqDODaaYMU9+TYceXR9U8NKw2vio+0mNIVMsBsyI7dNNmK43e1nmOyi 5uAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=NHriG5OctNGOO5/PgVgx4A+I9hQFW+O+WozzY7BTAjA=; b=dpLbOtgGZ/nrQJKvoOvThKJj7oIf0A4KviUkXL9YKAdPOjj/vntgo4lIM1bQjFckfa TL5J5hViW94Ri4KLbpjegnrpyCQ751U+vBcjG8lpWhHR012EEcdfM/xYuR/Pf2/+/+Nj obSshVrWdG/XJAjup62xJGWzZuHXZ3gsVitt1bt9gwa6xEH99KaslsvYiKTt9vH2O4H0 XFdAt17vy+TTu+aU4iVmr4WPoGAdyUUXo4zqLcfU8ykF0RJbTNKsfQPuJH0e3MVuE+n5 Gv9JJ1vY366ca7v90ECkzxv4hh5rhqGDFnkr+AQtEw+FNj8BMM/pvb4SQPzFk3D2s/Yh gqmg== X-Gm-Message-State: AG10YOQ9qxyJl6IsQlMf9K2kdXnlZX4PGFf1IknVIx3MU9v3bC2o7ktJR1WkeYUgmBcyKb7q7AegZLNK/ftH6g== X-Received: by 10.66.121.136 with SMTP id lk8mr6411846pab.1.1453486578811; Fri, 22 Jan 2016 10:16:18 -0800 (PST) Original-Received: by 10.66.154.130 with HTTP; Fri, 22 Jan 2016 10:16:18 -0800 (PST) In-Reply-To: <834me68zkv.fsf@gnu.org> X-Google-Sender-Auth: 4_hVRmFaZZIK3EvSjjXPAhgvvIE X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::234 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:198591 Archived-At: --047d7b2e12f53767e20529f037f2 Content-Type: text/plain; charset=UTF-8 On Thu, Jan 21, 2016 at 3:09 PM, Eli Zaretskii wrote: > > From: Stephen Leake > > Cc: Dmitry Gutov , emacs-devel@gnu.org > > Date: Thu, 21 Jan 2016 13:19:45 -0600 > > > > > Cross-Referencing doesn't fit, IMO, not if you consider the user-level > > > functionality. > > > > "Cross-reference" was certainly the initial intent of the xref package. > > > > If that name no longer fits, it means there is functionality in > > xref that doesn't belong there. > > I don't think the decisions on what does and doesn't belong should be > based on names. FWIW, I don't see in xref.el anything that doesn't > belong there. > My sense is that xref (and tags before it) suggests existence of an index and that xref- operations are then driven by that index. Not by taking entries out of that index and extracting file paths. That is the role of project. Project supplies only a set of files. After that regex-based algorithms seem entirely expected. --047d7b2e12f53767e20529f037f2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On T= hu, Jan 21, 2016 at 3:09 PM, Eli Zaretskii <eliz@gnu.org> wrote:<= br>
> From: Stephen Leake <stephen_leake@stephe-leake.org>= ;
> Cc: Dmitry Gutov <dgutov@yandex= .ru>,=C2=A0 emacs-devel@gnu.o= rg
> Date: Thu, 21 Jan 2016 13:19:45 -0600
>
> > Cross-Referencing doesn't fit, IMO, not if you consider the u= ser-level
> > functionality.
>
> "Cross-reference" was certainly the initial intent of the xr= ef package.
>
> If that name no longer fits, it means there is functionality in
> xref that doesn't belong there.

I don't think the decisions on what does and doesn't belong = should be
based on names.=C2=A0 FWIW, I don't see in xref.el anything that doesn&= #39;t
belong there.

M= y sense is that xref (and tags before it) suggests existence of an
index and that xref- operations are then driven by that index.=C2=A0 Not<= /div>
by taking entries out of that index and extracting file paths.=C2= =A0 That is
the role of project.=C2=A0 Project supplies only a se= t of files.=C2=A0 After that
regex-based algorithms seem entirely= expected.

--047d7b2e12f53767e20529f037f2--