From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: project-find-file: switch to include non-tracked files Date: Tue, 5 Oct 2021 22:28:15 +0300 Message-ID: <5ca9560f-a415-481e-e96b-69b786868d6e@yandex.ru> References: <878rz9jana.fsf@posteo.net> <0d668cbc-5b52-4c27-61a7-6edfdea18496@inventati.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3836"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cc: emacs-devel To: Stefan Kangas , Manuel Uberti Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 05 21:30:29 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mXq8x-0000mX-Kt for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Oct 2021 21:30:27 +0200 Original-Received: from localhost ([::1]:39556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXq8v-0003of-0H for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Oct 2021 15:30:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXq6x-0001Zh-N8 for emacs-devel@gnu.org; Tue, 05 Oct 2021 15:28:23 -0400 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:46795) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXq6s-0004IR-DZ for emacs-devel@gnu.org; Tue, 05 Oct 2021 15:28:20 -0400 Original-Received: by mail-lf1-x133.google.com with SMTP id i24so239434lfj.13 for ; Tue, 05 Oct 2021 12:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=k8Huq18LpsX8P3GuneKWa4ERvyqZ6c3TNw8bY4qcYuQ=; b=LWb+XnBoDP562FbURpbzEn/pW71e3cgBx5m1M+Ij2/m4txaLg5KPJy3YnyRvmspiXq bG79qt8+oz/ALycGf3k6XbNA35cCGUrD+vYHP7c88pgdHd3W1lTfAkWpoXy4hfqEAKvH PDbVi4/GRq+7JPTJaFIU+6B+nu45RuG0G0SAsLIA+YZnZBsD0a3AFbA1kn1BEnMSoMc6 oeDzYTrS4qavTQ07SxhxyZOq6D+cAgBwQrh3qXFwfCsaUXyTGPPiZ2+7Qz4HNpmgx2td QvHRymX4pKUTYsQbWN2AK2xLpwix9okRbql5CEgiE9SrDz5/UWHc8aGaCJ+WoxnIeRA/ ZZYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=k8Huq18LpsX8P3GuneKWa4ERvyqZ6c3TNw8bY4qcYuQ=; b=Zr8WAfzhyFTuiksDsr3M/mA36UyWuQrrkUjhtmp4QQAkqRReNYSs6fSLCXJTbg/fSC JFJMYrnAVHwdFnnFljNZqz9a+yDR2M74ekBAECWULSXMJvkW1JHAXz9g6h3GR61DUEbx 1BKKlgo3wxLohiPYH/iQCBrfSIT0/4J5fbxVrTg96ews76VIUvXdmvXTvZ5fRI97B8Ld 4y21LqJ7usa5Uf8hIm1aBBIbUkhdqTqU5bP1xu1cuOzEgnPVT8QcukrsHSMpa/FhDzLY Og6tma9VTkD6HOYMkMfbnP06DPc5L7OFvuEu7Mh8dL0EPw2xjpks1Mg9IZMfklpcw6kT yFhg== X-Gm-Message-State: AOAM533WS9n8Flg2niccaz5J5DxWBPhqz5RyNOXp+PybtNbcT6BEjw0V BjiSSCLvAhM4xiw4L96tYni4myvPn44= X-Google-Smtp-Source: ABdhPJzhnumYGweUlnCE72chsdhvPZZMvNA3iogRpQtQTYShJOaTC4gc7aUs8p11B4n2DUnSyyNb9Q== X-Received: by 2002:a2e:834f:: with SMTP id l15mr24189367ljh.327.1633462096259; Tue, 05 Oct 2021 12:28:16 -0700 (PDT) Original-Received: from [192.168.1.113] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id m22sm572082lfh.237.2021.10.05.12.28.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Oct 2021 12:28:15 -0700 (PDT) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=raaahh@gmail.com; helo=mail-lf1-x133.google.com X-Spam_score_int: 0 X-Spam_score: -0.0 X-Spam_bar: / X-Spam_report: (-0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:276376 Archived-At: On 04.10.2021 17:06, Stefan Kangas wrote: > Manuel Uberti writes: > >> At the top of project.el I see this: >> >> ;; * Reliably cache the list of files in the project, probably using >> ;; filenotify.el (if supported) to invalidate. And avoiding caching >> ;; if it's not available (manual cache invalidation is not nice). >> >> So maybe going for manual cache invalidation is not the best approach? > > Right, they probably had their reasons for doing that - perhaps it was > just easier - but it sounds like something that we would want to > avoid. Yes, early on I have put it as one of the goals -- to avoid manual cache invalidation by the user; that's just not nice. And the user might forget to do it, or even not know about this duty (most other editors do not require manual cache management like that). 'C-u' seems fine. Now let's decide what kind of behavior we actually want from it.