From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Zhang Haijun Newsgroups: gmane.emacs.bugs Subject: bug#35418: [PATCH] Don't poll auto-revert files that use notification Date: Wed, 1 May 2019 02:59:47 +0000 Message-ID: References: <87tvegt1ip.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="38897"; mail-complaints-to="usenet@blaine.gmane.org" Cc: "35418@debbugs.gnu.org" <35418@debbugs.gnu.org> To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 01 05:00:19 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 1hLfTm-0009vM-Uf for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 May 2019 05:00:19 +0200 Original-Received: from localhost ([127.0.0.1]:60716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLfTl-0007mE-Ns for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 23:00:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLfTZ-0007ld-Ow for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 23:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLfTW-0007tY-Mb for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 23:00:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57698) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLfTW-0007tN-A7 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 23:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLfTW-0006Jo-5i for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 23:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Zhang Haijun Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 May 2019 03: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.155667959824248 (code B ref 35418); Wed, 01 May 2019 03:00:02 +0000 Original-Received: (at 35418) by debbugs.gnu.org; 1 May 2019 02:59:58 +0000 Original-Received: from localhost ([127.0.0.1]:43007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLfTS-0006J2-CB for submit@debbugs.gnu.org; Tue, 30 Apr 2019 22:59:58 -0400 Original-Received: from mail-oln040092253061.outbound.protection.outlook.com ([40.92.253.61]:34944 helo=APC01-SG2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLfTQ-0006In-Cv for 35418@debbugs.gnu.org; Tue, 30 Apr 2019 22:59:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6DajxGKWW7Tc0WFCUpelaX3canaAHhb2Qe+fT3WlL3A=; b=m46cI5MCZykLxBWkajyQCw+3biz9KuG3DKjFv4sJECvWwzy0IXriJgD3uuKA6KO+guCsu70g3riP4EM653aI+WxEAKoXaxrbVIdKxJ2nBBDKo+oBLQXUkOme93LEdLuHfNNW3g5kl2VT2QQa0e0WKICnEMdAZtMCsyhx2TGNjxVXx4LcZXV2/VVTpBSVZ3Yk3JtRxVuen3ydBkwCEnAhLtYaLxZhUOHQ8+vp52VtT1SjkNSFv3b8ELJ5xWhmBE4899E1j0are0XaL57ONcOXBmjgbl8LKnX0Gh01gePYTzJT1x0EUim3O3VWfl2zCwWabmFwxxjrerhHOS4Rm+HFMw== Original-Received: from HK2APC01FT045.eop-APC01.prod.protection.outlook.com (10.152.248.52) by HK2APC01HT019.eop-APC01.prod.protection.outlook.com (10.152.249.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Wed, 1 May 2019 02:59:48 +0000 Original-Received: from PS1PR06MB2759.apcprd06.prod.outlook.com (10.152.248.60) by HK2APC01FT045.mail.protection.outlook.com (10.152.249.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13 via Frontend Transport; Wed, 1 May 2019 02:59:48 +0000 Original-Received: from PS1PR06MB2759.apcprd06.prod.outlook.com ([fe80::3c3b:be45:a6af:3d86]) by PS1PR06MB2759.apcprd06.prod.outlook.com ([fe80::3c3b:be45:a6af:3d86%4]) with mapi id 15.20.1835.018; Wed, 1 May 2019 02:59:47 +0000 Thread-Topic: bug#35418: [PATCH] Don't poll auto-revert files that use notification Thread-Index: AQHU/vCBHkd3xAerUE++lxqH2WqSdKZUSLp7gAFA1ICAAAxsAA== In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US x-clientproxiedby: HK0PR03CA0110.apcprd03.prod.outlook.com (2603:1096:203:b0::26) To PS1PR06MB2759.apcprd06.prod.outlook.com (2603:1096:803:46::13) x-incomingtopheadermarker: OriginalChecksum:576A073975349E34246D7F58DBA5E9393DE13C6859956A798254710AF9A80878; UpperCasedChecksum:A7691015778D5F36F888DD41E04AB1865C4BB48EADBE0A4B819415A4764E82A8; SizeAsReceived:7722; Count:50 x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: Apple Mail (2.3445.9.1) x-tmn: [Qzn417mSvrxiZ187HGw9plRQDpCFpC6S] x-microsoft-original-message-id: x-ms-publictraffictype: Email x-incomingheadercount: 50 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031323274)(2017031324274)(2017031322404)(1601125500)(1603101475)(1701031045); SRVR:HK2APC01HT019; x-ms-traffictypediagnostic: HK2APC01HT019: x-microsoft-antispam-message-info: hLZwHjIEXoKLxPSGf7iVYPg0AOMm3Lgk8Wzh6cJxzTro43ofdxWLyIrKpBm++XW5g3IuLtyO+enkEwbJK0DGWHjA5URPcU6YBpXjH1vKNUjd0sC4iqqTSkRA/7H/80xoEJibO4L5pyYs+m90/Ty7juIlxsmzDFmD4BmIV7BhgTMUNBldS1kTnb2hEHM5kO0B Content-ID: X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 65d6dd88-08cc-4a52-b6c9-08d6cde11239 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 May 2019 02:59:47.8443 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2APC01HT019 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:158563 Archived-At: SSBoYXZlbqGvdCBydW4gdGhlIHRlc3QgYmVmb3JlLiBJdCBzZWVtcyB0aGF0IGRpcmVjdG9yeSB3 YXRjaGluZyBkb2VzbqGvdCB3b3JrIGZvciBmaWxlIGNvbnRlbnQgb25seSBjaGFuZ2UuIEJ1dCBp dCB3b3JrcyBmb3IgbWFueSBjb21tb24gdXNlIGNhc2VzIHdoaWxlIGZpbGUgd2F0Y2hpbmcgZG9l c26hr3Qgd29yay4NCg0KMS4gVXNlIHZpbSB0byBtb2RpZnkgdGhlIGZpbGUgYW5kIHNhdmUuIEl0 IHNlZW1zIHRoYXQgdmltIHdpbGwgd3JpdGUgdG8gYSB0ZW1wIGZpbGUsIHRoZW4gcmVtb3ZlIHRo ZSBvcmlnaW5hbCBmaWxlIGFuZCB0aGVuIHJlbmFtZSB0aGUgdGVtcCBmaWxlIHRvIG9yaWdpbmFs IGZpbGUgbmFtZS4NCjIuIFVzZSBnaXQgdG8gc3dpdGNoIGJyYW5jaC4NCjMuIEZvciBmaWxlcyBp biBhIHNvZnQgbGluayBkaXJlY3RvcnkuDQoNClNvIGRpcmVjdG9yeSB3YXRjaGluZyBpcyBtdWNo IG1vcmUgdXNlZnVsbCBmb3IgbWUgdGhhbiBmaWxlIHdhdGNoaW5nIGluIGV2ZXJ5ZGF5IHVzZS4g DQoNCg0KDQo+INTaIDIwMTnE6jXUwjHI1aOsyc/O5zEwOjE1o6zVxbqjvv0gPGNjc21pbGUyMDA4 QG91dGxvb2suY29tPiDQtLXAo7oNCj4gDQo+IA0KPj4gSSBkb24ndCB1bmRlcnN0YW5kIHRoZSBw YXRjaC4gU3ltYm9sIGtxdWV1ZTExIGRvZXMgbm90IGV4aXN0LCBzbyBkbyB5b3UgbWVhbg0KPj4g DQo+PiArICAgIC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