From unknown Wed Jun 18 23:09:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62633 <62633@debbugs.gnu.org> To: bug#62633 <62633@debbugs.gnu.org> Subject: Status: 30.0.50; project-files returns files that have been deleted Reply-To: bug#62633 <62633@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:09:21 +0000 retitle 62633 30.0.50; project-files returns files that have been deleted reassign 62633 emacs submitter 62633 Jo=C3=A3o T=C3=A1vora severity 62633 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 02 21:13:11 2023 Received: (at submit) by debbugs.gnu.org; 3 Apr 2023 01:13:11 +0000 Received: from localhost ([127.0.0.1]:42987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj8kx-0001aZ-Dv for submit@debbugs.gnu.org; Sun, 02 Apr 2023 21:13:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:41290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj8ku-0001aN-36 for submit@debbugs.gnu.org; Sun, 02 Apr 2023 21:13:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pj8ko-0007c2-Hk for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2023 21:13:07 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pj8kk-0002j1-Rg for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2023 21:13:00 -0400 Received: by mail-wm1-x32c.google.com with SMTP id s13so16119499wmr.4 for ; Sun, 02 Apr 2023 18:12:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680484376; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=HD5OIBxjvgT3KHL75VENSkZUwQyApkqSHrvWggCDS7U=; b=POlzWHlF0Wu83XJnOTyE5952UvEyxqZUDTzFG/WcAxi5rg4wLOnHKcQ1fa+pWR3Xut RJtDfi38mDjzAGiETKSs7pkvHGl9MeGBaHU243BPfCDSvwQvzHI/p3WtuRQyRi2mlDF8 G34vGV48ratUpGUVflEYVVtcUl9LOXK5haIC9LRyP4Vq3Ir55rOnek4UTTbO1JhIhQqo vpuSTRQsXVfaBlmWJTHDCa8S+iy+6e0z5mmQh+AINx8D5tp4rW+6ubbbsn2vAAF39pSE 83Z4+VXAijG8MdhxoxTDwwTpY+AA+ttjodsz14vs7sm5csSlWn+4cYd9uPzttNXA9Rh6 St4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680484376; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HD5OIBxjvgT3KHL75VENSkZUwQyApkqSHrvWggCDS7U=; b=JIWBDK2YvvoA0rHCgQ7dZ7DSgsChuig4eg2qHvUbvwaog/MyPRoT3jCJcXBQOoDbEu ylj4DiMxUlwpjgE8WnesMY7SrYn2EdT/tFzibBf8ivbrXsWG3wgEii6GnyeoFSsGAd+U XYvR2GiP4LbVmPmCWCvqs3O5qkxsGbADUuAEIWjwmtvUQVIFjdvO3rJ+nNY8lkFLFgqf iR1NqUaGHhXO4DnYsR+SmHwcr+5dfRedZ8WikvshlCnLDkgK2vgFrzbGOe3feiK4hBWN qptsajPtvCUtowkv8y2MA/NM+PyZlZ0UUuXN9bzsukVJTK/8uRHwpMWEQ2ZgKngmLxvy //vw== X-Gm-Message-State: AO0yUKUfqMtUfXVPk1KAUSxJjnV2OBde99RGN/fa4818XlUKwr/IHDVK BuGhrWDzYNGBPBn1jz4soZNjLragk3k= X-Google-Smtp-Source: AK7set9DeCaimhw/iOUPlKbzXI0ZSg4MEI+pVhxzQfbQEKXhkenMJqdU3ENZQv9uD5oBUDRyTn84kQ== X-Received: by 2002:a7b:c448:0:b0:3ef:294c:de50 with SMTP id l8-20020a7bc448000000b003ef294cde50mr26301711wmi.29.1680484376329; Sun, 02 Apr 2023 18:12:56 -0700 (PDT) Received: from krug (87-196-72-128.net.novis.pt. [87.196.72.128]) by smtp.gmail.com with ESMTPSA id t16-20020a5d6910000000b002db1b66ea8fsm8407694wru.57.2023.04.02.18.12.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 18:12:55 -0700 (PDT) From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= To: bug-gnu-emacs@gnu.org Subject: 30.0.50; project-files returns files that have been deleted X-Debbugs-Cc: dgutov@yandex.ru, felician.nemeth@gmail.com Date: Mon, 03 Apr 2023 02:14:57 +0100 Message-ID: <87ttxxkbqm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=joaotavora@gmail.com; helo=mail-wm1-x32c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello, Originally reported in https://github.com/joaotavora/eglot/issues/1198 project-files, used by Eglot, returns files that have been deleted in the filesystem but are still versioned by Git. This led to Eglot reporting a errors to the LSP server since it was using that list of files to place filesystem watchers. The problem was worked around in Eglot, but the question remains whether project-files should be reworked to filter out these nonexistent files from its return value. According to Dmitry, doing so might be expensive, since the underlying Git implementation of this method, 'git ls-files', is 2x faster when not required to filter out deleted files. Jo=C3=A3o