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: Fri, 20 Sep 2019 17:30:57 +0300 Message-ID: <83o8zfrqe6.fsf@gnu.org> References: <8736h9rdc4.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> <83k1a4tct2.fsf@gnu.org> <83tv97run8.fsf@gnu.org> <5ba04bf6-ed74-a18e-9074-5aa481ec3669@yandex.ru> <2c78a9ac-c535-bc18-8da8-30e121484929@yandex.ru> <87sgoroy48.fsf@gmx.de> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="238419"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, dgutov@yandex.ru To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 20 16:53:57 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 1iBKIG-000zow-HD for ged-emacs-devel@m.gmane.org; Fri, 20 Sep 2019 16:53:56 +0200 Original-Received: from localhost ([::1]:60440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBKIE-00015Q-Lx for ged-emacs-devel@m.gmane.org; Fri, 20 Sep 2019 10:53:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34214) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBJvy-0005fj-O2 for emacs-devel@gnu.org; Fri, 20 Sep 2019 10:30:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iBJvy-0004nJ-Ca; Fri, 20 Sep 2019 10:30:54 -0400 Original-Received: from [176.228.60.248] (port=2462 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iBJvw-0002On-Ne; Fri, 20 Sep 2019 10:30:54 -0400 In-reply-to: <87sgoroy48.fsf@gmx.de> (message from Michael Albinus on Fri, 20 Sep 2019 16:12:23 +0200) 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:240190 Archived-At: > From: Michael Albinus > Cc: Stefan Monnier , Eli Zaretskii > , emacs-devel@gnu.org > Date: Fri, 20 Sep 2019 16:12:23 +0200 > > inotify(7) documents the event > > IN_Q_OVERFLOW > Event queue overflowed (wd is -1 for this event). > > It is signalled by our inotify backend as `q-overflow' event, but > filenotify.el doesn't care. And I haven't checked the other > backends. Maybe we shall expose it in filenotify.el (independent where > this discussion ends)? Expose it and do what? About the only thing you can do is switch to the alternative implementation (like turn off auto-revert-use-notify), but (a) not every feature even has such an alternative, and (b) you will still miss events, because there's no way to recover the lost events.