From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: A project-files implementation for Git projects Date: Thu, 19 Sep 2019 20:29:13 +0300 Message-ID: <83k1a4tct2.fsf@gnu.org> References: <8736h9rdc4.fsf@gnu.org> <87mufcfz1u.fsf@gnu.org> <87tv9kz2x6.fsf@gnu.org> <87a7bbjdwe.fsf@gnu.org> <87a7ba8uvx.fsf@gnu.org> <87pnk2zvvy.fsf@gnu.org> <838sqpx9eq.fsf@gnu.org> <83y2yow9dy.fsf@gnu.org> <838sqnw2na.fsf@gnu.org> <3007947f-f4eb-e3e8-8c14-1b372323aa1c@yandex.ru> <831rwfvzd6.fsf@gnu.org> <64bcedbf-d891-dcad-ac65-5719920f58e2@yandex.ru> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="179281"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 19 20:03:33 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 1iB0mD-000kVD-Bx for ged-emacs-devel@m.gmane.org; Thu, 19 Sep 2019 20:03:33 +0200 Original-Received: from localhost ([::1]:47528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iB0mC-0002eq-0e for ged-emacs-devel@m.gmane.org; Thu, 19 Sep 2019 14:03:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51704) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iB0Ev-0008Dw-MX for emacs-devel@gnu.org; Thu, 19 Sep 2019 13:29:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iB0Ev-0004uX-9E; Thu, 19 Sep 2019 13:29:09 -0400 Original-Received: from [176.228.60.248] (port=4620 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iB0Eu-0008P7-Nh; Thu, 19 Sep 2019 13:29:09 -0400 In-reply-to: <64bcedbf-d891-dcad-ac65-5719920f58e2@yandex.ru> (message from Dmitry Gutov on Thu, 19 Sep 2019 18:33:23 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:240172 Archived-At: > From: Dmitry Gutov > Date: Thu, 19 Sep 2019 18:33:23 +0300 > Cc: emacs-devel@gnu.org > > > It isn't the problem of filenotify the package, it's a problem with > > the OS features it uses: inotify, knotify, etc. They all lose events > > when there are a lot of file operations in a tree. E.g., try using > > Auto-revert-tail mode on a log file produced by building the Boost > > library -- in the default mode, where it uses file notifications, it > > simply chokes. > > Should there be a way to debounce the events, or handle this somehow? > For instance, when too many events come, we could simply discard the > files list cache, and force it to be rebuilt later. For this particular > use, we don't really have to see every notification. The problem is not in Emacs, it's in inotify etc. Their documentation explicitly says that events cab legitimately lost. I don't really feel like continuing the rest of the discussion, as you clearly don't care about my views on this. Whatever.