From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: A project-files implementation for Git projects Date: Fri, 4 Oct 2019 16:08:05 +0300 Message-ID: References: <8736h9rdc4.fsf@gnu.org> <87a7bbjdwe.fsf@gnu.org> <87a7ba8uvx.fsf@gnu.org> <87pnk2zvvy.fsf@gnu.org> <87sgows6wy.fsf@gnu.org> <87ef0dy18z.fsf@gnu.org> <87impk675h.fsf@gnu.org> <874l13h30l.fsf@gnu.org> <7386ef98-c151-e1ce-23fa-11470a16f0d3@yandex.ru> <87h84x1zoa.fsf@gnu.org> <4be972f9-45a3-f2aa-f532-d7b8fbe054fd@yandex.ru> <17994e8f-9940-2da5-216e-20a5d3842822@yandex.ru> <87r23u9qjc.fsf@gnu.org> <1ffb046d-f2de-b1d5-d6a9-a6059616cc08@yandex.ru> <87imp5kax0.fsf@gnu.org> <1a9a7f78-fbef-176d-9189-7007046d3fb1@yandex.ru> <875zl5hrzh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="94851"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 04 15:14:42 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iGNPt-000Mjq-Jb for ged-emacs-devel@m.gmane.org; Fri, 04 Oct 2019 15:14:41 +0200 Original-Received: from localhost ([::1]:48552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGNOL-0001MP-Az for ged-emacs-devel@m.gmane.org; Fri, 04 Oct 2019 09:13:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41637) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGNJg-0005Zh-J1 for emacs-devel@gnu.org; Fri, 04 Oct 2019 09:08:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGNJf-0005Gh-2P for emacs-devel@gnu.org; Fri, 04 Oct 2019 09:08:16 -0400 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:35292) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iGNJe-0005Fb-CW for emacs-devel@gnu.org; Fri, 04 Oct 2019 09:08:14 -0400 Original-Received: by mail-wr1-x42c.google.com with SMTP id v8so7157730wrt.2 for ; Fri, 04 Oct 2019 06:08:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=RAWoWa3YY6+A0o+xA6X+xeyo/vUr7vlWI0GC4Pj9AHc=; b=Lh24cQnfXG7q9/+KkCny5gAUyJDM6mbE8a2g0NabqeiIPe4kEBugJJXANLEEsAYpQW eiNdlNxy7KYN+N5QKyvaid2J6a9o8A9JM0YS94tPi10S7fz2zSjYTyvsOW9TWMf7Lj75 +nB+4xAv5yqEuHDe2biSeLQzgXMaM05ZNo04juhC/mZ7+2JHv2U+IprSMHGvdqkJ38P3 0PAM8qvWszJEgfhOg5zvUT5sH80FvRMQfEHJGf/K39UYs09dT/aJhc2hST8BKZQJJbHX 6GttiCYBIvSKg3SJsWwl1vZTdtS3FDstgh8lEoHNfEOCrLd71loAHPXvOldKkS+La3Ij wDQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=RAWoWa3YY6+A0o+xA6X+xeyo/vUr7vlWI0GC4Pj9AHc=; b=MckduajsG/9UGYB+Hu26Ew/BFTkPqz+z4DzpDcTBFmjl8qcgYkajwW8mE8WaDz1HsY VhPtt4ooVOJmfRxvGMZBe+TXkprexa23sl053to2bwL2IDXzojFTIMRbMCyyHkjU+Mau YFf4Tg7DoIQ9pajAEYJynK74VLh0S/pGuym9UoGvQEVw2e9ANbuvh/+YDAy/o3udqkQz DxYapMApmNV5pDb+76dQRnSNdpPdwtKN7+pDqnNJN1SewPuu8E99SO28oSITFnmh2fAt Mt+safahGtCl6CaeVB86iOFxUsvprnCTRnXCxoc4oXYY630Be8gZVVmJRAOAliQ6Uxrs YwiQ== X-Gm-Message-State: APjAAAVOmJ+jxgwqEQ4wPJXZuuyflrsg4tH/bY/rfcKE7zAYgLRZ5tJD /M1mXO6RAwNYvJjG/D2MQxUSO7Ybczo= X-Google-Smtp-Source: APXvYqxmssWZjFfXwSwZgRd/c/Y35rpB7ZajGwe4qbmwJhrK20in1Ey1g9qw2IuiWD0/0krFbckXxg== X-Received: by 2002:a5d:51c9:: with SMTP id n9mr6261509wrv.398.1570194492097; Fri, 04 Oct 2019 06:08:12 -0700 (PDT) Original-Received: from [192.168.0.133] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id a2sm7409490wrp.11.2019.10.04.06.08.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Oct 2019 06:08:11 -0700 (PDT) In-Reply-To: <875zl5hrzh.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:240568 Archived-At: On 04.10.2019 10:47, Tassilo Horn wrote: > By the way, in my major use-case for `project-files' (a source to raven) > I want the files to be relative to the given directory. So I'm calling > `file-relative-name' on every file in the result. It would be cool if > there was a way to return the file names relative to the given directory > (which wouldn't make much sense if multiple dirs are given, though). I considered it, even if just for performance optimization, but having multiple roots makes it a problem. We should deprecate the "multiple roots" thing, actually, but external roots will stay with us, I think (they have their uses). Some larger rework of the API (and of external roots' representation) might make it viable, though.