From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Felician Nemeth Newsgroups: gmane.emacs.devel Subject: Re: A project-files implementation for Git projects Date: Thu, 03 Oct 2019 17:10:40 +0200 Message-ID: <87h84pvp8v.fsf@ulti.tmit.bme.hu> References: <8736h9rdc4.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> <395c23b6-77d7-cf72-10e2-eb72abac6919@yandex.ru> <239dd775-c7be-faf0-674e-2bf6d1c0532d@yandex.ru> <87imp6w58y.fsf@ulti.tmit.bme.hu> <87eezuw05i.fsf@ulti.tmit.bme.hu> <8512919c-ebcd-c04a-190c-daddd2359a54@yandex.ru> <87lfu1vqob.fsf@ulti.tmit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="203344"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 03 17:11:56 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 1iG2lm-000qp3-Up for ged-emacs-devel@m.gmane.org; Thu, 03 Oct 2019 17:11:55 +0200 Original-Received: from localhost ([::1]:37404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG2lk-0003e2-Ip for ged-emacs-devel@m.gmane.org; Thu, 03 Oct 2019 11:11:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42889) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG2kf-0002bS-6T for emacs-devel@gnu.org; Thu, 03 Oct 2019 11:10:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG2ke-0003Vi-0o for emacs-devel@gnu.org; Thu, 03 Oct 2019 11:10:44 -0400 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:34434) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iG2kd-0003Uc-Mk for emacs-devel@gnu.org; Thu, 03 Oct 2019 11:10:43 -0400 Original-Received: by mail-wm1-x330.google.com with SMTP id y135so7440150wmc.1 for ; Thu, 03 Oct 2019 08:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:face:mime-version; bh=WA5Cih6cfRBMggK+C7ZqonBXTLsFvaOdCldCZuGFc6o=; b=LyoQKWC8mdr8rD5g3Nvpz4Zk4kmerGCT12M8snbViA1Ua6vOpWwxAsx7TEZHiBc8WE nnnAy3OKZO9f3hBumL4pXd/o0yp0NJ6O9GUKzxA5j/r8YVArnNT8gScy952SdvhMnpiC 76dPzDZxyGRp8UsHGqRBxqhw80vHdUuGHcUScY6LPcr4qawoHZuJhBU20VBl6JL8reX4 X/ZaMey4oQ47ioqBHFizNnI8cLviCcKKEBXcl9+HVcClnOUwY2vQ/c7iY8TBIO9XAla5 WukMQR7TiB5vNsHQ7NYqELrhrAD7qFXOiTiR71VWioL+hVklDQznifUMS0PY4nV10cxt tCkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:face:mime-version; bh=WA5Cih6cfRBMggK+C7ZqonBXTLsFvaOdCldCZuGFc6o=; b=reVG/JoktQF8DnBH8R8wUPQtMQclFeV3D4+EGnk4PCdJJiNmhdVtdjM/anAWqwolBu c13qLLM1Bos5R7cBIKyG7YCQvkBoFf1RAQ08Na2eAuxUtdlZK/LKqym9FpfpP7j0rXXg LSpC0MPzBSTrz3oA5OwniOf7WHtACUGBCvYsIfOcK4QILQvUCkDBy8/pzdLAONrZEJw7 w+695nu9AnaGweYuoAWP9Z81oknpq/VFSFVfJ/vo06qm/JInYoJ4H6cLTxDgWDCGAOAh ZZ60y1ehWRcCpshvl+Pji2AMQjoEJBD6/IEthDaho4ChSrMoEy0wLYn7fjxE11D7C6M6 jz+Q== X-Gm-Message-State: APjAAAWvQyO3v4++JeymsWYER1XLWTMcVFZUtP5/c4SoJPGIHKdCMH6Q V+hRJRq88x5L4MhvhHEaT5Y= X-Google-Smtp-Source: APXvYqzVxy0AH5HLaQB5QLnKMbRe0OfQ1ZaX4QN92VHZ8L+OZTQKXQWiObTt0ym4i+Lz3gCw7K//Pw== X-Received: by 2002:a7b:c398:: with SMTP id s24mr7550751wmj.78.1570115442336; Thu, 03 Oct 2019 08:10:42 -0700 (PDT) Original-Received: from ulti.gmail.com ([2001:738:2001:407f:d329:3c92:fe6f:14c3]) by smtp.gmail.com with ESMTPSA id v6sm4081413wma.24.2019.10.03.08.10.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2019 08:10:41 -0700 (PDT) In-Reply-To: (Dmitry Gutov's message of "Thu, 3 Oct 2019 17:42:06 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEU2EgDVmFNHKAa4dz4q AwCDUSH2zWrE61tmAAACeklEQVQ4jU2UwY7jIAyGEZN5ABSFc9Ytcx6K6DmqmHsD8tyZKrz/I+xv yI6WKlHlj982tomiVckiWrUrgRU5jlqMpJKCkch5W419DQAiQGHDxdrWmm0/2kXCApiUmrZLq20s cjexq3VL25QuxjY7wOcJVEpb+jLeGLAK+OMyaa1hx9rFbkwHFWBVA2y8w1wHaLE7GuDdw5cEuOM5 SLIdrpwBkN0ezwI7nYoiilqthbcYc89KgC5+NnaOHGbZz0T6BCEgOLJ0vmYXuNdPAIXgDZJhF2Yu fjnPNwAsoUTUN/P8q3AAyz4zB/xmifEfiIbvS4jh7b7QqZiSm4MJC5kXNpCRaOsoyQXAMN2XCJfs j94NKfo7ACKUEgKE3y+Sg4jibUZ1A0jgYpxtvYMC3gHaHPq6x32ACeALIZoZxB+l9VrRNIA1ncRg wwC8pvQIvYO+a2yt3VXMVyli6L0VV6aOrJa4CpilVQA+eHt0xavk61akih5BUMay/0BAqu783C5h FifY/3QsAIoWYk6PgpwAzLI652+96e2IfN2cF+BD1uT23F21Ghh5OUl4RlO15oh5A2iv+Zk2wsjZ 2DtB5Sm3A4P0+kyb2vs4iEW7G9ohoN3Stl2kVat6MCkXldo6OKaE8P6GhmrKKxWZXQH1iklhhn+d iVeNf6mDdkV0ltFwApRbp+kXSGBFHGV2aPqnIIyQyzhD5n47khqKI08bIapcas4O+hPkct20NAEv ALRuZFUp3PrnQSAm+4lTdHCsYYZ/nGqQrM5z3NS3zefFxkfFPRFbsjpIfbTlvF3ibpVZQ9nzqv60 F/KXSRLJ1AGappJulZll70N/qz6EfwEOCdYOuTHAzAAAAABJRU5ErkJggg== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::330 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:240515 Archived-At: >> It only calls project-files, project-roots, and project-external-roots. >> So, it doesn't know about backends and other implementation details. > > But doesn't it rely in the current backend corresponding to the > current LSP project? For instance, so that LSP server and the project > agree on the list of project files. If I understand the question correctly, then it does. Eglot relies on project.el to determine which files should be managed together by an LSP server. My extension uses the same project "instace" that eglot itself uses in order to send the list of files in the project (and later their contents) to the server. > In any case, I'm curious which backend you end up normally using. You > can evaluate (project-current) to see that. Nowdays there's only one backend that I use: the vc backend with git. I tried EDE, but abandoned it.