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.bugs Subject: bug#35418: [PATCH] Don't poll auto-revert files that use notification Date: Wed, 08 May 2019 13:58:46 +0300 Message-ID: <835zqli55l.fsf@gnu.org> References: <83d0l7v193.fsf@gnu.org> <86EFE367-90FF-4786-BC91-FC28FAF38A4E@acm.org> <877ebdqmbj.fsf@gmx.de> <834l6gu6ee.fsf@gnu.org> <834l6eqdam.fsf@gnu.org> <8bbbdc62bee1dc16b6fd684e7da5ffac43f1e232.camel@acm.org> <87woj9nj77.fsf@gmx.de> <83r29fmz3f.fsf@gnu.org> <6b722334f6eaddcbbf3def636b5181c9439a172c.camel@acm.org> <831s1emvz7.fsf@gnu.org> <26e8159ac86da37d9cf555f6cb3f2dcb63ac0a67.camel@acm.org> <87y33mgo0c.fsf@gmx.de> <05128E42-E970-4C41-9DF9-E9E0BC1C9E4A@acm.org> <87tveagg4f.fsf@gmx.de> <87pnoygdx6.fsf@gmx.de> <8FEB518A-F5AA-488B-BDC5-7947FFE51394@acm.org> <87lfzlgvka.fsf@gmx.de> <3D200C55-AD11-4214-9C50-C2183F6598CC@acm.org> <78A0704A-59E6-4D25-8FF3-8FD011942885@acm.org> <837eb1ib84.fsf@gnu.org> <855D9426-4B27-4CB8-8E85-B9100B868207@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="200379"; mail-complaints-to="usenet@blaine.gmane.org" Cc: michael.albinus@gmx.de, 35418@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 08 13:00:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hOKJ4-000pwd-Io for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 May 2019 13:00:14 +0200 Original-Received: from localhost ([127.0.0.1]:34792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOKJ3-00054K-KQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 May 2019 07:00:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOKIx-000548-Sk for bug-gnu-emacs@gnu.org; Wed, 08 May 2019 07:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOKIt-0002Rv-1i for bug-gnu-emacs@gnu.org; Wed, 08 May 2019 07:00:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46889) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOKIs-0002Rf-Tr for bug-gnu-emacs@gnu.org; Wed, 08 May 2019 07:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hOKIs-0002cl-Nb for bug-gnu-emacs@gnu.org; Wed, 08 May 2019 07:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 May 2019 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35418 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 35418-submit@debbugs.gnu.org id=B35418.15573131489996 (code B ref 35418); Wed, 08 May 2019 11:00:02 +0000 Original-Received: (at 35418) by debbugs.gnu.org; 8 May 2019 10:59:08 +0000 Original-Received: from localhost ([127.0.0.1]:60433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOKI0-0002bA-Fy for submit@debbugs.gnu.org; Wed, 08 May 2019 06:59:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOKHy-0002ak-Sy for 35418@debbugs.gnu.org; Wed, 08 May 2019 06:59:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOKHt-0001zs-67; Wed, 08 May 2019 06:59:01 -0400 Original-Received: from [176.228.60.248] (port=4950 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hOKHs-0002Bv-0v; Wed, 08 May 2019 06:59:00 -0400 In-reply-to: <855D9426-4B27-4CB8-8E85-B9100B868207@acm.org> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Wed, 8 May 2019 12:18:30 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158930 Archived-At: > From: Mattias EngdegÄrd > Date: Wed, 8 May 2019 12:18:30 +0200 > Cc: Michael Albinus , 35418@debbugs.gnu.org > > With the patch, auto-revert on non-file buffers will work where at all possible; it just won't use notification for buffers other than Dired. I asked whether Dired is the only exception, or is there some more general sign that a buffer could use notifications. I'm still not sure what the answer is to that question. I don't have any doubt that Dired will work with notifications, but is the only way to have exceptions is by naming their major modes explicitly? IOW, I wonder whether your proposed patch could be made more general in some way. Thanks.