unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Kangas <stefan@marxist.se>,
	Manuel Uberti <manuel.uberti@inventati.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: project-find-file: switch to include non-tracked files
Date: Tue, 5 Oct 2021 22:28:15 +0300	[thread overview]
Message-ID: <5ca9560f-a415-481e-e96b-69b786868d6e@yandex.ru> (raw)
In-Reply-To: <CADwFkmmPEXX639Kb8FA9zxmHYLiYyZ=wHWed0VS4bn5dWRLOmg@mail.gmail.com>

On 04.10.2021 17:06, Stefan Kangas wrote:
> Manuel Uberti <manuel.uberti@inventati.org> 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.



  reply	other threads:[~2021-10-05 19:28 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04  8:33 project-find-file: switch to include non-tracked files Manuel Uberti
2021-10-04 11:24 ` Philip Kaludercic
2021-10-04 13:44   ` Stefan Kangas
2021-10-04 13:50     ` Manuel Uberti
2021-10-04 14:06       ` Stefan Kangas
2021-10-05 19:28         ` Dmitry Gutov [this message]
2021-10-05 19:47 ` Dmitry Gutov
2021-10-06  5:18   ` Manuel Uberti
2021-10-06  6:05     ` Dmitry Gutov
2021-10-06  6:12       ` Manuel Uberti
2021-10-14  0:47         ` Dmitry Gutov
2021-10-14  6:37           ` Manuel Uberti
2021-10-14 12:01             ` Dmitry Gutov
2021-10-14 12:06               ` Manuel Uberti
2021-10-14 21:55                 ` Dmitry Gutov
2021-10-15  5:24                   ` Manuel Uberti
2021-10-15 12:12                     ` Dmitry Gutov
2021-10-15 13:05                       ` Manuel Uberti
2021-10-15 13:25                         ` Dmitry Gutov
  -- strict thread matches above, loose matches on Subject: below --
2021-05-04 13:39 Manuel Uberti
2021-05-04 14:04 ` Stefan Kangas
2021-05-04 14:16 ` Dmitry Gutov
2021-05-04 14:55   ` Manuel Uberti
2021-05-04 16:43     ` Dmitry Gutov
2021-05-04 16:57       ` Manuel Uberti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5ca9560f-a415-481e-e96b-69b786868d6e@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=manuel.uberti@inventati.org \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).